linux/drivers/cxl
Vishal Verma 199cf8c3fe cxl/pci.c: Add a 'label_storage_size' attribute to the memdev
The 'Identify Device' mailbox command returns an 'lsa_size', which is
the size of the label storage area on the device. Export it as a sysfs
attribute so that userspace tooling to read/write the LSA can determine
the size without having to run an 'Identify Device' on their own.

Cc: Ben Widawsky <ben.widawsky@intel.com>
Cc: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Vishal Verma <vishal.l.verma@intel.com>
Reviewed-by: Dan Williams <dan.j.williams@intel.com>
Link: https://lore.kernel.org/r/20210520194745.1095517-1-vishal.l.verma@intel.com
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
2021-05-26 11:20:17 -07:00
..
core.c cxl/core: Refactor CXL register lookup for bridge reuse 2021-05-14 16:13:19 -07:00
cxl.h cxl/core: Refactor CXL register lookup for bridge reuse 2021-05-14 16:13:19 -07:00
Kconfig cxl: Rename mem to pci 2021-05-26 11:19:05 -07:00
Makefile cxl: Rename mem to pci 2021-05-26 11:19:05 -07:00
mem.h cxl/pci.c: Add a 'label_storage_size' attribute to the memdev 2021-05-26 11:20:17 -07:00
pci.c cxl/pci.c: Add a 'label_storage_size' attribute to the memdev 2021-05-26 11:20:17 -07:00
pci.h cxl/mem: Find device capabilities 2021-02-16 20:36:38 -08:00