[SRU][G/linux-oracle][PATCH 13/18] Perf: arm-cmn: Allow irq to be shared.
Khalid Elmously
khalid.elmously at canonical.com
Fri May 21 07:00:37 UTC 2021
From: Tuan Phan <tphan at amperecomputing.com>
BugLink: https://bugs.launchpad.net/bugs/1925421
Multiple sockets can share a same pmu interrupts.
Signed-off-by: Tuan Phan <tphan at amperecomputing.com>
(backported from commit 19a1b3868b040d9c444719eccc6ede39e5bd0857 https://github.com/AmpereComputing/ampere-centos-kernel)
[ kmously: The code we're looking for moved from
arm_cmn_init_pmu() to arm_cmn_init_irqs() ]
Signed-off-by: Khalid Elmously <khalid.elmously at canonical.com>
---
drivers/perf/arm-cmn.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/perf/arm-cmn.c b/drivers/perf/arm-cmn.c
index e824b5b83ea2..92dbea6633bc 100644
--- a/drivers/perf/arm-cmn.c
+++ b/drivers/perf/arm-cmn.c
@@ -1215,7 +1215,7 @@ static int arm_cmn_init_irqs(struct arm_cmn *cmn)
}
}
err = devm_request_irq(cmn->dev, irq, arm_cmn_handle_irq,
- IRQF_NOBALANCING | IRQF_NO_THREAD,
+ IRQF_NOBALANCING | IRQF_NO_THREAD | IRQF_SHARED,
dev_name(cmn->dev), &cmn->dtc[i]);
if (err)
return err;
--
2.17.1
More information about the kernel-team
mailing list