diff options
author | Bjorn Helgaas <[email protected]> | 2010-02-24 13:53:27 -0700 |
---|---|---|
committer | Ralf Baechle <[email protected]> | 2010-02-27 12:53:44 +0100 |
commit | 8190471087b59ff63a8db125953ae612b7a8b8b5 (patch) | |
tree | ac506ab3fb3a586b6da55415301b7e9ae132c551 /tools/perf/scripts/python/check-perf-trace.py | |
parent | 11b897cf84c37e6522db914793677e933ef311fb (diff) |
MIPS: Cobalt: convert legacy port addresses to GT-64111 bus addresses
The GT-64111 PCI host bridge has no address translation mechanism, so
it can't generate legacy port accesses. This quirk fixes legacy device
port resources to contain the bus addresses actually generated by the
GT-64111.
I think this is the approach Ben Herrenschmidt suggested long ago:
http://marc.info/?l=linux-kernel&m=119733290624544&w=2
This allows us to remove the IORESOURCE_PCI_FIXED hack from
pcibios_fixup_device_resources(), which converts bus addresses to CPU
addresses. IORESOURCE_PCI_FIXED denotes resources that can't be moved;
it has nothing to do with converting bus to CPU addresses.
Signed-off-by: Bjorn Helgaas <[email protected]>
Cc: Yoichi Yuasa <[email protected]>
Cc: Thomas Bogendoerfer <[email protected]>
Cc: Benjamin Herrenschmidt <[email protected]>
Cc: [email protected]
Tested-by: Yoichi Yuasa <[email protected]>
Patchwork: http://patchwork.linux-mips.org/patch/998/
Signed-off-by: Ralf Baechle <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions