mirror of https://github.com/torvalds/linux.git
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
This commit is contained in:
parent
f8112d29ba
commit
4cdf4813f5
|
|
@ -1494,7 +1494,8 @@ static int arm_trbe_probe_irq(struct platform_device *pdev,
|
|||
if (!drvdata->handle)
|
||||
return -ENOMEM;
|
||||
|
||||
ret = request_percpu_irq(drvdata->irq, arm_trbe_irq_handler, DRVNAME, drvdata->handle);
|
||||
ret = request_percpu_irq_affinity(drvdata->irq, arm_trbe_irq_handler, DRVNAME,
|
||||
affinity, drvdata->handle);
|
||||
if (ret) {
|
||||
free_percpu(drvdata->handle);
|
||||
return ret;
|
||||
|
|
|
|||
Loading…
Reference in New Issue