Linux CXL
 help / color / mirror / Atom feed
* [PATCH 0/2] cxl: Some ABI doc updates
@ 2025-01-13  2:52 Davidlohr Bueso
  2025-01-13  2:52 ` [PATCH 1/2] cxl: Plug typos in ABI doc Davidlohr Bueso
  2025-01-13  2:52 ` [PATCH 2/2] cxl: Document missing sysfs files Davidlohr Bueso
  0 siblings, 2 replies; 9+ messages in thread
From: Davidlohr Bueso @ 2025-01-13  2:52 UTC (permalink / raw)
  To: dave.jiang
  Cc: dan.j.williams, Jonathan.Cameron, ira.weiny, alison.schofield,
	dave, linux-cxl

Hi,

Two small ABI doc fixes.

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


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [PATCH 1/2] cxl: Plug typos in ABI doc
  2025-01-13  2:52 [PATCH 0/2] cxl: Some ABI doc updates Davidlohr Bueso
@ 2025-01-13  2:52 ` Davidlohr Bueso
  2025-01-13 12:54   ` Jonathan Cameron
  2025-01-13  2:52 ` [PATCH 2/2] cxl: Document missing sysfs files Davidlohr Bueso
  1 sibling, 1 reply; 9+ messages in thread
From: Davidlohr Bueso @ 2025-01-13  2:52 UTC (permalink / raw)
  To: dave.jiang
  Cc: dan.j.williams, Jonathan.Cameron, ira.weiny, alison.schofield,
	dave, linux-cxl

Trivially update where necessary.

Signed-off-by: Davidlohr Bueso <dave@stgolabs.net>
---
 Documentation/ABI/testing/sysfs-bus-cxl | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/Documentation/ABI/testing/sysfs-bus-cxl b/Documentation/ABI/testing/sysfs-bus-cxl
index 3f5627a1210a..7bdf0eb79d7c 100644
--- a/Documentation/ABI/testing/sysfs-bus-cxl
+++ b/Documentation/ABI/testing/sysfs-bus-cxl
@@ -1,5 +1,5 @@
 What:		/sys/bus/cxl/flush
-Date:		Januarry, 2022
+Date:		January, 2022
 KernelVersion:	v5.18
 Contact:	linux-cxl@vger.kernel.org
 Description:
@@ -33,7 +33,7 @@ Date:		May, 2023
 KernelVersion:	v6.8
 Contact:	linux-cxl@vger.kernel.org
 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:	linux-cxl@vger.kernel.org
 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:	linux-cxl@vger.kernel.org
 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"
-- 
2.39.5


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [PATCH 2/2] cxl: Document missing sysfs files
  2025-01-13  2:52 [PATCH 0/2] cxl: Some ABI doc updates Davidlohr Bueso
  2025-01-13  2:52 ` [PATCH 1/2] cxl: Plug typos in ABI doc Davidlohr Bueso
@ 2025-01-13  2:52 ` Davidlohr Bueso
  2025-01-13 12:58   ` Jonathan Cameron
  1 sibling, 1 reply; 9+ messages in thread
From: Davidlohr Bueso @ 2025-01-13  2:52 UTC (permalink / raw)
  To: dave.jiang
  Cc: dan.j.williams, Jonathan.Cameron, ira.weiny, alison.schofield,
	dave, linux-cxl

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

Signed-off-by: Davidlohr Bueso <dave@stgolabs.net>
---
 Documentation/ABI/testing/sysfs-bus-cxl | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/Documentation/ABI/testing/sysfs-bus-cxl b/Documentation/ABI/testing/sysfs-bus-cxl
index 7bdf0eb79d7c..96c7fffa5442 100644
--- a/Documentation/ABI/testing/sysfs-bus-cxl
+++ b/Documentation/ABI/testing/sysfs-bus-cxl
@@ -18,6 +18,24 @@ Description:
 		specification.
 
 
+What:		/sys/bus/cxl/devices/memX/payload_max
+Date:		December, 2020
+KernelVersion:	v5.12
+Contact:	linux-cxl@vger.kernel.org
+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:	linux-cxl@vger.kernel.org
+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
-- 
2.39.5


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* Re: [PATCH 1/2] cxl: Plug typos in ABI doc
  2025-01-13  2:52 ` [PATCH 1/2] cxl: Plug typos in ABI doc Davidlohr Bueso
@ 2025-01-13 12:54   ` Jonathan Cameron
  0 siblings, 0 replies; 9+ messages in thread
From: Jonathan Cameron @ 2025-01-13 12:54 UTC (permalink / raw)
  To: Davidlohr Bueso
  Cc: dave.jiang, dan.j.williams, ira.weiny, alison.schofield,
	linux-cxl

On Sun, 12 Jan 2025 18:52:39 -0800
Davidlohr Bueso <dave@stgolabs.net> wrote:

> Trivially update where necessary.
> 
> Signed-off-by: Davidlohr Bueso <dave@stgolabs.net>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH 2/2] cxl: Document missing sysfs files
  2025-01-13  2:52 ` [PATCH 2/2] cxl: Document missing sysfs files Davidlohr Bueso
@ 2025-01-13 12:58   ` Jonathan Cameron
  2025-01-13 16:49     ` Davidlohr Bueso
  0 siblings, 1 reply; 9+ messages in thread
From: Jonathan Cameron @ 2025-01-13 12:58 UTC (permalink / raw)
  To: Davidlohr Bueso
  Cc: dave.jiang, dan.j.williams, ira.weiny, alison.schofield,
	linux-cxl

On Sun, 12 Jan 2025 18:52:40 -0800
Davidlohr Bueso <dave@stgolabs.net> wrote:

> Add to the ABI documentation the payload_max and label_storage_size
> read-only files, which have been there since the early days.
> 
> Signed-off-by: Davidlohr Bueso <dave@stgolabs.net>
> ---
>  Documentation/ABI/testing/sysfs-bus-cxl | 18 ++++++++++++++++++
>  1 file changed, 18 insertions(+)
> 
> diff --git a/Documentation/ABI/testing/sysfs-bus-cxl b/Documentation/ABI/testing/sysfs-bus-cxl
> index 7bdf0eb79d7c..96c7fffa5442 100644
> --- a/Documentation/ABI/testing/sysfs-bus-cxl
> +++ b/Documentation/ABI/testing/sysfs-bus-cxl
> @@ -18,6 +18,24 @@ Description:
>  		specification.
>  
>  
> +What:		/sys/bus/cxl/devices/memX/payload_max
> +Date:		December, 2020
> +KernelVersion:	v5.12
> +Contact:	linux-cxl@vger.kernel.org
> +Description:
> +		(RO) Maximum size (in bytes) of the mailbox command payload
> +		registers. Linux caps this at 1Mb if the device reports a
> +		larger size.

Spec currently caps it to 1MiB as well so a device reporting larger is buggy
but I guess we don't need to mention that :)
Units wise probably MB or MiB if we are being fusy. I think Mb is mega bit?

MB is slightly more common in ABI docs.  Oddly neither MiB or MB shows
up much. Mb not there at all.

> +
> +
> +What:		/sys/bus/cxl/devices/memX/label_storage_size
> +Date:		May, 2021
> +KernelVersion:	v5.13
> +Contact:	linux-cxl@vger.kernel.org
> +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


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH 2/2] cxl: Document missing sysfs files
  2025-01-13 12:58   ` Jonathan Cameron
@ 2025-01-13 16:49     ` Davidlohr Bueso
  0 siblings, 0 replies; 9+ messages in thread
From: Davidlohr Bueso @ 2025-01-13 16:49 UTC (permalink / raw)
  To: Jonathan Cameron
  Cc: dave.jiang, dan.j.williams, ira.weiny, alison.schofield,
	linux-cxl

On Mon, 13 Jan 2025, Jonathan Cameron wrote:

>Spec currently caps it to 1MiB as well so a device reporting larger is buggy
>but I guess we don't need to mention that :)

Right.

>Units wise probably MB or MiB if we are being fusy. I think Mb is mega bit?

Dave, please shout if you want me to s/Mb/MB in a v2 patch, or if you
can update it when picking up.

Thanks,
Davidlohr

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [PATCH 1/2] cxl: Plug typos in ABI doc
  2025-02-18 22:48 [PATCH v2 0/2] cxl: Some ABI doc updates Davidlohr Bueso
@ 2025-02-18 22:48 ` Davidlohr Bueso
  2025-02-19 17:05   ` Dave Jiang
  2025-02-20  5:31   ` Li Ming
  0 siblings, 2 replies; 9+ messages in thread
From: Davidlohr Bueso @ 2025-02-18 22:48 UTC (permalink / raw)
  To: dave.jiang
  Cc: dan.j.williams, Jonathan.Cameron, ira.weiny, alison.schofield,
	dave, linux-cxl

Trivially update where necessary.

Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Davidlohr Bueso <dave@stgolabs.net>
---
 Documentation/ABI/testing/sysfs-bus-cxl | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/Documentation/ABI/testing/sysfs-bus-cxl b/Documentation/ABI/testing/sysfs-bus-cxl
index 3f5627a1210a..7bdf0eb79d7c 100644
--- a/Documentation/ABI/testing/sysfs-bus-cxl
+++ b/Documentation/ABI/testing/sysfs-bus-cxl
@@ -1,5 +1,5 @@
 What:		/sys/bus/cxl/flush
-Date:		Januarry, 2022
+Date:		January, 2022
 KernelVersion:	v5.18
 Contact:	linux-cxl@vger.kernel.org
 Description:
@@ -33,7 +33,7 @@ Date:		May, 2023
 KernelVersion:	v6.8
 Contact:	linux-cxl@vger.kernel.org
 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:	linux-cxl@vger.kernel.org
 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:	linux-cxl@vger.kernel.org
 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"
-- 
2.39.5


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* Re: [PATCH 1/2] cxl: Plug typos in ABI doc
  2025-02-18 22:48 ` [PATCH 1/2] cxl: Plug typos in ABI doc Davidlohr Bueso
@ 2025-02-19 17:05   ` Dave Jiang
  2025-02-20  5:31   ` Li Ming
  1 sibling, 0 replies; 9+ messages in thread
From: Dave Jiang @ 2025-02-19 17:05 UTC (permalink / raw)
  To: Davidlohr Bueso
  Cc: dan.j.williams, Jonathan.Cameron, ira.weiny, alison.schofield,
	linux-cxl



On 2/18/25 3:48 PM, Davidlohr Bueso wrote:
> Trivially update where necessary.
> 
> Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
> Signed-off-by: Davidlohr Bueso <dave@stgolabs.net>

Reviewed-by: Dave Jiang <dave.jiang@intel.com>
> ---
>  Documentation/ABI/testing/sysfs-bus-cxl | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/Documentation/ABI/testing/sysfs-bus-cxl b/Documentation/ABI/testing/sysfs-bus-cxl
> index 3f5627a1210a..7bdf0eb79d7c 100644
> --- a/Documentation/ABI/testing/sysfs-bus-cxl
> +++ b/Documentation/ABI/testing/sysfs-bus-cxl
> @@ -1,5 +1,5 @@
>  What:		/sys/bus/cxl/flush
> -Date:		Januarry, 2022
> +Date:		January, 2022
>  KernelVersion:	v5.18
>  Contact:	linux-cxl@vger.kernel.org
>  Description:
> @@ -33,7 +33,7 @@ Date:		May, 2023
>  KernelVersion:	v6.8
>  Contact:	linux-cxl@vger.kernel.org
>  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:	linux-cxl@vger.kernel.org
>  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:	linux-cxl@vger.kernel.org
>  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"


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH 1/2] cxl: Plug typos in ABI doc
  2025-02-18 22:48 ` [PATCH 1/2] cxl: Plug typos in ABI doc Davidlohr Bueso
  2025-02-19 17:05   ` Dave Jiang
@ 2025-02-20  5:31   ` Li Ming
  1 sibling, 0 replies; 9+ messages in thread
From: Li Ming @ 2025-02-20  5:31 UTC (permalink / raw)
  To: Davidlohr Bueso
  Cc: dan.j.williams, Jonathan.Cameron, ira.weiny, alison.schofield,
	linux-cxl, dave.jiang

On 2/19/2025 6:48 AM, Davidlohr Bueso wrote:
> Trivially update where necessary.
>
> Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
> Signed-off-by: Davidlohr Bueso <dave@stgolabs.net>
Reviewed-by: Li Ming <ming.li@zohomail.com>

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2025-02-20  5:32 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-13  2:52 [PATCH 0/2] cxl: Some ABI doc updates Davidlohr Bueso
2025-01-13  2:52 ` [PATCH 1/2] cxl: Plug typos in ABI doc Davidlohr Bueso
2025-01-13 12:54   ` Jonathan Cameron
2025-01-13  2:52 ` [PATCH 2/2] cxl: Document missing sysfs files Davidlohr Bueso
2025-01-13 12:58   ` Jonathan Cameron
2025-01-13 16:49     ` Davidlohr Bueso
  -- strict thread matches above, loose matches on Subject: below --
2025-02-18 22:48 [PATCH v2 0/2] cxl: Some ABI doc updates Davidlohr Bueso
2025-02-18 22:48 ` [PATCH 1/2] cxl: Plug typos in ABI doc Davidlohr Bueso
2025-02-19 17:05   ` Dave Jiang
2025-02-20  5:31   ` Li Ming

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox