Skip to content

Commit

Permalink
cxl: Update CXL ABI documentation
Browse files Browse the repository at this point in the history
This fixes two typos and explains where shared attributes are stored.

Signed-off-by: Philippe Bergheaud <felix@linux.vnet.ibm.com>
Acked-by: Michael Neuling <mikey@neuling.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
  • Loading branch information
Philippe Bergheaud authored and Michael Ellerman committed Jan 22, 2015
1 parent 9bcf28c commit 49fd644
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions Documentation/ABI/testing/sysfs-class-cxl
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -67,15 +73,14 @@ Contact: linuxppc-dev@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@lists.ozlabs.org
Description: read only
Decimal value of the the lowest version of the userspace API
this this kernel supports.



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

What: /sys/class/cxl/<afu>m/mmio_size
Expand Down Expand Up @@ -106,7 +111,7 @@ Contact: linuxppc-dev@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@lists.ozlabs.org
Description: read only
Expand Down

0 comments on commit 49fd644

Please sign in to comment.