Thread (4 messages) 4 messages, 3 authors, 2019-07-31

Re: [PATCH] arm64: Lower priority mask for GIC_PRIO_IRQON

From: Catalin Marinas <catalin.marinas@arm.com>
Date: 2019-07-31 17:22:46

On Mon, Jul 29, 2019 at 03:57:46PM +0100, Julien Thierry wrote:
On a system with two security states, if SCR_EL3.FIQ is set, non-secure
IRQ priorities get shifted to fit the secure view but priority masks
aren't.

On such system, it turns out that GIC_PRIO_IRQON masks the priority of
normal interrupts, which obviously ends up in a hang.

Increase GIC_PRIO_IRQON value (i.e. lower priority) to make sure
interrupts are not blocked by it.

Fixes: bd82d4bd21880b7c ("arm64: Fix incorrect irqflag restore for
       priority masking")
Signed-off-by: Julien Thierry <redacted>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Will Deacon <will@kernel.org>
Cc: Oleg Nesterov <oleg@redhat.com>
Cc: Marc Zyngier <maz@kernel.org>
I queued this through the arm64 for-next/fixes tree. Thanks.

-- 
Catalin

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help