]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: perf: move irq registration into pmu implementation
authorSudeep KarkadaNagesha <Sudeep.KarkadaNagesha@arm.com>
Tue, 31 Jul 2012 09:34:25 +0000 (10:34 +0100)
committerWill Deacon <will.deacon@arm.com>
Thu, 23 Aug 2012 10:35:52 +0000 (11:35 +0100)
commite1774e28dab8810243c9c32e8876a78bda12f131
treeb9f10b81ace1d986a01c28afddec1f2cc8028e66
parent33f872f71918dad6facd6d21a0eae41bede9da55
ARM: perf: move irq registration into pmu implementation

This patch moves the CPU-specific IRQ registration and parsing code into
the CPU PMU backend. This is required because a PMU may have more than
one interrupt, which in turn can be either PPI (per-cpu) or SPI
(requiring strict affinity setting at the interrupt distributor).

Signed-off-by: Sudeep KarkadaNagesha <Sudeep.KarkadaNagesha@arm.com>
[will: cosmetic edits and reworked interrupt dispatching]
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm/include/asm/pmu.h
arch/arm/kernel/perf_event.c
arch/arm/kernel/perf_event_cpu.c