diff options
author | 2017-11-17 02:00:50 +1000 | |
---|---|---|
committer | 2017-12-11 13:03:34 +1100 | |
commit | acb1feab320e38588fccc568e3767761f494976f (patch) | |
tree | a39fcc7d2f6e0cfa3517691032cfe8a65819b12d /include/linux/pci.h | |
parent | powerpc/44x/fsp2: Add irq error handlers (diff) | |
download | wireguard-linux-acb1feab320e38588fccc568e3767761f494976f.tar.xz wireguard-linux-acb1feab320e38588fccc568e3767761f494976f.zip |
powerpc/64: Don't trace irqs-off at interrupt return to soft-disabled context
When an interrupt is returning to a soft-disabled context (which can
happen for non-maskable interrupts or synchronous interrupts), it goes
through the motions of soft-disabling again, including calling
TRACE_DISABLE_INTS (i.e., trace_hardirqs_off()).
This is not necessary, because we must already be soft-disabled in the
interrupt context, it also may be causing crashes in the irq tracing
code to re-enter as an nmi. Replace it with a warning to ensure that
soft-interrupts are still disabled.
Fixes: 7c0482e3d055 ("powerpc/irq: Fix another case of lazy IRQ state getting out of sync")
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'include/linux/pci.h')
0 files changed, 0 insertions, 0 deletions