aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/mem-phys-addr.py
diff options
context:
space:
mode:
authorNicholas Piggin <[email protected]>2022-09-26 15:43:05 +1000
committerMichael Ellerman <[email protected]>2022-09-28 19:22:11 +1000
commit1da5351f9eb9b72a7d25316b4d38bf10b6e671b1 (patch)
tree398ff1eae4aa5583d3f7dd266fa8ce15083ab503 /tools/perf/scripts/python/mem-phys-addr.py
parentf7bff6e7759b1abb59334f6448f9ef3172c4c04a (diff)
powerpc/64/irq: tidy soft-masked irq replay and improve documentation
irq replay is quite complicated because of softirq processing which itself enables and disables irqs. Several considerations need to be accounted for due to this, and they are not clearly documented. Refactor the irq replay code a bit to tidy and deduplicate some common functions. Add comments, debug checks. This has a minor functional change that irq tracing enable/disable is done after each interrupt replayed, rather than after a batch. It also re-sets state to IRQS_ALL_DISABLED after an interrupt, which doesn't matter much because interrupts are hard disabled at this point, but it is more consistent with how interrupt handlers are called. Signed-off-by: Nicholas Piggin <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions