linux-mips
[Top] [All Lists]

Re: [PATCH 2/2] MIPS: Alchemy: change dbdma to accept physical memory ad

To: Manuel Lauss <manuel.lauss@googlemail.com>
Subject: Re: [PATCH 2/2] MIPS: Alchemy: change dbdma to accept physical memory addresses
From: Ralf Baechle <ralf@linux-mips.org>
Date: Tue, 13 Oct 2009 23:01:25 +0200
Cc: Linux-MIPS <linux-mips@linux-mips.org>, Manuel Lauss <manuel.lauss@gmail.com>
In-reply-to: <1255458155-14469-2-git-send-email-manuel.lauss@gmail.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <1255458155-14469-1-git-send-email-manuel.lauss@gmail.com> <1255458155-14469-2-git-send-email-manuel.lauss@gmail.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.19 (2009-01-05)
On Tue, Oct 13, 2009 at 08:22:35PM +0200, Manuel Lauss wrote:

> DMA can only be done from physical addresses;
> move the "virt_to_phys" source/destination buffer address translation
> from the dbdma queueing functions (since the hardware can only DMA
> to/from physical addresses) to their respective users.
> 
> Signed-off-by: Manuel Lauss <manuel.lauss@gmail.com>
> ---
> All affected drivers still run fine on the DB1200, so I assume it's
> working right (au1550_ac97.c is untested).

Queued for 2.6.32.  Thanks,

  Ralf

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