linux/Documentation/driver-api/cxl
Davidlohr Bueso 7d0ecc0bd8 cxl/pmem: Export dirty shutdown count via sysfs
Similar to how the acpi_nfit driver exports Optane dirty shutdown count,
introduce:

  /sys/bus/cxl/devices/nvdimm-bridge0/ndbusX/nmemY/cxl/dirty_shutdown

Under the conditions that 1) dirty shutdown can be set, 2) Device GPF
DVSEC exists, and 3) the count itself can be retrieved.

Suggested-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Davidlohr Bueso <dave@stgolabs.net>
Reviewed-by: Dave Jiang <dave.jiang@intel.com>
Reviewed-by: Ira Weiny <ira.weiny@intel.com>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Link: https://patch.msgid.link/20250220220235.276831-4-dave@stgolabs.net
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
2025-03-14 15:55:26 -07:00
..
access-coordinates.rst cxl: Add documentation to explain the shared link bandwidth calculation 2024-09-22 21:29:08 -07:00
index.rst cxl: Add documentation to explain the shared link bandwidth calculation 2024-09-22 21:29:08 -07:00
maturity-map.rst cxl/pmem: Export dirty shutdown count via sysfs 2025-03-14 15:55:26 -07:00
memory-devices.rst cxl: documentation: add missing files to cxl driver-api 2024-06-25 14:45:27 -07:00