[PATCH v2] powerpc/mce: Fix access error in mce handler
Michael Ellerman
patch-notifications at ellerman.id.au
Sun Sep 19 22:20:29 AEST 2021
On Thu, 9 Sep 2021 12:13:30 +0530, Ganesh Goudar wrote:
> We queue an irq work for deferred processing of mce event
> in realmode mce handler, where translation is disabled.
> Queuing of the work may result in accessing memory outside
> RMO region, such access needs the translation to be enabled
> for an LPAR running with hash mmu else the kernel crashes.
>
> After enabling translation in mce_handle_error() we used to
> leave it enabled to avoid crashing here, but now with the
> commit 74c3354bc1d89 ("powerpc/pseries/mce: restore msr before
> returning from handler") we are restoring the MSR to disable
> translation.
>
> [...]
Applied to powerpc/fixes.
[1/1] powerpc/mce: Fix access error in mce handler
https://git.kernel.org/powerpc/c/3a1e92d0896e928ac2a5b58962d05a39afef2e23
cheers
More information about the Linuxppc-dev
mailing list