linux-stable/drivers/perf
Mark Rutland 7ed98e0168 drivers/perf: arm_pmu: manage interrupts per-cpu
When requesting or freeing interrupts, we use platform_get_irq() to find
relevant irqs, backing this up with additional information in an
optional irq_affinity table.

This means that our irq request and free paths are tied to a
platform_device, and our request path must jump through a number of
hoops in order to determine the required affinity of each interrupt.

Given that the affinity must be static, we can compute the affinity once
up-front at probe time, simplifying the irq request and free paths. By
recording interrupts in a per-cpu data structure, we simplify a few
paths, and permit a subsequent rework of the request and free paths.

Signed-off-by: Mark Rutland <mark.rutland@arm.com>
[will: rename local nr_irqs variable to avoid conflict with global]
Signed-off-by: Will Deacon <will.deacon@arm.com>
2017-03-31 18:20:02 +01:00
..
arm_pmu.c drivers/perf: arm_pmu: manage interrupts per-cpu 2017-03-31 18:20:02 +01:00
Kconfig perf: add qcom l2 cache perf events driver 2017-02-08 19:32:24 +00:00
Makefile perf: add qcom l2 cache perf events driver 2017-02-08 19:32:24 +00:00
qcom_l2_pmu.c perf: add qcom l2 cache perf events driver 2017-02-08 19:32:24 +00:00
xgene_pmu.c perf: xgene: Include module.h 2017-02-03 18:46:47 +00:00