[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Fri, 9 Sep 2022 12:20:43 -0400
From: Eric Chanudet <echanude@...hat.com>
To: Andy Gross <agross@...nel.org>,
Bjorn Andersson <bjorn.andersson@...aro.org>,
Manivannan Sadhasivam <mani@...nel.org>,
Jassi Brar <jassisinghbrar@...il.com>
Cc: linux-arm-msm@...r.kernel.org, linux-rt-users@...r.kernel.org,
linux-kernel@...r.kernel.org, Eric Chanudet <echanude@...hat.com>
Subject: [PATCH] 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.
Signed-off-by: Eric Chanudet <echanude@...hat.com>
---
drivers/mailbox/qcom-ipcc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/mailbox/qcom-ipcc.c b/drivers/mailbox/qcom-ipcc.c
index 31d58b7d55fe..be803f324a33 100644
--- a/drivers/mailbox/qcom-ipcc.c
+++ b/drivers/mailbox/qcom-ipcc.c
@@ -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;
--
2.37.3
Powered by blists - more mailing lists