cxl: Export AFU error buffer via sysfs
authorVaibhav Jain <vaibhav@linux.vnet.ibm.com>
Fri, 22 May 2015 05:26:05 +0000 (10:56 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 3 Jun 2015 03:27:15 +0000 (13:27 +1000)
commite36f6fe1f7aa4238478d4b253aac7d3fcfff6ee0
tree6ce1500973c137d3b642bc46f0fb4654d323969a
parent27d4dc7116eed98775902627ba61b70e9045e321
cxl: Export AFU error buffer via sysfs

Export the "AFU Error Buffer" via sysfs attribute (afu_err_buf). AFU
error buffer is used by the AFU to report application specific
errors. The contents of this buffer are AFU specific and are intended to
be interpreted by the application interacting with the afu.

Suggested-by: Michael Neuling <mikey@neuling.org>
Signed-off-by: Vaibhav Jain <vaibhav@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Documentation/ABI/testing/sysfs-class-cxl
drivers/misc/cxl/cxl.h
drivers/misc/cxl/pci.c
drivers/misc/cxl/sysfs.c