* [PATCH 3/4] PCI: exynos: Mark the msi cascade handler IRQF_NO_THREAD
[not found] <1437715776-2243-1-git-send-email-haokexin@gmail.com>
@ 2015-07-24 5:29 ` Kevin Hao
0 siblings, 0 replies; only message in thread
From: Kevin Hao @ 2015-07-24 5:29 UTC (permalink / raw)
To: Bjorn Helgaas
Cc: linux-pci, Jingoo Han, Kukjin Kim, Krzysztof Kozlowski,
linux-samsung-soc
The cascade handler must run in hard interrupt context, otherwise
it will cause dead lock if we force threading of all the interrupt
handlers via kernel command parameter "threadirqs".
Signed-off-by: Kevin Hao <haokexin@gmail.com>
---
drivers/pci/host/pci-exynos.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/pci/host/pci-exynos.c b/drivers/pci/host/pci-exynos.c
index f9f468d9a819..7b6be7791d33 100644
--- a/drivers/pci/host/pci-exynos.c
+++ b/drivers/pci/host/pci-exynos.c
@@ -523,7 +523,8 @@ static int __init exynos_add_pcie_port(struct pcie_port *pp,
ret = devm_request_irq(&pdev->dev, pp->msi_irq,
exynos_pcie_msi_irq_handler,
- IRQF_SHARED, "exynos-pcie", pp);
+ IRQF_SHARED | IRQF_NO_THREAD,
+ "exynos-pcie", pp);
if (ret) {
dev_err(&pdev->dev, "failed to request msi irq\n");
return ret;
--
2.1.0
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2015-07-24 5:30 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <1437715776-2243-1-git-send-email-haokexin@gmail.com>
2015-07-24 5:29 ` [PATCH 3/4] PCI: exynos: Mark the msi cascade handler IRQF_NO_THREAD Kevin Hao
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox