]> Git Repo - linux.git/commit
powerpc/pseries/mce: restore msr before returning from handler
authorNicholas Piggin <[email protected]>
Sun, 7 Feb 2021 12:54:12 +0000 (22:54 +1000)
committerMichael Ellerman <[email protected]>
Mon, 8 Feb 2021 13:10:50 +0000 (00:10 +1100)
commit74c3354bc1d89d53e8da2dcc6f9f6bfc28b2900f
treeb425ea9c93f11676b45ef202772ee713250adb51
parent56acfdd8bf9f75e83a1b2957bd415368f39b67b6
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]
arch/powerpc/platforms/pseries/ras.c
This page took 0.053179 seconds and 4 git commands to generate.