11What: /sys/bus/cxl/flush
2- Date: Januarry , 2022
2+ Date: January , 2022
33KernelVersion: v5.18
44Contact: linux-cxl@vger.kernel.org
55Description:
@@ -18,6 +18,24 @@ Description:
1818 specification.
1919
2020
21+ What: /sys/bus/cxl/devices/memX/payload_max
22+ Date: December, 2020
23+ KernelVersion: v5.12
24+ Contact: linux-cxl@vger.kernel.org
25+ Description:
26+ (RO) Maximum size (in bytes) of the mailbox command payload
27+ registers. Linux caps this at 1MB if the device reports a
28+ larger size.
29+
30+
31+ What: /sys/bus/cxl/devices/memX/label_storage_size
32+ Date: May, 2021
33+ KernelVersion: v5.13
34+ Contact: linux-cxl@vger.kernel.org
35+ Description:
36+ (RO) Size (in bytes) of the Label Storage Area (LSA).
37+
38+
2139What: /sys/bus/cxl/devices/memX/ram/size
2240Date: December, 2020
2341KernelVersion: v5.12
@@ -33,7 +51,7 @@ Date: May, 2023
3351KernelVersion: v6.8
3452Contact: linux-cxl@vger.kernel.org
3553Description:
36- (RO) For CXL host platforms that support "QoS Telemmetry "
54+ (RO) For CXL host platforms that support "QoS Telemetry "
3755 this attribute conveys a comma delimited list of platform
3856 specific cookies that identifies a QoS performance class
3957 for the volatile partition of the CXL mem device. These
@@ -60,7 +78,7 @@ Date: May, 2023
6078KernelVersion: v6.8
6179Contact: linux-cxl@vger.kernel.org
6280Description:
63- (RO) For CXL host platforms that support "QoS Telemmetry "
81+ (RO) For CXL host platforms that support "QoS Telemetry "
6482 this attribute conveys a comma delimited list of platform
6583 specific cookies that identifies a QoS performance class
6684 for the persistent partition of the CXL mem device. These
@@ -321,14 +339,13 @@ KernelVersion: v6.0
321339Contact: linux-cxl@vger.kernel.org
322340Description:
323341 (RW) When a CXL decoder is of devtype "cxl_decoder_endpoint" it
324- translates from a host physical address range, to a device local
325- address range. Device-local address ranges are further split
326- into a 'ram' (volatile memory) range and 'pmem' (persistent
327- memory) range. The 'mode' attribute emits one of 'ram', 'pmem',
328- 'mixed', or 'none'. The 'mixed' indication is for error cases
329- when a decoder straddles the volatile/persistent partition
330- boundary, and 'none' indicates the decoder is not actively
331- decoding, or no DPA allocation policy has been set.
342+ translates from a host physical address range, to a device
343+ local address range. Device-local address ranges are further
344+ split into a 'ram' (volatile memory) range and 'pmem'
345+ (persistent memory) range. The 'mode' attribute emits one of
346+ 'ram', 'pmem', or 'none'. The 'none' indicates the decoder is
347+ not actively decoding, or no DPA allocation policy has been
348+ set.
332349
333350 'mode' can be written, when the decoder is in the 'disabled'
334351 state, with either 'ram' or 'pmem' to set the boundaries for the
@@ -423,7 +440,7 @@ Date: May, 2023
423440KernelVersion: v6.5
424441Contact: linux-cxl@vger.kernel.org
425442Description:
426- (RO) For CXL host platforms that support "QoS Telemmetry " this
443+ (RO) For CXL host platforms that support "QoS Telemetry " this
427444 root-decoder-only attribute conveys a platform specific cookie
428445 that identifies a QoS performance class for the CXL Window.
429446 This class-id can be compared against a similar "qos_class"
@@ -586,3 +603,15 @@ Description:
586603 See Documentation/ABI/stable/sysfs-devices-node. access0 provides
587604 the number to the closest initiator and access1 provides the
588605 number to the closest CPU.
606+
607+
608+ What: /sys/bus/cxl/devices/nvdimm-bridge0/ndbusX/nmemY/cxl/dirty_shutdown
609+ Date: Feb, 2025
610+ KernelVersion: v6.15
611+ Contact: linux-cxl@vger.kernel.org
612+ Description:
613+ (RO) The device dirty shutdown count value, which is the number
614+ of times the device could have incurred in potential data loss.
615+ The count is persistent across power loss and wraps back to 0
616+ upon overflow. If this file is not present, the device does not
617+ have the necessary support for dirty tracking.
0 commit comments