linux/arch/powerpc
Nicholas Piggin 1b0482229c powerpc/64s/interrupt: preserve regs->softe for NMI interrupts
If an NMI interrupt hits in an implicit soft-masked region, regs->softe
is modified to reflect that. This may not be necessary for correctness
at the moment, but it is less surprising and it's unhelpful when
debugging or adding checks.

Make sure this is changed back to how it was found before returning.

Fixes: 4ec5feec1a ("powerpc/64s: Make NMI record implicitly soft-masked code as irqs disabled")
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20210630074621.2109197-6-npiggin@gmail.com
2021-06-30 22:21:20 +10:00
..
boot powerpc/boot: Add a boot wrapper for Microwatt 2021-06-21 21:16:32 +10:00
configs powerpc/configs: Enable STACK_TRACER and FTRACE_SYSCALLS in some of the configs 2021-06-25 14:47:19 +10:00
crypto crypto: powepc/sha1 - remove unneeded semicolon 2021-03-07 15:13:14 +11:00
include powerpc/64s/interrupt: preserve regs->softe for NMI interrupts 2021-06-30 22:21:20 +10:00
kernel powerpc/64s: add a table of implicit soft-masked addresses 2021-06-30 22:21:20 +10:00
kexec powerpc: mark local variables around longjmp as volatile 2021-06-25 14:47:20 +10:00
kvm powerpc/64s: avoid reloading (H)SRR registers if they are still valid 2021-06-25 00:06:55 +10:00
lib powerpc/64s: add a table of implicit soft-masked addresses 2021-06-30 22:21:20 +10:00
math-emu powerpc/64s: avoid reloading (H)SRR registers if they are still valid 2021-06-25 00:06:55 +10:00
mm powerpc/64s: fix hash page fault interrupt handler 2021-06-30 22:21:19 +10:00
net powerpc/bpf: Use bctrl for making function calls 2021-06-25 14:47:19 +10:00
perf powerpc/pmu: Make the generic compat PMU use the architected events 2021-06-25 14:47:20 +10:00
platforms powerpc/pseries/vas: Include irqdomain.h 2021-06-25 14:53:47 +10:00
purgatory powerpc/kexec: Don't use .machine ppc64 in trampoline_64.S 2021-04-08 21:17:43 +10:00
sysdev powerpc/64s: avoid reloading (H)SRR registers if they are still valid 2021-06-25 00:06:55 +10:00
tools powerpc/tools: Remove 90 line limit in checkpatch script 2020-09-08 22:57:11 +10:00
xmon powerpc: mark local variables around longjmp as volatile 2021-06-25 14:47:20 +10:00
Kbuild
Kconfig powerpc: Add Microwatt platform 2021-06-21 21:15:26 +10:00
Kconfig.debug powerpc: Make PPC_IRQ_SOFT_MASK_DEBUG depend on PPC64 2021-06-25 00:07:09 +10:00
Makefile powerpc/Makefile: Add ppc32/ppc64_randconfig targets 2021-05-23 20:51:35 +10:00
Makefile.postlink powerpc: unrel_branch_check.sh: use nm to find symbol value 2020-09-02 11:00:22 +10:00