diff options
author | Davidlohr Bueso <dave@stgolabs.net> | 2025-02-21 01:02:34 +0300 |
---|---|---|
committer | Dave Jiang <dave.jiang@intel.com> | 2025-03-15 01:55:26 +0300 |
commit | 7d0ecc0bd83dc2b2f46087f955c9572073e45aca (patch) | |
tree | 401e0ef86528a73a00297361a5ab3885077d4e75 /tools/testing/selftests/bpf/prog_tests/autoload.c | |
parent | 86349aaaeacd6855914ee1b5a76ef0952fa134eb (diff) | |
download | linux-7d0ecc0bd83dc2b2f46087f955c9572073e45aca.tar.xz |
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>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions