diff options
author | Mark Rutland <mark.rutland@arm.com> | 2017-03-10 13:46:14 +0300 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2017-03-31 20:20:02 +0300 |
commit | 7ed98e0168bd23d8ea3294e95254cc5b4000c948 (patch) | |
tree | 7e8de90dca98d514bde6ec83674188f8cefca897 /include/crypto/chacha20.h | |
parent | 2681f0184276d7fc934b6866a5a267f5b3369f7d (diff) | |
download | linux-7ed98e0168bd23d8ea3294e95254cc5b4000c948.tar.xz |
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>
Diffstat (limited to 'include/crypto/chacha20.h')
0 files changed, 0 insertions, 0 deletions