[PATCH 2/3] arm: pmu: support pmu irq routed from CTI
Ming Lei
tom.leiming at gmail.com
Tue Mar 1 10:31:46 EST 2011
Hi,
2011/3/1 Will Deacon <will.deacon at arm.com>:
> 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
Thanks for your pointing out it.
I will send out -v1 of these patches against the latest -next tree.
thanks,
--
Lei Ming
More information about the linux-arm-kernel
mailing list