summaryrefslogtreecommitdiffstats
path: root/drivers/misc/cxl/pci.c
diff options
context:
space:
mode:
authorRyan Grimm <grimm@linux.vnet.ibm.com>2015-01-19 18:52:49 +0100
committerMichael Ellerman <mpe@ellerman.id.au>2015-01-22 07:31:51 +0100
commit95bc11bcd1428afdb48400ec84dc6d5a83926138 (patch)
tree3831e60e399dd4e2f4e90b3bc358e2fdbd90ef59 /drivers/misc/cxl/pci.c
parentcxl: Use image state defaults for reloading FPGA (diff)
downloadlinux-95bc11bcd1428afdb48400ec84dc6d5a83926138.tar.xz
linux-95bc11bcd1428afdb48400ec84dc6d5a83926138.zip
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>
Diffstat (limited to 'drivers/misc/cxl/pci.c')
0 files changed, 0 insertions, 0 deletions