aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/hw_irq.h
diff options
context:
space:
mode:
authorNicholas Piggin <npiggin@gmail.com>2020-09-15 21:46:46 +1000
committerMichael Ellerman <mpe@ellerman.id.au>2020-10-06 23:22:23 +1100
commit2b48e96be2f9f7151197fd25dc41487054bc6f5b (patch)
tree239b9a445ec134ac6cb6ba4e6ca94cf8ef5ed804 /arch/powerpc/include/asm/hw_irq.h
parent903fd31d3212ab72d564c68f6cfb5d04db68773e (diff)
downloadkernel_replicant_linux-2b48e96be2f9f7151197fd25dc41487054bc6f5b.tar.gz
kernel_replicant_linux-2b48e96be2f9f7151197fd25dc41487054bc6f5b.tar.bz2
kernel_replicant_linux-2b48e96be2f9f7151197fd25dc41487054bc6f5b.zip
powerpc/64: fix irq replay pt_regs->softe value
Replayed interrupts get an "artificial" struct pt_regs constructed to pass to interrupt handler functions. This did not get the softe field set correctly, it's as though the interrupt has hit while irqs are disabled. It should be IRQS_ENABLED. This is possibly harmless, asynchronous handlers should not be testing if irqs were disabled, but it might be possible for example some code is shared with synchronous or NMI handlers, and it makes more sense if debug output looks at this. Fixes: 3282a3da25bd ("powerpc/64: Implement soft interrupt replay in C") Signed-off-by: Nicholas Piggin <npiggin@gmail.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20200915114650.3980244-2-npiggin@gmail.com
Diffstat (limited to 'arch/powerpc/include/asm/hw_irq.h')
0 files changed, 0 insertions, 0 deletions