diff options
author | Julien Thierry <[email protected]> | 2020-09-24 12:07:05 +0100 |
---|---|---|
committer | Will Deacon <[email protected]> | 2020-09-28 19:00:17 +0100 |
commit | f76b130bdb8949eac002b8e0ddb85576ed137838 (patch) | |
tree | 887167dc1c07521340b6825804bb13c63bf36a3b /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 95e92e45a454a10a8114294d0f7aec930fb85891 (diff) |
arm_pmu: Introduce pmu_irq_ops
Currently the PMU interrupt can either be a normal irq or a percpu irq.
Supporting NMI will introduce two cases for each existing one. It becomes
a mess of 'if's when managing the interrupt.
Define sets of callbacks for operations commonly done on the interrupt. The
appropriate set of callbacks is selected at interrupt request time and
simplifies interrupt enabling/disabling and freeing.
Signed-off-by: Julien Thierry <[email protected]>
Signed-off-by: Alexandru Elisei <[email protected]>
Tested-by: Sumit Garg <[email protected]> (Developerbox)
Cc: Julien Thierry <[email protected]>
Cc: Will Deacon <[email protected]>
Cc: Mark Rutland <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions