linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: mark.rutland@arm.com (Mark Rutland)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 0/7] ARM: perf: rework core into library
Date: Tue, 26 May 2015 17:23:33 +0100	[thread overview]
Message-ID: <1432657420-887-1-git-send-email-mark.rutland@arm.com> (raw)

This patch series refactors the ARM perf code, splitting out the various
PMU architecture variants and refactoring the core into a reusable
library that may be shared with arm64 in future. These patches alone
should not result in any functional change, though due to header file
changes a small amount of platform code needs to be updated.

This series applies atop of the series titled "ARM: perf: heterogeneous
PMU support", previously posted to lakml [1].

Thanks,
Mark.

[1] http://lists.infradead.org/pipermail/linux-arm-kernel/2015-May/343144.html

Mark Rutland (7):
  arm: perf: kill off unused pm callbacks
  arm: perf: share arm_pmu_device_probe
  arm: perf: factor out xscale pmu driver
  arm: perf: factor out armv6 pmu driver
  arm: perf: factor out armv7 pmu driver
  arm: perf: unify perf_event{,_cpu}.c
  arm: perf: factor arm_pmu core out to drivers

 arch/arm/Kconfig                                   |   8 +-
 arch/arm/kernel/Makefile                           |   3 +-
 arch/arm/kernel/perf_event_cpu.c                   | 422 ---------------------
 arch/arm/kernel/perf_event_v6.c                    |  49 ++-
 arch/arm/kernel/perf_event_v7.c                    |  77 ++--
 arch/arm/kernel/perf_event_xscale.c                |  32 +-
 arch/arm/mach-ux500/cpu-db8500.c                   |   2 +-
 drivers/Kconfig                                    |   2 +
 drivers/Makefile                                   |   1 +
 drivers/perf/Kconfig                               |  14 +
 drivers/perf/Makefile                              |   1 +
 .../kernel/perf_event.c => drivers/perf/arm_pmu.c  | 375 ++++++++++++++++--
 .../asm/pmu.h => include/linux/perf/arm_pmu.h      |  22 +-
 13 files changed, 466 insertions(+), 542 deletions(-)
 delete mode 100644 arch/arm/kernel/perf_event_cpu.c
 create mode 100644 drivers/perf/Kconfig
 create mode 100644 drivers/perf/Makefile
 rename arch/arm/kernel/perf_event.c => drivers/perf/arm_pmu.c (64%)
 rename arch/arm/include/asm/pmu.h => include/linux/perf/arm_pmu.h (84%)

-- 
1.9.1

             reply	other threads:[~2015-05-26 16:23 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-26 16:23 Mark Rutland [this message]
2015-05-26 16:23 ` [PATCH 1/7] arm: perf: kill off unused pm callbacks Mark Rutland
2015-05-26 16:23 ` [PATCH 2/7] arm: perf: share arm_pmu_device_probe Mark Rutland
2015-05-26 16:23 ` [PATCH 3/7] arm: perf: factor out xscale pmu driver Mark Rutland
2015-05-26 16:23 ` [PATCH 4/7] arm: perf: factor out armv6 " Mark Rutland
2015-05-26 16:23 ` [PATCH 5/7] arm: perf: factor out armv7 " Mark Rutland
2015-05-26 16:23 ` [PATCH 6/7] arm: perf: unify perf_event{,_cpu}.c Mark Rutland
2015-05-26 16:23 ` [PATCH 7/7] arm: perf: factor arm_pmu core out to drivers Mark Rutland
2015-05-28 15:47   ` Will Deacon

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=1432657420-887-1-git-send-email-mark.rutland@arm.com \
    --to=mark.rutland@arm.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).