[Skiboot] [PATCH 0/5] PHB4 reset & error injection implementation

Stewart Smith stewart at linux.vnet.ibm.com
Thu Jun 15 14:06:46 AEST 2017

Russell Currey <ruscur at russell.cc> writes:
> This series makes EEH recovery and injection possible on P9 DD1.
> Patch 1 fills out the error recovery procedure for the fatal class (fence).
> Patches 2 and 3 ensure that link down errors are masked to prevent false
> errors during hot resets.
> Patch 4 fills out the error clearing procedure.
> Patch 5 enables error injection for config space.
> On P9 DD1 hardware with this series, you should be able to do the following:
>    # echo <pe_number>:0:4:0:0 > /sys/kernel/debug/powerpc/PCIXXXX/err_injct
>    # lspci -xxxx >/dev/null # force full config space read
> which should inject a config space error then detect it, and have a device
> go through recovery and come back up and work.
> This series marks the point where it starts to be worthwhile to test EEH on
> P9.
> Russell Currey (5):
>   phb4: Complete reset implementation
>   phb4: Implement root port initialization
>   phb4: Mask link down errors during reset
>   phb4: Error clear implementation
>   phb4: Error injection for config space

Thanks, series merged to master as of

Pridhiviraj - you may want to, with this (or newer) skiboot, see how
some EEH injection tests go on P9.

Stewart Smith
OPAL Architect, IBM.

More information about the Skiboot mailing list