Re: [PATCH v9 23/26] arm64: Handle serror in NMI context

From: Marc Zyngier
Date: Mon Jan 28 2019 - 07:26:16 EST


On Mon, 21 Jan 2019 15:33:42 +0000,
Julien Thierry <julien.thierry@xxxxxxx> wrote:
>
> Per definition of the daifflags, Serrors can occur during any interrupt
> context, that includes NMI contexts. Trying to nmi_enter in an nmi context
> will crash.
>
> Skip nmi_enter/nmi_exit when serror occurred during an NMI.
>
> Suggested-by: James Morse <james.morse@xxxxxxx>
> Signed-off-by: Julien Thierry <julien.thierry@xxxxxxx>
> Cc: Catalin Marinas <catalin.marinas@xxxxxxx>
> Cc: Will Deacon <will.deacon@xxxxxxx>
> Cc: Mark Rutland <mark.rutland@xxxxxxx>
> Cc: Dave Martin <dave.martin@xxxxxxx>
> Cc: James Morse <james.morse@xxxxxxx>

Acked-by: Marc Zyngier <marc.zyngier@xxxxxxx>

M.

--
Jazz is not dead, it just smell funny.