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

Russell Currey ruscur at russell.cc
Fri Jun 9 16:06:01 AEST 2017


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

 hw/phb4.c           | 377 +++++++++++++++++++++++++++++++++++++++++-----------
 include/phb4-regs.h |   2 +
 include/phb4.h      |   1 +
 3 files changed, 303 insertions(+), 77 deletions(-)

-- 
2.13.1



More information about the Skiboot mailing list