summaryrefslogtreecommitdiffstats
path: root/arch/mips/kernel
diff options
context:
space:
mode:
authorPaul Burton2018-07-28 03:23:19 +0200
committerPaul Burton2018-07-30 19:27:28 +0200
commit0494d7ffdcebc6935410ea0719b24ab626675351 (patch)
tree79e55a4b1e769c0fd867de345e97e00a0f2be265 /arch/mips/kernel
parentMIPS: Make (UN)CAC_ADDR() PHYS_OFFSET-agnostic (diff)
downloadkernel-qcow2-linux-0494d7ffdcebc6935410ea0719b24ab626675351.tar.gz
kernel-qcow2-linux-0494d7ffdcebc6935410ea0719b24ab626675351.tar.xz
kernel-qcow2-linux-0494d7ffdcebc6935410ea0719b24ab626675351.zip
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 <paul.burton@mips.com> Patchwork: https://patchwork.linux-mips.org/patch/20047/ Cc: James Hogan <jhogan@kernel.org> Cc: Ralf Baechle <ralf@linux-mips.org> Cc: linux-mips@linux-mips.org Cc: Vladimir Kondratiev <vladimir.kondratiev@intel.com>
Diffstat (limited to 'arch/mips/kernel')
0 files changed, 0 insertions, 0 deletions