Skip to content

Commit 0fcde59

Browse files
Davidlohr Buesostellarhopper
authored andcommitted
cxl/memdev: Improve sanitize ABI descriptions
Be more detailed about the CPU cache management situation. The same goes for both sanitize and secure erase. Signed-off-by: Davidlohr Bueso <dave@stgolabs.net> Link: https://lore.kernel.org/r/20230726051940.3570-2-dave@stgolabs.net Reviewed-by: Dave Jiang <dave.jiang@intel.com> Signed-off-by: Vishal Verma <vishal.l.verma@intel.com>
1 parent 70d49bb commit 0fcde59

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

Documentation/ABI/testing/sysfs-bus-cxl

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,11 @@ Description:
8282
whether it resides in persistent capacity, volatile capacity,
8383
or the LSA, is made permanently unavailable by whatever means
8484
is appropriate for the media type. This functionality requires
85-
the device to be not be actively decoding any HPA ranges.
85+
the device to be disabled, that is, not actively decoding any
86+
HPA ranges. This permits avoiding explicit global CPU cache
87+
management, relying instead for it to be done when a region
88+
transitions between software programmed and hardware committed
89+
states.
8690

8791

8892
What /sys/bus/cxl/devices/memX/security/erase
@@ -92,7 +96,12 @@ Contact: linux-cxl@vger.kernel.org
9296
Description:
9397
(WO) Write a boolean 'true' string value to this attribute to
9498
secure erase user data by changing the media encryption keys for
95-
all user data areas of the device.
99+
all user data areas of the device. This functionality requires
100+
the device to be disabled, that is, not actively decoding any
101+
HPA ranges. This permits avoiding explicit global CPU cache
102+
management, relying instead for it to be done when a region
103+
transitions between software programmed and hardware committed
104+
states.
96105

97106

98107
What: /sys/bus/cxl/devices/memX/firmware/

0 commit comments

Comments
 (0)