Skip to content

arm: pmu: support pmu/perf on OMAP4

tom.leiming at gmail.com linux-arm-kernel linux-omap 4 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest3 patches 0 repliesNew
  2. v33 patches 0 repliesSuperseded
  3. v23 patches 0 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v13 patches0 repliesSuperseded

Changes in v4 from the cover letter

- some minor fix(add __iomem, comments, checkpatch warning...)

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3arm: introduce cross trigger interface helpersarch/arm/include/asm/cti.h+179 -02 replies
1/3arm: introduce cross trigger interface helpers+0 -00 replies
2/3arm: pmu: allow platform specific irq enable/disable handlingarch/arm/include/asm/pmu.h arch/arm/kernel/perf_event.c+24 -60 replies
3/3arm: omap4: support pmuarch/arm/mach-omap2/devices.c arch/arm/plat-omap/include/plat/omap44xx.h+81 -31 reply
3/3arm: omap4: support pmu+0 -02 replies
3/3arm: omap4: support pmu+0 -00 replies

Reviews trailers per patch

All 6 patches have a Reviewed-by or Acked-by.

PatchJean PihetWill DeaconTony LindgrenSantosh Shilimkar
1/3A-b A-b
1/3A-b A-b
2/3A-b R-b
3/3A-b A-b A-b
3/3A-b A-b A-b
3/3A-b A-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v4 thread

Cover letter [patch v4 0/3] arm: pmu: support pmu/perf on OMAP4

Hi,

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

- introduce some CTI helpers and registers' definition
- introduce .enable_irq and .disable_irq into platform_data, so perf irq handler can handle irq correctly if it is routed from CTI on OMAP4
- 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.

v4:
- some minor fix(add __iomem, comments, checkpatch warning...)

v3:
- fix typo of patch 2/3 title, pointed by Will
- move cti addresses to plat/omap44xx.h, suggested by Santosh Shilimkar

v2:
- move cti related code out of perf_event.c
- introduce .enable_irq and .disable_irq into platform_data as suggested by Will.

v1:
- rebase the patch set against 2.6.38-rc6-next-20110301, fix conflicts, which is pointed out by Will Deacon

 arch/arm/include/asm/cti.h                 |  179 ++++++++++++++++++++++++++++
 arch/arm/include/asm/pmu.h                 |   15 ++-
 arch/arm/kernel/perf_event.c               |   15 ++-
 arch/arm/mach-omap2/devices.c              |   82 ++++++++++++-
 arch/arm/plat-omap/include/plat/omap44xx.h |    2 +
 5 files changed, 284 insertions(+), 9 deletions(-)

thanks,
--
Lei Ming