summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/mm-arch-hooks.h
diff options
context:
space:
mode:
authorNicholas Piggin <npiggin@gmail.com>2020-06-11 10:12:02 +0200
committerMichael Ellerman <mpe@ellerman.id.au>2020-07-22 15:00:23 +0200
commitb2dc2977cba48990df45e0a96150663d4f342700 (patch)
treea09c1b479ed48c24cca0c217c080ec5494c2887c /arch/powerpc/include/asm/mm-arch-hooks.h
parentLinux 5.8-rc2 (diff)
downloadlinux-b2dc2977cba48990df45e0a96150663d4f342700.tar.xz
linux-b2dc2977cba48990df45e0a96150663d4f342700.zip
powerpc/64s/exception: treat NIA below __end_interrupts as soft-masked
The scv instruction causes an interrupt which can enter the kernel with MSR[EE]=1, thus allowing interrupts to hit at any time. These must not be taken as normal interrupts, because they come from MSR[PR]=0 context, and yet the kernel stack is not yet set up and r13 is not set to the PACA). Treat this as a soft-masked interrupt regardless of the soft masked state. This does not affect behaviour yet, because currently all interrupts are taken with MSR[EE]=0. Signed-off-by: Nicholas Piggin <npiggin@gmail.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20200611081203.995112-2-npiggin@gmail.com
Diffstat (limited to 'arch/powerpc/include/asm/mm-arch-hooks.h')
0 files changed, 0 insertions, 0 deletions