[Skiboot] [RFC PATCH 0/2] Add machine check handler in OPAL for Power9.
Mahesh J Salgaonkar
mahesh at linux.vnet.ibm.com
Tue Feb 21 12:45:47 AEDT 2017
This RFC patch series introduces OPAL machine check handler which gets
called by linux during machine check interrupt for extracting MCE
error reason for Power9. This will help linux to not to worry about the
chip specific details while handling Machine check interrupt. OPAL will
transparently provide Linux kernel an high level Machine check event
information while hiding all the chip specific processing and supporting
backward compatibility from Power9 and above.
The first patch enables OPAL entry to be re-enterant and the second patch
introduces the machine check handler.
Please comment on this approach.
Mahesh Salgaonkar (2):
opal: Fix OPAL entry path to resue callers stack.
opal: Add support to handle machine check interrupt for Power9.
asm/head.S | 12 +-
core/Makefile.inc | 2
core/exceptions.c | 1
core/mce.c | 376 ++++++++++++++++++++++++++++++++++++++++++++++++++++
include/opal-api.h | 179 +++++++++++++++++++++++++
5 files changed, 563 insertions(+), 7 deletions(-)
create mode 100644 core/mce.c
More information about the Skiboot