Hi Viresh,
Please pull the following changes(v2) for the multiple CPU PMU support (re-based to v3.6).
Changes v1->v2: 1. Incorporated review comments from Will for few patches(which he will be queuing for v3.8) 2. Dropped "ARM: perf: register the init functions with the bindings", still looking for alternate to list in implementation. 3. Added per-process event tracking support on multi-PMUs. Re-factored the original patch "ARM: perf: add support for per-cluster/multiple PMUs" 4. Fixed the bug reported by Tixy for non-FDT case
----------------------------------------------------------------
The following changes since commit a0d271cbfed1dd50278c6b06bead3d00ba0a88f9:
Linux 3.6 (2012-09-30 16:47:46 -0700)
are available in the git repository at:
ssh://username@pdsw-ci.cambridge.arm.com:29418/kernel.git multi_pmu_v2
for you to fetch changes up to bd7fc4c65bd8ed994ded5aa0feeef91190fbd7be:
ARM: perf: save/restore pmu registers in pm notifier (2012-10-09 18:20:45 +0100)
---------------------------------------------------------------- Axel Lin (1): ARM: ux500: Fix build error due to missing include of asm/pmu.h in cpu-db8500.c
Jon Hunter (1): ARM: PMU: Add runtime PM Support
Lorenzo Pieralisi (1): ARM: kernel: provide cluster to logical cpu mask mapping API
Marc Zyngier (1): ARM: perf: add guest vs host discrimination
Mark Rutland (1): ARM: perf: register cpu_notifier at driver init
Sudeep KarkadaNagesha (11): ARM: pmu: remove arm_pmu_type enumeration ARM: perf: move irq registration into pmu implementation ARM: perf: allocate CPU PMU dynamically at probe time ARM: perf: consistently use struct perf_event in arm_pmu functions ARM: perf: check ARMv7 counter validity on a per-pmu basis ARM: perf: replace global CPU PMU pointer with per-cpu pointers ARM: perf: register CPU PMUs with idr types ARM: perf: set cpu affinity to support multiple PMUs ARM: perf: set cpu affinity for the irqs correctly ARM: perf: remove spaces in CPU PMU names ARM: perf: save/restore pmu registers in pm notifier
Will Deacon (8): ARM: perf: add devicetree bindings for 11MPcore, A5, A7 and A15 PMUs ARM: pmu: remove unused reservation mechanism ARM: perf: remove mysterious compiler barrier ARM: perf: probe devicetree in preference to current CPU ARM: perf: prepare for moving CPU PMU code into separate file ARM: perf: move CPU-specific PMU handling code into separate file ARM: perf: return NOTIFY_DONE from cpu notifier when no available PMU ARM: perf: consistently use arm_pmu->name for PMU name
Documentation/devicetree/bindings/arm/pmu.txt | 7 + MAINTAINERS | 1 - arch/arm/Kconfig | 8 +- arch/arm/include/asm/perf_event.h | 14 +- arch/arm/include/asm/pmu.h | 111 +++---- arch/arm/include/asm/topology.h | 3 + arch/arm/kernel/Makefile | 3 +- arch/arm/kernel/perf_event.c | 444 +++++++------------------ arch/arm/kernel/perf_event_cpu.c | 380 +++++++++++++++++++++ arch/arm/kernel/perf_event_v6.c | 134 ++++---- arch/arm/kernel/perf_event_v7.c | 307 +++++++++-------- arch/arm/kernel/perf_event_xscale.c | 163 ++++----- arch/arm/kernel/pmu.c | 36 -- arch/arm/kernel/topology.c | 27 ++ arch/arm/mach-bcmring/arch.c | 3 +- arch/arm/mach-omap2/devices.c | 3 +- arch/arm/mach-pxa/devices.c | 3 +- arch/arm/mach-realview/realview_eb.c | 3 +- arch/arm/mach-realview/realview_pb1176.c | 3 +- arch/arm/mach-realview/realview_pb11mp.c | 3 +- arch/arm/mach-realview/realview_pba8.c | 3 +- arch/arm/mach-realview/realview_pbx.c | 3 +- arch/arm/mach-tegra/devices.c | 3 +- arch/arm/mach-ux500/cpu-db8500.c | 4 +- arch/arm/mach-vexpress/ct-ca9x4.c | 3 +- arch/arm/plat-iop/pmu.c | 3 +- arch/arm/plat-samsung/devs.c | 3 +- 27 files changed, 942 insertions(+), 736 deletions(-) create mode 100644 arch/arm/kernel/perf_event_cpu.c delete mode 100644 arch/arm/kernel/pmu.c
-- IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.