On 01/15/2015 12:42 AM, Ian Munsie wrote:
Excerpts from Ryan Grimm's message of 2015-01-15 13:56:41 +1100:
This allows an image to be downloaded to the flash without rebooting the
machine. The driver perform a PERST, which results in FPGA image downloaded to
flash and the CAPP unit enters recov
> > @@ -806,8 +837,8 @@ static int cxl_read_vsec(struct cxl *adapter, struct
> > pci_dev *dev)
> > CXL_READ_VSEC_BASE_IMAGE(dev, vsec, &adapter->base_image);
> > CXL_READ_VSEC_IMAGE_STATE(dev, vsec, &image_state);
> > adapter->user_image_loaded = !!(image_state &
> > CXL_VSEC_USER_
Excerpts from Ryan Grimm's message of 2015-01-15 13:56:41 +1100:
> +What: /sys/class/cxl//reset
> +Date: October 2014
> +Contact:linuxppc-dev@lists.ozlabs.org
> +Description:write only
> +Writing 1 here will issue a PERST to card.
...
> +static ssiz
Excerpts from Ryan Grimm's message of 2015-01-15 13:56:41 +1100:
> This allows an image to be downloaded to the flash without rebooting the
> machine. The driver perform a PERST, which results in FPGA image downloaded
> to
> flash and the CAPP unit enters recovery. CAPP recovery triggers an HMI,
This allows an image to be downloaded to the flash without rebooting the
machine. The driver perform a PERST, which results in FPGA image downloaded to
flash and the CAPP unit enters recovery. CAPP recovery triggers an HMI, which
is handled by EEH in Linux. EEH removes the driver, calls into Sap