linux-mips
[Top] [All Lists]

Re: fix oops in dma_unmap_page on not coherent mips platforms

To: ralf@linux-mips.org
Subject: Re: fix oops in dma_unmap_page on not coherent mips platforms
From: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Date: Sun, 15 Mar 2009 01:17:48 +0900 (JST)
Cc: jan.nikitenko@gmail.com, linux-mips@linux-mips.org
In-reply-to: <20090313230049.GA30319@linux-mips.org>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20081128075258.GA10200@nikitenko.systek.local> <20090313230049.GA30319@linux-mips.org>
Sender: linux-mips-bounce@linux-mips.org
On Sat, 14 Mar 2009 00:00:49 +0100, Ralf Baechle <ralf@linux-mips.org> wrote:
> > 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 ...

Good news!

And please take a look at this too:
http://www.linux-mips.org/cgi-bin/mesg.cgi?a=linux-mips&i=1232638931-6203-1-git-send-email-anemo%40mba.ocn.ne.jp

---
Atsushi Nemoto

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