Re: [PATCH v9 25/26] arm64: Skip irqflags tracing for NMI in IRQs disabled context
From: Marc Zyngier
Date: Mon Jan 28 2019 - 07:40:32 EST
On Mon, 21 Jan 2019 15:33:44 +0000,
Julien Thierry <julien.thierry@xxxxxxx> wrote:
>
> When an NMI is raised while interrupts where disabled, the IRQ tracing
> already is in the correct state (i.e. hardirqs_off) and should be left
> as such when returning to the interrupted context.
>
> Check whether PMR was masking interrupts when the NMI was raised and
> skip IRQ tracing if necessary.
>
> Signed-off-by: Julien Thierry <julien.thierry@xxxxxxx>
> Cc: Catalin Marinas <catalin.marinas@xxxxxxx>
> Cc: Will Deacon <will.deacon@xxxxxxx>
> Cc: Marc Zyngier <marc.zyngier@xxxxxxx>
Acked-by: Marc Zyngier <marc.zyngier@xxxxxxx>
M.
--
Jazz is not dead, it just smell funny.