aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorMarc Zyngier <[email protected]>2020-11-29 13:55:51 +0000
committerThomas Gleixner <[email protected]>2020-11-30 14:50:21 +0100
commit4615fbc3788ddc8e7c6d697714ad35a53729aa2c (patch)
tree50649ca2f69c587851d50af6e0fd820f1ba8ad92 /tools/perf/scripts/python/exported-sql-viewer.py
parent15b8d9372f27c47e17c91f6f16d359314cf11404 (diff)
genirq/irqdomain: Don't try to free an interrupt that has no mapping
When an interrupt allocation fails for N interrupts, it is pretty common for the error handling code to free the same number of interrupts, no matter how many interrupts have actually been allocated. This may result in the domain freeing code to be unexpectedly called for interrupts that have no mapping in that domain. Things end pretty badly. Instead, add some checks to irq_domain_free_irqs_hierarchy() to make sure that thiss does not follow the hierarchy if no mapping exists for a given interrupt. Fixes: 6a6544e520abe ("genirq/irqdomain: Remove auto-recursive hierarchy support") Signed-off-by: Marc Zyngier <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions