commit | d7001198366bffce4506ba21b7b0fee2de194f73 | [log] [tgz] |
---|---|---|
author | Jan Nikitenko <jan.nikitenko@gmail.com> | Fri Nov 28 08:52:58 2008 +0100 |
committer | Ralf Baechle <ralf@linux-mips.org> | Mon Mar 23 23:38:04 2009 +0100 |
tree | d6fc12a93c413fc913b2652fc51a0f0d5265787b | |
parent | d56ffd38a93841a07c839a375049a56b51e9567c [diff] |
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: Jan Nikitenko <jan.nikitenko@gmail.com> Acked-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>