aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/export-to-postgresql-report
diff options
context:
space:
mode:
authorMarc Zyngier <[email protected]>2022-08-08 11:50:20 +0100
committerMarc Zyngier <[email protected]>2022-08-09 06:54:05 +0100
commit7e4fd7a1a6fdf23d069eeb0ae0e8e46b9fb40723 (patch)
treec3a1b02d13d3ee1a6de2eadb15d19501413a7882 /tools/perf/scripts/python/bin/export-to-postgresql-report
parentfda7409a8fcfa457814f8186f2861a9f00008e75 (diff)
irqchip/loongarch: Fix irq_domain_alloc_fwnode() abuse
The recently merged LoongArch drivers paper over the lack of topology information by creating a bunch of fwnodes for the irqchips. So far, so good. However, irq_domain_alloc_fwnode() is supposed to take a PA, and not a kernel VA blindly cast as a PA, potentially disclosing kernel VAs to userspace. In some other cases, even NULL is used as the PA, which is entertaining. Fix this by using the actual PA of the block when available, and switch to a named fwnode in the other cases. Signed-off-by: Marc Zyngier <[email protected]> Reviewed-by: Jianmin Lv <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions