]> git.baikalelectronics.ru Git - kernel.git/commit
mailbox: qcom-ipcc: flag IRQ NO_THREAD
authorEric Chanudet <echanude@redhat.com>
Mon, 3 Oct 2022 17:08:49 +0000 (13:08 -0400)
committerJassi Brar <jaswinder.singh@linaro.org>
Thu, 6 Oct 2022 02:51:58 +0000 (21:51 -0500)
commitc0e610fce3d3639387bcd700cc2f8fb541c5b663
treee50c1201e4a83a3d7e332ced1ba6ca7c2ee54c72
parent99342238afbc2a7ef56e9312e7e3a60484e3c7ad
mailbox: qcom-ipcc: flag IRQ NO_THREAD

PREEMPT_RT forces qcom-ipcc's handler to be threaded with interrupts
enabled, which triggers a warning in __handle_irq_event_percpu():
    irq 173 handler irq_default_primary_handler+0x0/0x10 enabled interrupts
    WARNING: CPU: 0 PID: 77 at kernel/irq/handle.c:161 __handle_irq_event_percpu+0x4c4/0x4d0

Mark it IRQF_NO_THREAD to avoid running the handler in a threaded
context with threadirqs or PREEMPT_RT enabled.

Signed-off-by: Eric Chanudet <echanude@redhat.com>
Acked-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
drivers/mailbox/qcom-ipcc.c