[PATCH 0/6] EEH Cleanup

Gavin Shan gwshan at linux.vnet.ibm.com
Wed Jul 16 15:50:13 EST 2014


The patchset is EEH cleanup and expected to be merged during 3.17
window. The the patchset is expected to be applied after:

   |    EEH support for guest
   |    2 more bug fixes for EEH support for guest
   |    M64 related EEH changes
   |    2 bug fixes from Mike Qiu
   |
   +->  The current patchset

Except the following 2 patches, all patches are for cleanup:
Refactoring EEH log, replacing pr_warning() with pr_warn(),
reducing length of EEH log dump etc:

PATCH[2/6]: We have to enable I/O path before collecting EEH log.
            Otherwise, 0xFF is always returned from PCI config
            of devices in frozen PE. the problem is only existing
            on PHB3.
PATCH[6/6]: It's something related to EEH guest log retrieval.
	    Currently, all PEs in one specific PHB are sharing
	    diag-data blob for storing EEH log. It's possible
	    for diag-data blob overwritten before being collected
            by guest. The patch introduce auxillary data for PE,
            which is maintained by backend. On PowerNV, that's used
            for EEH log.

Gavin Shan (6):
  powerpc/eeh: Refactor EEH flag accessors
  powerpc/eeh: Selectively enable IO for error log
  powerpc/eeh: Reduce lines of log dump
  powerpc/eeh: Replace pr_warning() with pr_warn()
  powerpc/eeh: Make diag-data not endian dependent
  powerpc/eeh: Aux PE data for error log

 arch/powerpc/include/asm/eeh.h               |  43 ++++-----
 arch/powerpc/include/asm/opal.h              | 128 +++++++++++++--------------
 arch/powerpc/kernel/eeh.c                    |  73 ++++++++++-----
 arch/powerpc/kernel/eeh_cache.c              |   9 +-
 arch/powerpc/kernel/eeh_dev.c                |   3 +-
 arch/powerpc/kernel/eeh_driver.c             |  16 ++--
 arch/powerpc/kernel/eeh_pe.c                 |  29 +++++-
 arch/powerpc/platforms/powernv/eeh-ioda.c    | 103 +++++++++++++--------
 arch/powerpc/platforms/powernv/eeh-powernv.c |  32 +++++--
 arch/powerpc/platforms/powernv/pci-ioda.c    |   1 -
 arch/powerpc/platforms/powernv/pci.c         |  68 ++++++++------
 arch/powerpc/platforms/pseries/eeh_pseries.c |  32 +++----
 12 files changed, 323 insertions(+), 214 deletions(-)

-- 
1.8.3.2



More information about the Linuxppc-dev mailing list