Revision 677379bc9139ac24b310a281fcb21a2f04288353 authored by Julien Thierry on 29 July 2019, 14:57:46 UTC, committed by Will Deacon on 01 August 2019, 13:59:48 UTC
On a system with two security states, if SCR_EL3.FIQ is cleared,
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.

Cc: Oleg Nesterov <oleg@redhat.com>
Fixes: bd82d4bd21880b7c ("arm64: Fix incorrect irqflag restore for priority masking")
Acked-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Julien Thierry <julien.thierry.kdev@gmail.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
[will: fixed Fixes: tag]
Signed-off-by: Will Deacon <will@kernel.org>
1 parent f1d4836
History
File Mode Size
Kconfig -rw-r--r-- 3.2 KB
Makefile -rw-r--r-- 484 bytes
auth.c -rw-r--r-- 13.7 KB
budget.c -rw-r--r-- 23.3 KB
commit.c -rw-r--r-- 19.9 KB
compress.c -rw-r--r-- 6.6 KB
crypto.c -rw-r--r-- 2.4 KB
debug.c -rw-r--r-- 81.7 KB
debug.h -rw-r--r-- 11.9 KB
dir.c -rw-r--r-- 42.2 KB
file.c -rw-r--r-- 46.6 KB
find.c -rw-r--r-- 29.4 KB
gc.c -rw-r--r-- 28.1 KB
io.c -rw-r--r-- 35.1 KB
ioctl.c -rw-r--r-- 5.2 KB
journal.c -rw-r--r-- 52.0 KB
key.h -rw-r--r-- 14.3 KB
log.c -rw-r--r-- 19.2 KB
lprops.c -rw-r--r-- 35.4 KB
lpt.c -rw-r--r-- 61.8 KB
lpt_commit.c -rw-r--r-- 50.6 KB
master.c -rw-r--r-- 12.4 KB
misc.c -rw-r--r-- 1.3 KB
misc.h -rw-r--r-- 7.7 KB
orphan.c -rw-r--r-- 26.0 KB
recovery.c -rw-r--r-- 43.1 KB
replay.c -rw-r--r-- 33.8 KB
sb.c -rw-r--r-- 26.3 KB
scan.c -rw-r--r-- 8.9 KB
shrinker.c -rw-r--r-- 9.0 KB
super.c -rw-r--r-- 62.9 KB
tnc.c -rw-r--r-- 91.7 KB
tnc_commit.c -rw-r--r-- 27.0 KB
tnc_misc.c -rw-r--r-- 12.7 KB
ubifs-media.h -rw-r--r-- 24.8 KB
ubifs.h -rw-r--r-- 70.8 KB
xattr.c -rw-r--r-- 18.8 KB

back to top