Subject: [PATCH] Update CXL ABI documentation

From: Philippe Bergheaud <[email-masked]>
Date: Fri, 12 Dec 2014 11:28:53 +0100

From: Philippe Bergheaud <[email-masked]>

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

Signed-off-by: Philippe Bergheaud <[email-masked]>
Acked-by: Michael Neuling <[email-masked]>
---
  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:        [email-masked]
  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:        [email-masked]
  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:        [email-masked]
  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:        [email-masked]
  Description:    read only
-- 
1.7.2.5