Re: [PATCH 2/2] arm: pmu: add support for per-cpu PMU interrupts.
From: Will Deacon
Date: Mon Jul 30 2012 - 12:37:13 EST
Hi Chris,
On Mon, Jul 30, 2012 at 03:32:12PM +0100, Chris Smith wrote:
> We have systems where the PMU interrupts are PPIs, and so per-cpu. This
> patch adds support for per-cpu PMU interrupts to the perf event code.
>
> Note that because the dev_id passed to request_percpu_irq has to be
> percpu data, we now pass cpu_hw_events as the dev_id rather than armpmu.
> This only place the dev_id was used was in armpmu_platform_irq, which is
> fixed up accordingly.
>
> Signed-off-by: Chris Smith <chris.smith@xxxxxx>
> ---
I'm actually in the process of moving request/free IRQ into an armpmu
callback, so this patch would fit more neatly into that.
I should have something available this week that you can take a look at.
Will
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/