[PATCH 0/3] powerpc/mce: Fix mce handler and add selftest
Ganesh Goudar
ganeshgr at linux.ibm.com
Thu Sep 17 03:22:25 AEST 2020
This patch series fixes mce handling for pseries, provides debugfs
interface for mce injection and adds selftest to test mce handling
on pseries/powernv machines running in hash mmu mode.
debugfs interface and sleftest are added only for slb multihit
injection, We can add other tests in future if possible.
Ganesh Goudar (3):
powerpc/mce: remove nmi_enter/exit from real mode handler
powerpc/mce: Add debugfs interface to inject MCE
selftest/powerpc: Add slb multihit selftest
arch/powerpc/Kconfig.debug | 9 ++
arch/powerpc/kernel/mce.c | 7 +-
arch/powerpc/sysdev/Makefile | 2 +
arch/powerpc/sysdev/mce_error_inject.c | 149 ++++++++++++++++++
tools/testing/selftests/powerpc/Makefile | 3 +-
tools/testing/selftests/powerpc/mces/Makefile | 6 +
.../selftests/powerpc/mces/slb_multihit.sh | 9 ++
7 files changed, 183 insertions(+), 2 deletions(-)
create mode 100644 arch/powerpc/sysdev/mce_error_inject.c
create mode 100644 tools/testing/selftests/powerpc/mces/Makefile
create mode 100755 tools/testing/selftests/powerpc/mces/slb_multihit.sh
--
2.26.2
More information about the Linuxppc-dev
mailing list