Thread (1 message) 1 message, 1 author, 2011-03-01

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

flat view
DORMANTno replies

From: Ming Lei <tom.leiming@gmail.com>
Date: 2011-03-01 15:31:46

Hi,

2011/3/1 Will Deacon [off-list ref]:
Hello,
quoted
Subject: [PATCH 2/3] arm: pmu: support pmu irq routed from CTI

From: Ming Lei <tom.leiming@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@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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help