[PATCH 0/9] Add FADump support on PowerNV platform

Hari Bathini hbathini at linux.ibm.com
Fri Dec 21 06:00:09 AEDT 2018

Firmware-Assisted Dump (FADump) is currently supported only on pseries
platform. This patch series adds support for powernv platform too.

The first and third patches refactor the FADump code to make use of common
code across multiple platforms. The fourth patch adds basic FADump support
to powernv platform. The next patch processes CPU state data provided by
F/W and adds core notes to core file. The sixth patch adds support to export
opalcore. This is to make debugging of failures in opal code easier. The
remaining patches update firmware-assisted dump documentation appropriately.

The patch series is tested with the latest firmware plus the below skiboot
changes for MPIPL support:

    ("MPIPL support")

The patches are based on top of the below fadump changes:

    ("powerpc/fadump: Improvements for firmware-assisted dump")


Hari Bathini (9):
      powerpc/fadump: move internal fadump code to a new file
      powerpc/fadump: Improve fadump documentation
      pseries/fadump: move out platform specific support from generic code
      powerpc/fadump: enable fadump support on OPAL based POWER platform
      powerpc/fadump: process architected register state data provided by firmware
      powerpc/powernv: export /proc/opalcore for analysing opal crashes
      powerpc/fadump: add support to preserve crash data on FADUMP disabled kernel
      powerpc/fadump: use FADump instead of fadump for how it is pronounced
      powerpc/fadump: Update documentation about OPAL platform support

 Documentation/powerpc/firmware-assisted-dump.txt |  168 ++--
 arch/powerpc/Kconfig                             |   14 
 arch/powerpc/include/asm/fadump.h                |  191 ----
 arch/powerpc/include/asm/opal-api.h              |   35 +
 arch/powerpc/include/asm/opal.h                  |    1 
 arch/powerpc/kernel/Makefile                     |    6 
 arch/powerpc/kernel/fadump.c                     |  994 ++++++----------------
 arch/powerpc/kernel/fadump_internal.c            |  334 +++++++
 arch/powerpc/kernel/fadump_internal.h            |  228 +++++
 arch/powerpc/kernel/prom.c                       |    4 
 arch/powerpc/platforms/powernv/Makefile          |    5 
 arch/powerpc/platforms/powernv/opal-core.c       |  385 +++++++++
 arch/powerpc/platforms/powernv/opal-core.h       |   35 +
 arch/powerpc/platforms/powernv/opal-fadump.c     |  655 ++++++++++++++
 arch/powerpc/platforms/powernv/opal-fadump.h     |   49 +
 arch/powerpc/platforms/powernv/opal-wrappers.S   |    1 
 arch/powerpc/platforms/pseries/Makefile          |    1 
 arch/powerpc/platforms/pseries/pseries_fadump.c  |  534 ++++++++++++
 arch/powerpc/platforms/pseries/pseries_fadump.h  |   96 ++
 19 files changed, 2749 insertions(+), 987 deletions(-)
 create mode 100644 arch/powerpc/kernel/fadump_internal.c
 create mode 100644 arch/powerpc/kernel/fadump_internal.h
 create mode 100644 arch/powerpc/platforms/powernv/opal-core.c
 create mode 100644 arch/powerpc/platforms/powernv/opal-core.h
 create mode 100644 arch/powerpc/platforms/powernv/opal-fadump.c
 create mode 100644 arch/powerpc/platforms/powernv/opal-fadump.h
 create mode 100644 arch/powerpc/platforms/pseries/pseries_fadump.c
 create mode 100644 arch/powerpc/platforms/pseries/pseries_fadump.h

More information about the Linuxppc-dev mailing list