linux-mips
[Top] [All Lists]

Re: fix oops in dma_unmap_page on not coherent mips platforms

To: Jan Nikitenko <jan.nikitenko@gmail.com>
Subject: Re: fix oops in dma_unmap_page on not coherent mips platforms
From: Ralf Baechle <ralf@linux-mips.org>
Date: Sat, 14 Mar 2009 00:00:49 +0100
Cc: linux-mips@linux-mips.org, Atsushi Nemoto <anemo@mba.ocn.ne.jp>
In-reply-to: <20081128075258.GA10200@nikitenko.systek.local>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20081128075258.GA10200@nikitenko.systek.local>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.18 (2008-05-17)
> 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>

Applied, finally ...

  Ralf

<Prev in Thread] Current Thread [Next in Thread>