diff options
author | Paul Burton <[email protected]> | 2018-07-27 18:23:19 -0700 |
---|---|---|
committer | Paul Burton <[email protected]> | 2018-07-30 10:27:28 -0700 |
commit | 0494d7ffdcebc6935410ea0719b24ab626675351 (patch) | |
tree | 79e55a4b1e769c0fd867de345e97e00a0f2be265 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 0d0e14770d4487a7ede8df93d82305cbfac2d453 (diff) |
MIPS: Fix ISA virt/bus conversion for non-zero PHYS_OFFSET
isa_virt_to_bus() & isa_bus_to_virt() claim to treat ISA bus addresses
as being identical to physical addresses, but they fail to do so in the
presence of a non-zero PHYS_OFFSET.
Correct this by having them use virt_to_phys() & phys_to_virt(), which
consolidates the calculations to one place & ensures that ISA bus
addresses do indeed match physical addresses.
Signed-off-by: Paul Burton <[email protected]>
Patchwork: https://patchwork.linux-mips.org/patch/20047/
Cc: James Hogan <[email protected]>
Cc: Ralf Baechle <[email protected]>
Cc: [email protected]
Cc: Vladimir Kondratiev <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions