linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [patch v2 0/3] arm: pmu: support pmu/perf on OMAP4
@ 2011-03-02 10:56 tom.leiming at gmail.com
  2011-03-02 10:56 ` [patch v2 1/3] arm: introduce cross trigger interface helpers tom.leiming at gmail.com
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: tom.leiming at gmail.com @ 2011-03-02 10:56 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.

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    |  177 +++++++++++++++++++++++++++++++++++++++++
 arch/arm/include/asm/pmu.h    |   15 +++-
 arch/arm/kernel/perf_event.c  |   15 +++-
 arch/arm/mach-omap2/dbg44xx.h |   18 ++++
 arch/arm/mach-omap2/devices.c |   83 ++++++++++++++++++-
 5 files changed, 299 insertions(+), 9 deletions(-)

thanks,
--
Lei Ming

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

end of thread, other threads:[~2011-03-02 15:46 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-02 10:56 [patch v2 0/3] arm: pmu: support pmu/perf on OMAP4 tom.leiming at gmail.com
2011-03-02 10:56 ` [patch v2 1/3] arm: introduce cross trigger interface helpers tom.leiming at gmail.com
2011-03-02 10:56 ` [patch v2 2/3] arm: pmu: allow platform specifc irq enable/disable handling tom.leiming at gmail.com
2011-03-02 12:10   ` Will Deacon
     [not found]   ` <-3190832915456449126@unknownmsgid>
2011-03-02 14:35     ` Ming Lei
2011-03-02 15:46       ` Will Deacon
2011-03-02 10:57 ` [patch v2 3/3] arm: omap4: support pmu tom.leiming at gmail.com
2011-03-02 12:43   ` Santosh Shilimkar

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).