[v4, 1/4] powerpc/64s: Fix HV NMI vs HV interrupt recoverability test

Michael Ellerman patch-notifications at ellerman.id.au
Thu Feb 28 20:21:11 AEDT 2019


On Tue, 2019-02-26 at 08:51:07 UTC, Nicholas Piggin wrote:
> HV interrupts that use HSRR registers do not enter with MSR[RI] clear,
> but their entry code is not recoverable vs NMI, due to shared use of
> HSPRG1 as a scratch register to save r13.
> 
> This means that a system reset or machine check that hits in HSRR
> interrupt entry can cause r13 to be silently corrupted.
> 
> Fix this by marking NMIs non-recoverable if they land in HV interrupt
> ranges.
> 
> Signed-off-by: Nicholas Piggin <npiggin at gmail.com>

Series applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/ccd477028a202993b9ddca5d2404fdac

cheers


More information about the Linuxppc-dev mailing list