[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20191015074354.GB3464@infradead.org>
Date: Tue, 15 Oct 2019 00:43:54 -0700
From: Christoph Hellwig <hch@...radead.org>
To: Nicolas Saenz Julienne <nsaenzjulienne@...e.de>
Cc: linux-kernel@...r.kernel.org, hch@...radead.org,
Yoshinori Sato <ysato@...rs.sourceforge.jp>,
Rich Felker <dalias@...c.org>, linux-sh@...r.kernel.org
Subject: Re: [PATCH] sh: use dma_to_phys() instead of dev->dma_pfn_offset
On Fri, Oct 11, 2019 at 06:51:29PM +0200, Nicolas Saenz Julienne wrote:
> It's more explicit and lets dma-direct handle the specifics of how to
> translate addresses.
>
> On top of that get rid of warnings as, since the introduction of commit
> 6fa1d28e38c ("sh: use generic dma_noncoherent_ops"), it's impossible for
> the dev to be NULL.
This looks ok, but the real answer is to switch sh to the generic
dma remapping code. I've been trying to get this included for about
a year now, but never managed to get a reply from the sh maintainers.
Here is the last one:
http://git.infradead.org/users/hch/misc.git/shortlog/refs/heads/sh-dma-remap
Powered by blists - more mailing lists