linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v5 0/7] arm: pmu: support pmu/perf on OMAP4
@ 2011-10-24 14:45 ming.lei at canonical.com
  2011-10-24 14:45 ` [PATCH v5 1/7] arm: introduce cross trigger interface helpers ming.lei at canonical.com
                   ` (6 more replies)
  0 siblings, 7 replies; 46+ messages in thread
From: ming.lei at canonical.com @ 2011-10-24 14:45 UTC (permalink / raw)
  To: linux-arm-kernel

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.

v5:
	- build pmu device from hwmod
	- support runtime pm

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               |   20 +++-
 arch/arm/kernel/pmu.c                      |   12 ++-
 arch/arm/mach-omap2/devices.c              |  126 +++++++++++++++++++-
 arch/arm/mach-omap2/omap_hwmod_44xx_data.c |   26 ++++
 arch/arm/plat-omap/include/plat/omap44xx.h |    3 +
 7 files changed, 367 insertions(+), 14 deletions(-)

thanks,
--
Lei Ming

^ permalink raw reply	[flat|nested] 46+ messages in thread

end of thread, other threads:[~2011-11-30 16:20 UTC | newest]

Thread overview: 46+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-24 14:45 [PATCH v5 0/7] arm: pmu: support pmu/perf on OMAP4 ming.lei at canonical.com
2011-10-24 14:45 ` [PATCH v5 1/7] arm: introduce cross trigger interface helpers ming.lei at canonical.com
2011-10-24 14:45 ` [PATCH v5 2/7] arm: pmu: allow platform specific irq enable/disable handling ming.lei at canonical.com
2011-11-01  3:26   ` Ming Lei
2011-11-01 12:52     ` Will Deacon
2011-10-24 14:45 ` [PATCH v5 3/7] arm: perf: support device with other non-irq resources ming.lei at canonical.com
2011-10-24 15:08   ` Will Deacon
2011-10-25  1:09     ` Ming Lei
2011-10-25  8:34       ` Will Deacon
2011-10-25  8:44         ` Paul Walmsley
2011-10-25 10:23           ` Ming Lei
2011-10-25 11:00             ` Paul Walmsley
2011-11-08  9:25               ` Ming Lei
2011-11-08 12:17                 ` Will Deacon
2011-10-24 14:45 ` [PATCH v5 4/7] arm: omap4: hwmod: introduce emu hwmod ming.lei at canonical.com
2011-11-08 15:26   ` Paul Walmsley
2011-11-09  9:56     ` Ming Lei
2011-11-10  9:02       ` Paul Walmsley
2011-11-11 11:41         ` Will Deacon
2011-11-11 11:47           ` Jamie Iles
2011-11-11 11:59             ` Will Deacon
2011-11-11 14:56             ` Cousson, Benoit
2011-11-11 14:58               ` Will Deacon
2011-11-11 15:12                 ` Cousson, Benoit
2011-11-11 15:22                   ` Will Deacon
2011-11-18 12:58         ` Cousson, Benoit
2011-11-18 14:56           ` Will Deacon
2011-11-19 14:42             ` Ming Lei
2011-11-20  3:27               ` Paul Walmsley
2011-11-21 13:58                 ` Will Deacon
2011-11-21 14:53                   ` Ming Lei
2011-11-21 15:16                     ` Will Deacon
2011-11-21 15:30                       ` Ming Lei
2011-11-19 14:37           ` Ming Lei
2011-11-27  1:58           ` Paul Walmsley
2011-11-27  2:07             ` Paul Walmsley
2011-11-29 16:19               ` Cousson, Benoit
2011-11-29 18:11                 ` Paul Walmsley
2011-11-30 16:20                   ` Cousson, Benoit
2011-11-08 15:42   ` Paul Walmsley
2011-11-09 11:33     ` Ming Lei
2011-10-24 14:45 ` [PATCH v5 5/7] arm: omap4: create pmu device via hwmod ming.lei at canonical.com
2011-10-24 14:45 ` [PATCH v5 6/7] arm: omap4: support pmu ming.lei at canonical.com
2011-11-23 17:47   ` Rabin Vincent
2011-11-25  0:37     ` Ming Lei
2011-10-24 14:45 ` [PATCH v5 7/7] arm: omap4: pmu: support runtime pm ming.lei at canonical.com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).