Skip to content
Commit d7001198 authored by Jan Nikitenko's avatar Jan Nikitenko Committed by Ralf Baechle
Browse files

MIPS: Fix oops in dma_unmap_page on not coherent mips platforms



dma_cache_wback_inv() expects virtual address, but physical was provided
due to translation via plat_dma_addr_to_phys().
If replaced with dma_addr_to_virt(), page fault oops from dma_unmap_page()
is gone on au1550 platform.

Signed-off-by: default avatarJan Nikitenko <jan.nikitenko@gmail.com>
Acked-by: default avatarAtsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent d56ffd38
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment