diff options
author | Zhichang Yuan <[email protected]> | 2015-04-24 17:05:09 +0800 |
---|---|---|
committer | Bjorn Helgaas <[email protected]> | 2015-05-16 10:38:39 -0500 |
commit | 5dbb4c6167229c8d4f528e8ec26699a7305000a3 (patch) | |
tree | 12d4d6e98f4c376632de1b80948c9a005ed4f544 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 5ebe6afaf0057ac3eaeb98defd5456894b446d22 (diff) |
of/pci: Fix pci_address_to_pio() conversion of CPU address to I/O port
41f8bba7f555 ("of/pci: Add pci_register_io_range() and
pci_pio_to_address()") added support for systems with several I/O ranges
described by OF bindings. It modified pci_address_to_pio() look up the
io_range for a given CPU physical address, but the conversion was wrong.
Fix the conversion of address to I/O port.
[bhelgaas: changelog]
Fixes: 41f8bba7f555 ("of/pci: Add pci_register_io_range() and pci_pio_to_address()")
Signed-off-by: Zhichang Yuan <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Acked-by: Liviu Dudau <[email protected]>
CC: [email protected] # v3.18+
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions