aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorJean-Philippe Brucker <[email protected]>2019-01-10 18:41:51 +0000
committerWill Deacon <[email protected]>2019-01-11 10:02:59 +0000
commitc7777236dd8f587f6a8d6800c03df318fd4d2627 (patch)
tree899581bf6239c72d86a0f14f98c7843fda398907 /tools/perf/scripts/python/exported-sql-viewer.py
parentb89d82ef01b33bc50cbaa8ff05607879b40d0704 (diff)
ACPI/IORT: Fix rc_dma_get_range()
When executed for a PCI_ROOT_COMPLEX type, iort_match_node_callback() expects the opaque pointer argument to be a PCI bus device. At the moment rc_dma_get_range() passes the PCI endpoint instead of the bus, and we've been lucky to have pci_domain_nr(ptr) return 0 instead of crashing. Pass the bus device to iort_scan_node(). Fixes: 5ac65e8c8941 ("ACPI/IORT: Support address size limit for root complexes") Reported-by: Eric Auger <[email protected]> Signed-off-by: Jean-Philippe Brucker <[email protected]> Signed-off-by: Lorenzo Pieralisi <[email protected]> Reviewed-by: Eric Auger <[email protected]> Acked-by: Robin Murphy <[email protected]> Cc: [email protected] Cc: Will Deacon <[email protected]> Cc: Hanjun Guo <[email protected]> Cc: Sudeep Holla <[email protected]> Cc: Catalin Marinas <[email protected]> Cc: "Rafael J. Wysocki" <[email protected]> Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions