[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230601030144.3458136-3-ilkka@os.amperecomputing.com>
Date: Wed, 31 May 2023 20:01:41 -0700
From: Ilkka Koskinen <ilkka@...amperecomputing.com>
To: Jonathan Corbet <corbet@....net>, Will Deacon <will@...nel.org>,
Mark Rutland <mark.rutland@....com>,
Besar Wicaksono <bwicaksono@...dia.com>,
Suzuki K Poulose <suzuki.poulose@....com>,
Robin Murphy <robin.murphy@....com>
Cc: linux-doc@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org,
Ilkka Koskinen <ilkka@...amperecomputing.com>
Subject: [PATCH v2 2/5] perf: arm_cspmu: Support shared interrupts
Some of the PMUs may share the interrupt. Support them by
setting IRQF_SHARED
Signed-off-by: Ilkka Koskinen <ilkka@...amperecomputing.com>
---
drivers/perf/arm_cspmu/arm_cspmu.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/perf/arm_cspmu/arm_cspmu.c b/drivers/perf/arm_cspmu/arm_cspmu.c
index 88547a2b73e6..cc5204d1b5fb 100644
--- a/drivers/perf/arm_cspmu/arm_cspmu.c
+++ b/drivers/perf/arm_cspmu/arm_cspmu.c
@@ -1067,8 +1067,8 @@ static int arm_cspmu_request_irq(struct arm_cspmu *cspmu)
return irq;
ret = devm_request_irq(dev, irq, arm_cspmu_handle_irq,
- IRQF_NOBALANCING | IRQF_NO_THREAD, dev_name(dev),
- cspmu);
+ IRQF_NOBALANCING | IRQF_NO_THREAD | IRQF_SHARED,
+ dev_name(dev), cspmu);
if (ret) {
dev_err(dev, "Could not request IRQ %d\n", irq);
return ret;
--
2.40.1
Powered by blists - more mailing lists