EEH Support for PHB3
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest6 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | powerpc/powernv: Enable EEH for PHB3arch/ arch/ | +12 | 0 replies | |
| 2/6 | powerpc/powernv: Support inbound error injectionarch/ | +50 | 0 replies | |
| 3/6 | powerpc/eeh: Output error numberarch/ | +2 | 0 replies | |
| 4/6 | powerpc/powernv: Double size of log blobarch/ | +1 | 0 replies | |
| 5/6 | powerpc/eeh: Output PHB3 diag-dataarch/ arch/ | +135 | 0 replies | |
| 6/6 | powerpc/eeh: Reorder output messagesarch/ | +3 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/6] EEH Support for PHB3
Naturally, EEH has been supported for PHB3, but we had some mask bits to disable it because the firmware isn't ready. The series of patch instends to remove those "mask bits" and enable EEH for PHB3. Besides, the output messages from EEH has been reordered to reflect the correct steps during EEH recovery. Also, we have dedicated data struct for PHB3 diag-data, which is similiar to the case of P7IOC.
Note: We can't recover fenced PHB3 this moment because the f/w still have some problems, which I'm tracing down. However, the fix shouldn't affect the logic we have in Linux side.
In order to force frozen PE, you need issue following command or similiar one on different PHB#:
echo 0x8000000000000000 > /sys/kernel/debug/powerpc/PCI0003/err_injct_outbound
---
arch/powerpc/include/asm/opal.h | 65 +++++++++++ arch/powerpc/kernel/eeh.c | 6 +- arch/powerpc/platforms/powernv/eeh-ioda.c | 153 ++++++++++++++++++++++---- arch/powerpc/platforms/powernv/eeh-powernv.c | 5 +- arch/powerpc/platforms/powernv/pci.h | 2 +- 5 files changed, 200 insertions(+), 31 deletions(-)
Thanks,
Gavin