diff options
| author | Davidlohr Bueso <[email protected]> | 2025-02-20 22:02:34 +0000 |
|---|---|---|
| committer | Dave Jiang <[email protected]> | 2025-03-14 22:55:26 +0000 |
| commit | 7d0ecc0bd83dc2b2f46087f955c9572073e45aca (patch) | |
| tree | 401e0ef86528a73a00297361a5ab3885077d4e75 /net/unix/af_unix.c | |
| parent | cxl/pmem: Rename cxl_dirty_shutdown_state() (diff) | |
| download | kernel-7d0ecc0bd83dc2b2f46087f955c9572073e45aca.tar.gz kernel-7d0ecc0bd83dc2b2f46087f955c9572073e45aca.zip | |
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 <[email protected]>
Signed-off-by: Davidlohr Bueso <[email protected]>
Reviewed-by: Dave Jiang <[email protected]>
Reviewed-by: Ira Weiny <[email protected]>
Reviewed-by: Jonathan Cameron <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Dave Jiang <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
