diff options
author | Nicholas Piggin <[email protected]> | 2021-02-07 22:54:12 +1000 |
---|---|---|
committer | Michael Ellerman <[email protected]> | 2021-02-09 00:10:50 +1100 |
commit | 74c3354bc1d89d53e8da2dcc6f9f6bfc28b2900f (patch) | |
tree | b425ea9c93f11676b45ef202772ee713250adb51 /arch/powerpc/kernel/traps.c | |
parent | 56acfdd8bf9f75e83a1b2957bd415368f39b67b6 (diff) |
powerpc/pseries/mce: restore msr before returning from handler
The pseries real-mode machine check handler can enable the MMU, and
return from the handler with the MMU still enabled.
This works, but real-mode handler wrapper exit handlers want to rely
on the MMU being in real-mode. So change the pseries handler to
restore the MSR after it has finished virtual mode tasks.
Signed-off-by: Nicholas Piggin <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'arch/powerpc/kernel/traps.c')
0 files changed, 0 insertions, 0 deletions