Skip to content

arm: support pmu irq routed from CTI

tom.leiming at gmail.com linux-arm-kernel linux-omap 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3arm: introduce cross trigger interface helpersarch/arm/include/asm/cti.h+177 -00 replies
2/3arm: pmu: support pmu irq routed from CTIarch/arm/include/asm/pmu.h arch/arm/kernel/perf_event.c+56 -71 reply
2/3arm: pmu: support pmu irq routed from CTI+0 -00 replies
3/3arm: omap4: support pmuarch/arm/mach-omap2/devices.c+53 -11 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] arm: support pmu irq routed from CTI

Hi,

This patches support pmu irq routed from CTI, such as implemented on OMAP4:

- introduce some CTI helpers and registers' definition
- introduce platform_data to pmu driver, so perf irq handler can handle irq correctly if it is routed from CTI
- configure CTI on OMAP4 so that perf can work on OMAP4

The patches have been tested Ok on Pandaboard, and 'perf' does work after applying them.

 arch/arm/include/asm/cti.h    |  177 +++++++++++++++++++++++++++++++++++++++++
 arch/arm/include/asm/pmu.h    |   12 +++
 arch/arm/kernel/perf_event.c  |   51 ++++++++++--
 arch/arm/mach-omap2/devices.c |   54 ++++++++++++-
 4 files changed, 286 insertions(+), 8 deletions(-)

thanks,
Ming Lei