linux/drivers/misc/cxl
Ryan Grimm 95bc11bcd1 cxl: Add image control to sysfs
load_image_on_perst identifies whether a PERST will cause the image to be
flashed to the card. And if so, which image.

Valid entries are: "none", "user" and "factory".

A value of "none" means PERST will not cause the image to be flashed. A
power cycle to the pcie slot is required to load the image.

"user" loads the user provided image and "factory" loads the factory image upon
PERST.

sysfs updates the cxl struct in the driver then calls cxl_update_image_control
to write the vals in the VSEC.

Signed-off-by: Ryan Grimm <grimm@linux.vnet.ibm.com>
Acked-by: Ian Munsie <imunsie@au1.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
2015-01-22 17:31:51 +11:00
..
base.c
context.c cxl: Unmap MMIO regions when detaching a context 2014-12-12 13:06:48 +11:00
cxl.h cxl: Use image state defaults for reloading FPGA 2015-01-22 17:31:51 +11:00
debugfs.c cxl: Driver code for powernv PCIe based cards for userspace access 2014-10-08 20:15:57 +11:00
fault.c cxl: Add tracepoints 2015-01-22 17:31:51 +11:00
file.c cxl: Add tracepoints 2015-01-22 17:31:51 +11:00
irq.c cxl: Add tracepoints 2015-01-22 17:31:51 +11:00
Kconfig cxl: Add driver to Kbuild and Makefiles 2014-10-08 20:15:58 +11:00
main.c cxl: Add tracepoints 2015-01-22 17:31:51 +11:00
Makefile cxl: Add tracepoints 2015-01-22 17:31:51 +11:00
native.c cxl: Add tracepoints 2015-01-22 17:31:51 +11:00
pci.c cxl: Use image state defaults for reloading FPGA 2015-01-22 17:31:51 +11:00
sysfs.c cxl: Add image control to sysfs 2015-01-22 17:31:51 +11:00
trace.c cxl: Add tracepoints 2015-01-22 17:31:51 +11:00
trace.h cxl: Add tracepoints 2015-01-22 17:31:51 +11:00