linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: tom.leiming@gmail.com (tom.leiming at gmail.com)
To: linux-arm-kernel@lists.infradead.org
Subject: [patch v4 0/3] arm: pmu: support pmu/perf on OMAP4
Date: Tue,  8 Mar 2011 23:38:46 +0800	[thread overview]
Message-ID: <1299598729-27974-1-git-send-email-tom.leiming@gmail.com> (raw)

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

             reply	other threads:[~2011-03-08 15:38 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-08 15:38 tom.leiming at gmail.com [this message]
2011-03-08 15:38 ` [patch v4 1/3] arm: introduce cross trigger interface helpers tom.leiming at gmail.com
2011-03-08 16:31   ` Ben Dooks
2011-03-24 14:41     ` Ming Lei
2011-03-09  5:38   ` Santosh Shilimkar
2011-03-08 15:38 ` [patch v4 2/3] arm: pmu: allow platform specific irq enable/disable handling tom.leiming at gmail.com
2011-03-08 15:38 ` [patch v4 3/3] arm: omap4: support pmu tom.leiming at gmail.com
2011-05-14  8:18   ` Rabin Vincent
2011-05-14  8:48     ` Ming Lei
2011-05-14  9:49       ` Russell King - ARM Linux
2011-05-15 14:16       ` Will Deacon
2011-05-16  1:28         ` Ming Lei

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1299598729-27974-1-git-send-email-tom.leiming@gmail.com \
    --to=tom.leiming@gmail.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).