]> git.karo-electronics.de Git - karo-tx-linux.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>
Mon, 13 Aug 2012 14:58:29 +0000 (15:58 +0100)
commitfc70ee0062032c95b9c489b16692988005ae9854
treefcbbbc92b74b37479cbafc444d715076e3adf2da
parent2251826edc81959fcc80e13ffa903c267ea78c83
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