[PATCH 2/3] arm: pmu: support pmu irq routed from CTI

Will Deacon will.deacon at arm.com
Tue Mar 1 09:00:58 EST 2011


Hello,

> Subject: [PATCH 2/3] arm: pmu: support pmu irq routed from CTI
> 
> From: Ming Lei <tom.leiming at gmail.com>
> 
> This patch introduces pmu_platform_data struct to
> support pmu irq routed from CTI, such as implemented
> on OMAP4.
> 
> Generally speaking, clearing cti irq should be done in
> irq handler, also enabling cti module after calling
> request_irq and disabling cti module before calling
> free_irq.
> 
> Signed-off-by: Ming Lei <tom.leiming at gmail.com>
> ---
>  arch/arm/include/asm/pmu.h   |   12 ++++++++++
>  arch/arm/kernel/perf_event.c |   51 ++++++++++++++++++++++++++++++++++++-----
>  2 files changed, 56 insertions(+), 7 deletions(-)

This will conflict with the the ux500 PMU workaround:

http://lists.infradead.org/pipermail/linux-arm-kernel/2011-February/041145.html

Will






More information about the linux-arm-kernel mailing list