[RFC PATCH 0/5] Add FADump support on PowerNV platform
Hari Bathini
hbathini at linux.ibm.com
Tue May 15 14:58:50 AEST 2018
Firmware-Assisted Dump (FADump) is currently supported only on pseries
platform. This patch series adds support for powernv platform too.
The first two patches refactor the FADump code to make use of common
code across multiple platforms. The third patch adds basic FADump support
to powernv platform. The next patch processes state data provided by f/w
and adds core notes to core file. The last patch adds support to export
opalcore. This is to make debugging of failures in opal code easier.
The patch series is tested with a few workarounds in firmware and kernel
as the full and final firmware support is currently being worked on.
The below skiboot patch series adds the relevant OPAL changes:
http://patchwork.ozlabs.org/project/skiboot/list/?series=42576
---
Hari Bathini (5):
powerpc/fadump: move internal fadump code to a new file
pseries/fadump: move out platform specific support from generic code
powerpc/fadump: enable fadump support on powernv platform
powerpc/fadump: process architected register state data provided by firmware
powerpc/powernv: export /proc/opaldump for analysing opal crashes
arch/powerpc/Kconfig | 2
arch/powerpc/include/asm/fadump.h | 185 ----
arch/powerpc/include/asm/opal-api.h | 4
arch/powerpc/include/asm/opal.h | 1
arch/powerpc/kernel/Makefile | 2
arch/powerpc/kernel/fadump.c | 1111 +++++++++--------------
arch/powerpc/kernel/fadump_internal.c | 194 ++++
arch/powerpc/kernel/fadump_internal.h | 197 ++++
arch/powerpc/platforms/powernv/Makefile | 1
arch/powerpc/platforms/powernv/opal-wrappers.S | 1
arch/powerpc/platforms/powernv/opalcore.c | 282 ++++++
arch/powerpc/platforms/powernv/opalcore.h | 28 +
arch/powerpc/platforms/powernv/powernv_fadump.c | 503 ++++++++++
arch/powerpc/platforms/powernv/powernv_fadump.h | 72 +
arch/powerpc/platforms/pseries/Makefile | 1
arch/powerpc/platforms/pseries/pseries_fadump.c | 532 +++++++++++
arch/powerpc/platforms/pseries/pseries_fadump.h | 96 ++
17 files changed, 2335 insertions(+), 877 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/opalcore.c
create mode 100644 arch/powerpc/platforms/powernv/opalcore.h
create mode 100644 arch/powerpc/platforms/powernv/powernv_fadump.c
create mode 100644 arch/powerpc/platforms/powernv/powernv_fadump.h
create mode 100644 arch/powerpc/platforms/pseries/pseries_fadump.c
create mode 100644 arch/powerpc/platforms/pseries/pseries_fadump.h
--
Signature
More information about the Linuxppc-dev
mailing list