Skip to content

Commit 4cdf481

Browse files
Marc ZyngierKAGA-KOKO
authored andcommitted
coresight: trbe: Request specific affinities for per CPU interrupts
Let the TRBE driver request interrupts with an affinity mask matching the TRBE implementation affinity. Signed-off-by: Marc Zyngier <maz@kernel.org> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Tested-by: Will Deacon <will@kernel.org> Acked-by: Suzuki K Poulose <suzuki.poulose@arm.com> Link: https://patch.msgid.link/20251020122944.3074811-21-maz@kernel.org
1 parent f8112d2 commit 4cdf481

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

drivers/hwtracing/coresight/coresight-trbe.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1494,7 +1494,8 @@ static int arm_trbe_probe_irq(struct platform_device *pdev,
14941494
if (!drvdata->handle)
14951495
return -ENOMEM;
14961496

1497-
ret = request_percpu_irq(drvdata->irq, arm_trbe_irq_handler, DRVNAME, drvdata->handle);
1497+
ret = request_percpu_irq_affinity(drvdata->irq, arm_trbe_irq_handler, DRVNAME,
1498+
affinity, drvdata->handle);
14981499
if (ret) {
14991500
free_percpu(drvdata->handle);
15001501
return ret;

0 commit comments

Comments
 (0)