[PATCH] Update CXL ABI documentation

Philippe Bergheaud felix at linux.vnet.ibm.com
Fri Dec 12 21:28:53 AEDT 2014


From: Philippe Bergheaud <felix at linux.vnet.ibm.com>

This fixes two typos and explains where shared attributes are stored.

Signed-off-by: Philippe Bergheaud <felix at linux.vnet.ibm.com>
Acked-by: Michael Neuling <mikey at neuling.org>
---
  Documentation/ABI/testing/sysfs-class-cxl |   11 ++++++++---
  1 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/Documentation/ABI/testing/sysfs-class-cxl b/Documentation/ABI/testing/sysfs-class-cxl
index faf9479..3393ee6 100644
--- a/Documentation/ABI/testing/sysfs-class-cxl
+++ b/Documentation/ABI/testing/sysfs-class-cxl
@@ -1,3 +1,9 @@
+Note: Attributes that are shared between devices are stored in the directory
+pointed to by the symlink device/.
+Example: The real path of the attribute /sys/class/cxl/afu0.0s/irqs_max is
+/sys/class/cxl/afu0.0s/device/irqs_max, i.e. /sys/class/cxl/afu0.0/irqs_max.
+
+
  Slave contexts (eg. /sys/class/cxl/afu0.0s):

  What:           /sys/class/cxl/<afu>/irqs_max
@@ -67,7 +73,7 @@ Contact:        linuxppc-dev at lists.ozlabs.org
  Description:    read only
                  Decimal value of the current version of the kernel/user API.

-What:           /sys/class/cxl/<afu>/api_version_com
+What:           /sys/class/cxl/<afu>/api_version_compatible
  Date:           September 2014
  Contact:        linuxppc-dev at lists.ozlabs.org
  Description:    read only
@@ -75,7 +81,6 @@ Description:    read only
                  this this kernel supports.


-
  Master contexts (eg. /sys/class/cxl/afu0.0m)

  What:           /sys/class/cxl/<afu>m/mmio_size
@@ -106,7 +111,7 @@ Contact:        linuxppc-dev at lists.ozlabs.org
  Description:    read only
                  Identifies the CAIA Version the card implements.

-What:           /sys/class/cxl/<card>/psl_version
+What:           /sys/class/cxl/<card>/psl_revision
  Date:           September 2014
  Contact:        linuxppc-dev at lists.ozlabs.org
  Description:    read only
-- 
1.7.2.5



More information about the Linuxppc-dev mailing list