Re: [PATCH v2 20/25] coresight: trbe: Request specific affinities for percpu IRQ

Suzuki K Poulose
2025-09-15T09:37:18Z

On 15/09/2025 09:56, Marc Zyngier wrote:
> Let the TRBE driver request IRQs with an affinity mask matching
> the TRBE implementation affinity.
>
> Signed-off-by: Marc Zyngier <maz@kernel.org>
> ---
> drivers/hwtracing/coresight/coresight-trbe.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/hwtracing/coresight/coresight-trbe.c b/drivers/hwtracing/coresight/coresight-trbe.c
> index c512f8faa6012..4a84a6bc2e8fc 100644
> --- a/drivers/hwtracing/coresight/coresight-trbe.c
> +++ b/drivers/hwtracing/coresight/coresight-trbe.c
> @@ -1492,7 +1492,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;

Acked-by: Suzuki K Poulose <suzuki.poulose@arm.com>