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 _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev