ipi_interrupt() briefly enables interrupts between IPI operations to "let in any pending interrupts". That dates from commit 7085689ed135 ("[PARISC] Allow nested interrupts"), before commit e58aa3d2d0cc ("genirq: Run irq handlers with interrupts disabled") made every handler run with interrupts disabled. Enabling interrupts in hardirq context lets other interrupts nest on the IRQ stack, and lockdep rejects it: DEBUG_LOCKS_WARN_ON(lockdep_hardirq_context()) WARNING: kernel/locking/lockdep.c:4448 at lockdep_hardirqs_on_prepare+0x378/0x490, CPU#0: systemd-sysctl/993 ... Backtrace: trace_hardirqs_on+0x108/0x2dc ipi_interrupt+0x268/0x448 __handle_irq_event_percpu+0x10c/0x95c handle_irq_event_percpu+0x34/0xc8 handle_percpu_irq+0x10c/0x154 generic_handle_irq+0x64/0xb0 execute_on_irq_stack+0x88/0x100 do_cpu_irq_mask+0x408/0x5c8 intr_return+0x0/0xc Handle all pending IPIs with interrupts disabled. Fixes: 7085689ed135 ("[PARISC] Allow nested interrupts") Cc: stable@vger.kernel.org Signed-off-by: Matt Turner --- arch/parisc/kernel/smp.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/arch/parisc/kernel/smp.c b/arch/parisc/kernel/smp.c index 36be17e32948..a7c67032389b 100644 --- a/arch/parisc/kernel/smp.c +++ b/arch/parisc/kernel/smp.c @@ -181,12 +181,6 @@ ipi_interrupt(int irq, void *dev_id) this_cpu, which); return IRQ_NONE; } /* Switch */ - - /* before doing more, let in any pending interrupts */ - if (ops) { - local_irq_enable(); - local_irq_disable(); - } } /* while (ops) */ } return IRQ_HANDLED; -- 2.56.1