diff options
author | Nicholas Piggin <npiggin@gmail.com> | 2021-01-30 23:08:33 +1000 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2021-02-09 00:02:11 +1100 |
commit | 209e9d500e25eada096b2c09a34093bc458166f3 (patch) | |
tree | f2f9b5484471d2f641c25ea289ca4e398a02657f /tools/thermal | |
parent | dcdb4f12963f3f4200e24e1dad78564a98736f67 (diff) |
powerpc: introduce die_mce
As explained by commit daf00ae71dad ("powerpc/traps: restore
recoverability of machine_check interrupts"), die() can't be called from
within nmi_enter to nicely kill a process context that was interrupted.
nmi_exit must be called first.
This adds a function die_mce which takes care of this for machine check
handlers.
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20210130130852.2952424-24-npiggin@gmail.com
Diffstat (limited to 'tools/thermal')
0 files changed, 0 insertions, 0 deletions