[PATCHv2 0/3] nvme: Add TP8010 support

Martin Belanger nitram_67 at hotmail.com
Thu Feb 3 13:17:45 PST 2022


From: Martin Belanger <martin.belanger at dell.com>

TP8010 defines the Central Discovery Controller (CDC). To tell a CDC
apart from a DDC (Direct Discovery Controller), the response to the
Identify command now carries a Discovery Controller Type (dctype)
attribute.

TP8010 also defines a new Discovery Information Management (DIM) PDU
which is used to perform explicit registration with CDCs and DDCs. This
new PDU carries extra information such as the Entity Name (ENAME), the
Entity Version (EVER), the Symbolic Name, etc.

After review from the Linux-nvme community, it was decided that the DIM
PDU would be sent from a user-space application. Since the DIM PDU must
be sent every time connectivity is established with a DC, it was
decided that a new uevent was needed to tell user-space application
when the driver establishes connectivity with a DC.

Martin Belanger (3):
  nvme: send uevent on connection up
  nvme: Add device_update_groups()
  nvme: Expose cntrltype and dctype through sysfs

 drivers/base/core.c      | 28 +++++++++++++++++++++
 drivers/nvme/host/core.c | 54 ++++++++++++++++++++++++++++++++++++++++
 drivers/nvme/host/nvme.h |  3 +++
 include/linux/device.h   |  1 +
 include/linux/nvme.h     | 10 +++++++-
 5 files changed, 95 insertions(+), 1 deletion(-)

-- 
2.34.1




More information about the Linux-nvme mailing list