• R
    cxl: Add ability to reset the card · 62fa19d4
    Ryan Grimm 提交于
    Adds reset to sysfs which will PERST the card. If load_image_on_perst is set
    to "user" or "factory", the PERST will cause that image to be loaded.
    
    load_image_on_perst is set to "user" for production.
    
    "none" could be used for debugging. The PSL trace arrays are preserved which
    then can be read through debugfs.
    
    PERST also triggers CAPP recovery. An HMI comes in, which is handled by EEH.
    EEH unbinds the driver, calls into Sapphire to reinitialize the PHB, then
    rebinds the driver.
    Signed-off-by: NRyan Grimm <grimm@linux.vnet.ibm.com>
    Acked-by: NIan Munsie <imunsie@au1.ibm.com>
    Signed-off-by: NMichael Ellerman <mpe@ellerman.id.au>
    62fa19d4
sysfs-class-cxl 6.4 KB