aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorMarc Zyngier <[email protected]>2020-01-22 13:53:44 +0000
committerMarc Zyngier <[email protected]>2020-01-22 14:21:07 +0000
commit093bf439fee0d40ade7e309c1288b409cdc3b38f (patch)
treea1f4a45affbd7df72750afa530b3e8e5703dc959 /tools/perf/scripts/python/export-to-sqlite.py
parent0f394daef89b38d58c91118a2b08b8a1b316703b (diff)
irqchip/gic-v3-its: Fix get_vlpi_map() breakage with doorbells
When updating an LPI configuration, get_vlpi_map() may be passed a irq_data structure relative to an ITS domain (the normal case) or one that is relative to the core GICv3 domain in the case of a GICv4 doorbell. In the latter case, special care must be take not to dereference the irq_chip data as an its_dev structure, as that isn't what is stored there. Instead, check *first* whether the IRQ is forwarded to a vcpu, and only then try to obtain the vlpi mapping. Fixes: c1d4d5cd203c ("irqchip/gic-v3-its: Add its_vlpi_map helpers") Signed-off-by: Marc Zyngier <[email protected]> Reported-by: Zenghui Yu <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions