Thread (2 messages) flat view 2 messages, 2 authors, 2021-05-15

Re: [PATCH] powerpc/64s: Make NMI record implicitly soft-masked code as irqs disabled

From: Michael Ellerman <hidden>
Date: 2021-05-15 22:48:43

On Mon, 3 May 2021 21:17:08 +1000, Nicholas Piggin wrote:
scv support introduced the notion of code that implicitly soft-masks
irqs due to the instruction addresses. This is required because scv
enters the kernel with MSR[EE]=1.

If a NMI (including soft-NMI) interrupt hits when we are implicitly
soft-masked then its regs->softe does not reflect this because it is
derived from the explicit soft mask state (paca->irq_soft_mask). This
makes arch_irq_disabled_regs(regs) return false.

[...]
Applied to powerpc/fixes.

[1/1] powerpc/64s: Make NMI record implicitly soft-masked code as irqs disabled
      https://git.kernel.org/powerpc/c/4ec5feec1ad029bdf7d49bc50ccc0c195eeabe93

cheers
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help