powerpc: machine check and system reset fixes
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest16 patches 5 repliesIn review
- v315 patches 9 repliesSuperseded
- v2 posting 3/314 patches 9 repliesSuperseded
Earlier versions · 3
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v2 posting 2/3 | 1 patch | 1 reply | Applied | |
| v2 posting 1/3 | 12 patches | 6 replies | Superseded | |
| v1 | 7 patches | 0 replies | Superseded |
Patches in v4 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/16 | powerpc/64s/exception: Fix machine check no-loss idle wakeuparch/ | +8 | 0 replies | |
| 2/16 | powerpc/64s/exceptions: Fix in_mce accounting in unrecoverable patharch/ | +4 | 0 replies | |
| 3/16 | powerpc/64s/exceptions: Change irq reconcile for NMIs from reusing _DAR to RESULTarch/ | +5 | 0 replies | |
| 4/16 | powerpc/64s/exceptions: machine check reconcile irq statearch/ | +19 | 2 replies | |
| 5/16 | powerpc/pseries/ras: avoid calling rtas_token in NMI pathsarch/ arch/ arch/ | +12 | 0 replies | |
| 6/16 | powerpc/pseries/ras: FWNMI_VALID off by onearch/ | +3 | 0 replies | |
| 7/16 | powerpc/pseries/ras: fwnmi avoid modifying r3 in error casearch/ | +4 | 0 replies | |
| 8/16 | powerpc/pseries/ras: fwnmi sreset should not interlockarch/ | +32 | 0 replies | |
| 9/16 | powerpc/pseries: limit machine check stack to 4GBarch/ | +12 | 0 replies | |
| 10/16 | powerpc/pseries: machine check use rtas_call_unlocked with args on stackarch/ | +9 | 0 replies | |
| 11/16 | powerpc/64s: machine check interrupt update NMI accountingarch/ arch/ arch/ | +21 | 2 replies | |
| 12/16 | powerpc: implement ftrace_enabled helperarch/ | +14 | 0 replies | |
| 13/16 | powerpc/64s: machine check do not trace real-mode handlerarch/ | +8 | 0 replies | |
| 14/16 | powerpc/traps: system reset do not tracearch/ | +5 | 0 replies | |
| 15/16 | powerpc/traps: make unrecoverable NMIs die instead of panicarch/ | +3 | 0 replies | |
| 16/16 | powerpc/traps: Machine check fix RI=0 recoverability checkarch/ | +3 | 0 replies |
Reviews trailers per patch
8 of 16 patches have a Reviewed-by or Acked-by.
| Patch | Mahesh Salgaonkar | Christophe Leroy | Naveen N. Rao |
|---|---|---|---|
| 1/16 | |||
| 2/16 | A-b | ||
| 3/16 | |||
| 4/16 | |||
| 5/16 | R-b | R-b | |
| 6/16 | A-b | ||
| 7/16 | |||
| 8/16 | |||
| 9/16 | R-b | R-b | |
| 10/16 | |||
| 11/16 | |||
| 12/16 | R-b | ||
| 13/16 | R-b | A-b | |
| 14/16 | R-b | A-b | |
| 15/16 | R-b | ||
| 16/16 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH v4 00/16] powerpc: machine check and system reset fixes
Since v3, I fixed a compile error and returned the generic machine check exception handler to be NMI on 32 and 64e, as caught by Christophe's review.
Also added the last patch, just found it by looking at the code, a review for 32s would be good.
Thanks,
Nick
Nicholas Piggin (16):
powerpc/64s/exception: Fix machine check no-loss idle wakeup powerpc/64s/exceptions: Fix in_mce accounting in unrecoverable path powerpc/64s/exceptions: Change irq reconcile for NMIs from reusing
_DAR to RESULT
powerpc/64s/exceptions: machine check reconcile irq state powerpc/pseries/ras: avoid calling rtas_token in NMI paths powerpc/pseries/ras: FWNMI_VALID off by one powerpc/pseries/ras: fwnmi avoid modifying r3 in error case powerpc/pseries/ras: fwnmi sreset should not interlock powerpc/pseries: limit machine check stack to 4GB powerpc/pseries: machine check use rtas_call_unlocked with args on
stack
powerpc/64s: machine check interrupt update NMI accounting
powerpc: implement ftrace_enabled helper
powerpc/64s: machine check do not trace real-mode handler powerpc/traps: system reset do not trace
powerpc/traps: make unrecoverable NMIs die instead of panic powerpc/traps: Machine check fix RI=0 recoverability check
arch/powerpc/include/asm/firmware.h | 1 + arch/powerpc/include/asm/ftrace.h | 14 ++++++ arch/powerpc/kernel/exceptions-64s.S | 47 +++++++++++++++----- arch/powerpc/kernel/mce.c | 16 ++++++- arch/powerpc/kernel/process.c | 2 +- arch/powerpc/kernel/setup_64.c | 15 +++++-- arch/powerpc/kernel/traps.c | 31 ++++++++++--- arch/powerpc/platforms/pseries/ras.c | 60 +++++++++++++++++++------- arch/powerpc/platforms/pseries/setup.c | 14 ++++-- 9 files changed, 157 insertions(+), 43 deletions(-)
Signature · 1 line
2.23.0