Skip to contentSkip to conversation

cxl: Some ABI doc updates

PATCH Applied Davidlohr Bueso 4 participants 9 messages Feb 18, 2025 – Feb 20, 2025

lore
Share & tools
lore
#0 lore raw

v2 cover cxl: Some ABI doc updates

Hi, Two small ABI doc fixes.

Changes from v1: - picked up review
- s/Mb/MB in patch 2 (Jonathan)

Thanks!

Davidlohr Bueso (2):
cxl: Plug typos in ABI doc
cxl: Document missing sysfs files

 Documentation/ABI/testing/sysfs-bus-cxl | 26 +++++++++++++++++++++----
 1 file changed, 22 insertions(+), 4 deletions(-)

--
2.39.5

#1 lore raw

PATCH v2 1/2 cxl: Plug typos in ABI doc

Trivially update where necessary.

---
 Documentation/ABI/testing/sysfs-bus-cxl | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
Documentation/ABI/testing/sysfs-bus-cxl +4 -4
index 3f5627a1210a..7bdf0eb79d7c 100644
@@ -1,5 +1,5 @@
 What:		/sys/bus/cxl/flush
-Date:		Januarry, 2022
+Date:		January, 2022
 KernelVersion:	v5.18
 Contact:	[email protected]
 Description:
@@ -33,7 +33,7 @@ Date:		May, 2023
 KernelVersion:	v6.8
 Contact:	[email protected]
 Description:
-		(RO) For CXL host platforms that support "QoS Telemmetry"
+		(RO) For CXL host platforms that support "QoS Telemetry"
 		this attribute conveys a comma delimited list of platform
 		specific cookies that identifies a QoS performance class
 		for the volatile partition of the CXL mem device. These
@@ -60,7 +60,7 @@ Date:		May, 2023
 KernelVersion:	v6.8
 Contact:	[email protected]
 Description:
-		(RO) For CXL host platforms that support "QoS Telemmetry"
+		(RO) For CXL host platforms that support "QoS Telemetry"
 		this attribute conveys a comma delimited list of platform
 		specific cookies that identifies a QoS performance class
 		for the persistent partition of the CXL mem device. These
@@ -423,7 +423,7 @@ Date:		May, 2023
 KernelVersion:	v6.5
 Contact:	[email protected]
 Description:
-		(RO) For CXL host platforms that support "QoS Telemmetry" this
+		(RO) For CXL host platforms that support "QoS Telemetry" this
 		root-decoder-only attribute conveys a platform specific cookie
 		that identifies a QoS performance class for the CXL Window.
 		This class-id can be compared against a similar "qos_class"
Signature · 1 line
2.39.5
Reviewed-by on v2 1/2
#2 lore raw

Re: [PATCH 1/2] cxl: Plug typos in ABI doc

Quoted 4 lines · Davidlohr Bueso

Trivially update where necessary.

Quoted 42 lines
---
 Documentation/ABI/testing/sysfs-bus-cxl | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
Documentation/ABI/testing/sysfs-bus-cxl +4 -4
index 3f5627a1210a..7bdf0eb79d7c 100644
@@ -1,5 +1,5 @@
 What:		/sys/bus/cxl/flush
-Date:		Januarry, 2022
+Date:		January, 2022
 KernelVersion:	v5.18
 Contact:	[email protected]
 Description:
@@ -33,7 +33,7 @@ Date:		May, 2023
 KernelVersion:	v6.8
 Contact:	[email protected]
 Description:
-		(RO) For CXL host platforms that support "QoS Telemmetry"
+		(RO) For CXL host platforms that support "QoS Telemetry"
 		this attribute conveys a comma delimited list of platform
 		specific cookies that identifies a QoS performance class
 		for the volatile partition of the CXL mem device. These
@@ -60,7 +60,7 @@ Date:		May, 2023
 KernelVersion:	v6.8
 Contact:	[email protected]
 Description:
-		(RO) For CXL host platforms that support "QoS Telemmetry"
+		(RO) For CXL host platforms that support "QoS Telemetry"
 		this attribute conveys a comma delimited list of platform
 		specific cookies that identifies a QoS performance class
 		for the persistent partition of the CXL mem device. These
@@ -423,7 +423,7 @@ Date:		May, 2023
 KernelVersion:	v6.5
 Contact:	[email protected]
 Description:
-		(RO) For CXL host platforms that support "QoS Telemmetry" this
+		(RO) For CXL host platforms that support "QoS Telemetry" this
 		root-decoder-only attribute conveys a platform specific cookie
 		that identifies a QoS performance class for the CXL Window.
 		This class-id can be compared against a similar "qos_class"
#4 lore raw

PATCH v2 2/2 cxl: Document missing sysfs files

In reply to Davidlohr Bueso

Add to the ABI documentation the payload_max and label_storage_size read-only files, which have been there since the early days.

---
 Documentation/ABI/testing/sysfs-bus-cxl | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
Documentation/ABI/testing/sysfs-bus-cxl +18 -0
index 7bdf0eb79d7c..04a880bd1dde 100644
@@ -18,6 +18,24 @@ Description:
 		specification.
 
 
+What:		/sys/bus/cxl/devices/memX/payload_max
+Date:		December, 2020
+KernelVersion:	v5.12
+Contact:	[email protected]
+Description:
+		(RO) Maximum size (in bytes) of the mailbox command payload
+		registers. Linux caps this at 1MB if the device reports a
+		larger size.
+
+
+What:		/sys/bus/cxl/devices/memX/label_storage_size
+Date:		May, 2021
+KernelVersion:	v5.13
+Contact:	[email protected]
+Description:
+		(RO) Size (in bytes) of the Label Storage Area (LSA).
+
+
 What:		/sys/bus/cxl/devices/memX/ram/size
 Date:		December, 2020
 KernelVersion:	v5.12
Signature · 1 line
2.39.5
Reviewed-by on v2 2/2
#5 lore raw

Re: [PATCH 2/2] cxl: Document missing sysfs files

Quoted 4 lines · Davidlohr Bueso

Add to the ABI documentation the payload_max and label_storage_size read-only files, which have been there since the early days.

Quoted 33 lines
---
 Documentation/ABI/testing/sysfs-bus-cxl | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
Documentation/ABI/testing/sysfs-bus-cxl +18 -0
index 7bdf0eb79d7c..04a880bd1dde 100644
@@ -18,6 +18,24 @@ Description:
 		specification.
 
 
+What:		/sys/bus/cxl/devices/memX/payload_max
+Date:		December, 2020
+KernelVersion:	v5.12
+Contact:	[email protected]
+Description:
+		(RO) Maximum size (in bytes) of the mailbox command payload
+		registers. Linux caps this at 1MB if the device reports a
+		larger size.
+
+
+What:		/sys/bus/cxl/devices/memX/label_storage_size
+Date:		May, 2021
+KernelVersion:	v5.13
+Contact:	[email protected]
+Description:
+		(RO) Size (in bytes) of the Label Storage Area (LSA).
+
+
 What:		/sys/bus/cxl/devices/memX/ram/size
 Date:		December, 2020
 KernelVersion:	v5.12
Reviewed-by on the v2 series
#7 lore raw
In reply to Davidlohr Bueso

For series.

Quoted 17 lines · Davidlohr Bueso

Hi, Two small ABI doc fixes.

Changes from v1: - picked up review
- s/Mb/MB in patch 2 (Jonathan)

Thanks!

Davidlohr Bueso (2):
cxl: Plug typos in ABI doc
cxl: Document missing sysfs files

 Documentation/ABI/testing/sysfs-bus-cxl | 26 +++++++++++++++++++++----
 1 file changed, 22 insertions(+), 4 deletions(-)

--
2.39.5

Applied
#8 lore raw
In reply to Davidlohr Bueso
Quoted 11 lines · Davidlohr Bueso

Hi, Two small ABI doc fixes.

Changes from v1: - picked up review
- s/Mb/MB in patch 2 (Jonathan)

Thanks!

Davidlohr Bueso (2):
cxl: Plug typos in ABI doc
cxl: Document missing sysfs files

Quoted 6 lines
 Documentation/ABI/testing/sysfs-bus-cxl | 26 +++++++++++++++++++++----
 1 file changed, 22 insertions(+), 4 deletions(-)

--
2.39.5

Applied to cxl/next