[libc-dev] [PATCH 1/2] powerpc/64s/exception: treat NIA below __end_interrupts as soft-masked

Michael Ellerman via libc-dev libc-dev at lists.llvm.org
Fri Jul 24 06:25:08 PDT 2020

On Thu, 11 Jun 2020 18:12:02 +1000, Nicholas Piggin wrote:
> 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.

Applied to powerpc/next.

[1/2] powerpc/64s/exception: treat NIA below __end_interrupts as soft-masked
[2/2] powerpc/64s: system call support for scv/rfscv instructions


More information about the libc-dev mailing list