mailbox: qcom-ipcc: Use generic_handle_irq_safe()
Subsystems (3)
PATCH 1/1 mailbox: qcom-ipcc: Use generic_handle_irq_safe()
PREEMPT_RT forces qcom-ipcc's handler to be threaded with interrupts enabled, which triggers a warning in __handle_irq_event_percpu().
Use generic_handle_irq_safe() that can be called with or without interrupts enabled instead.
--- drivers/mailbox/qcom-ipcc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/mailbox/qcom-ipcc.c +1 -1
@@ -82,7 +82,7 @@ static irqreturn_t qcom_ipcc_irq_fn(int irq, void *data) virq =irq_find_mapping (ipcc->irq_domain, hwirq);writel (hwirq, ipcc->base +IPCC_REG_RECV_SIGNAL_CLEAR ); -generic_handle_irq (virq); +generic_handle_irq_safe (virq); }return IRQ_HANDLED ;
Signature · 1 line
2.37.3
Quoted 5 lines · Eric Chanudet
PREEMPT_RTforces qcom-ipcc's handler to be threaded with interrupts enabled, which triggers a warning in__handle_irq_event_percpu().Use
generic_handle_irq_safe()that can be called with or without interrupts enabled instead.
wouldn't IRQF_NO_THREAD be a better match here?
Quoted 1 line
Signed-off-by Eric Chanudet <[email protected]>
Sebastian
Quoted 8 lines · Sebastian Andrzej Siewior
Quoted 5 lines · Eric Chanudet
PREEMPT_RTforces qcom-ipcc's handler to be threaded with interrupts enabled, which triggers a warning in__handle_irq_event_percpu().Use
generic_handle_irq_safe()that can be called with or without interrupts enabled instead.wouldn't
IRQF_NO_THREADbe a better match here?
Agreed, my apologies for the delay:
https://lore.kernel.org/linux-arm-msm/[email protected]/
Thanks,
Signature · 1 line
Eric Chanudet