diff options
author | 2015-10-08 12:54:16 -0700 | |
---|---|---|
committer | 2015-10-09 18:18:35 -0500 | |
commit | f6225c3a0c1f2ef908244c31b91d62066360ce1d (patch) | |
tree | b0728bcd16ae1e87c8c5dd8bd9268da13e4944b5 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | PCI: generic: Pass starting bus number to pci_scan_root_bus() (diff) | |
download | wireguard-linux-f6225c3a0c1f2ef908244c31b91d62066360ce1d.tar.xz wireguard-linux-f6225c3a0c1f2ef908244c31b91d62066360ce1d.zip |
PCI: generic: Fix address window calculation for non-zero starting bus
Make the offset from the beginning of the "reg" property be from the
starting bus number, rather than zero. Hoist the invariant size
calculation out of the mapping for loop.
Update host-generic-pci.txt to clarify the semantics of the "reg" property
with respect to non-zero starting bus numbers.
Signed-off-by: David Daney <david.daney@cavium.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions