[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <AM0PR05MB68202BBD8E817EF7E953D866CE760@AM0PR05MB6820.eurprd05.prod.outlook.com>
Date: Wed, 13 Nov 2019 05:40:33 +0000
From: Shravan Ramani <sramani@...lanox.com>
To: Vadim Pasternak <vadimp@...lanox.com>,
Andy Shevchenko <andy@...radead.org>,
Darren Hart <dvhart@...radead.org>
CC: Liming Sun <lsun@...lanox.com>,
"platform-driver-x86@...r.kernel.org"
<platform-driver-x86@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: RE: [PATCH v1] platform/mellanox: Add Mellanox TRIO driver
Hi Vadim,
TRIO stands for TRansaction I/O and is an internal code name for our PCIe to CHI bus interface.
In Mellanox BlueField SoC, the configuration is as follows: there are 3 TRIO blocks where TRIO2 is connected to a Mellanox ConnectX-5 while TRIO0 and TRIO1 can be configured to behave either as a PCIe Root Complex to downstream ports (8 ports or 16 lanes each) connecting to storage devices, or as an end-point when plugged into an external x86 host (SmartNIC form factor). Each TRIO block has a separate ACPI table entry which invokes this driver thereby creating a total of 3 instances.
The purpose of this driver is to be able to read/set the L3 cache profile from a list of available profiles for transactions coming in to each TRIO block and is meant to run on the ARM cores powering the BlueField SoC.
Regards,
Shravan
-----Original Message-----
From: Vadim Pasternak <vadimp@...lanox.com>
Sent: Tuesday, November 12, 2019 8:15 PM
To: Shravan Ramani <sramani@...lanox.com>; Andy Shevchenko <andy@...radead.org>; Darren Hart <dvhart@...radead.org>
Cc: Liming Sun <lsun@...lanox.com>; Shravan Ramani <sramani@...lanox.com>; platform-driver-x86@...r.kernel.org; linux-kernel@...r.kernel.org
Subject: RE: [PATCH v1] platform/mellanox: Add Mellanox TRIO driver
> -----Original Message-----
> From: Shravan Kumar Ramani <sramani@...lanox.com>
> Sent: Monday, November 11, 2019 4:35 PM
> To: Andy Shevchenko <andy@...radead.org>; Darren Hart
> <dvhart@...radead.org>; Vadim Pasternak <vadimp@...lanox.com>
> Cc: Liming Sun <lsun@...lanox.com>; Shravan Ramani
> <sramani@...lanox.com>; platform-driver-x86@...r.kernel.org; linux-
> kernel@...r.kernel.org
> Subject: [PATCH v1] platform/mellanox: Add Mellanox TRIO driver
>
> This patch adds support for Mellanox BlueField TRIO PCIe host controller.
> The driver supports multiple TRIO instances and provides a sysfs
> interface to allow the user to read/set the L3 cache profile for
> transactions going through the TRIO. It also provides an interrupt handler for the TRIO blocks.
Hi Shravan,
Could you, please, explain what TRIO PCIe host controller?
What is TRIO, is it some internal name or it's some standard terminology?
If it's internal, please, explain for what it stands for.
Same for TRIO instances. Are there some host side PCI instances?
What are the purpose of them?
Could you, please, also explain the system configuration?
>
> Shravan Kumar Ramani (1):
> platform/mellanox: Add Mellanox TRIO driver
>
> MAINTAINERS | 5 +
> drivers/platform/mellanox/Kconfig | 8 +
> drivers/platform/mellanox/Makefile | 1 +
> drivers/platform/mellanox/mlxbf-trio.c | 624
> +++++++++++++++++++++++++++++++++
> 4 files changed, 638 insertions(+)
> create mode 100644 drivers/platform/mellanox/mlxbf-trio.c
>
> --
> 2.1.2
Powered by blists - more mailing lists