Nicholas Piggin b2dc2977cb 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
2020-07-22 23:00:23 +10:00
..
2020-05-14 16:44:25 +02:00
2019-07-13 16:08:36 -07:00
2019-09-20 11:48:06 -07:00
2020-03-10 15:16:42 +11:00
2019-08-30 09:52:57 +10:00
2020-06-05 12:39:30 -07:00
2020-05-26 23:36:57 +10:00
2020-06-05 12:39:30 -07:00
2020-04-05 11:12:59 -07:00
2020-06-21 10:02:53 -07:00
2020-05-26 23:36:51 +10:00
2020-06-05 12:39:30 -07:00