linux-stable/drivers/cxl
Dan Williams bcc79ea343 cxl/pci: Emit device serial number
Per the CXL specification (8.1.12.2 Memory Device PCIe Capabilities and
Extended Capabilities) the Device Serial Number capability is mandatory.
Emit it for user tooling to identify devices.

It is reasonable to ask whether the attribute should be added to the
list of PCI sysfs device attributes. The PCI layer can optionally emit
it too, but the CXL subsystem is aiming to preserve its independence and
the possibility of CXL topologies with non-PCI devices in it. To date
that has only proven useful for the 'cxl_test' model, but as can be seen
with seen with ACPI0016 devices, sometimes all that is needed is a
platform firmware table to point to CXL Component Registers in MMIO
space to define a "CXL" device.

Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Link: https://lore.kernel.org/r/164366608838.196598.16856227191534267098.stgit@dwillia2-desk3.amr.corp.intel.com
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
2022-02-08 22:57:32 -08:00
..
core cxl/pci: Emit device serial number 2022-02-08 22:57:32 -08:00
acpi.c cxl/core/port: Remove @host argument for dport + decoder enumeration 2022-02-08 22:57:30 -08:00
cxl.h cxl/core/port: Remove @host argument for dport + decoder enumeration 2022-02-08 22:57:30 -08:00
cxlmem.h cxl/pci: Emit device serial number 2022-02-08 22:57:32 -08:00
cxlpci.h cxl/pci: Retrieve CXL DVSEC memory info 2022-02-08 22:57:31 -08:00
Kconfig cxl/port: Add a driver for 'struct cxl_port' objects 2022-02-08 22:57:30 -08:00
Makefile cxl/port: Add a driver for 'struct cxl_port' objects 2022-02-08 22:57:30 -08:00
pci.c cxl/pci: Emit device serial number 2022-02-08 22:57:32 -08:00
pmem.c cxl: Prove CXL locking 2022-02-08 22:57:29 -08:00
port.c cxl/core/port: Remove @host argument for dport + decoder enumeration 2022-02-08 22:57:30 -08:00