[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180109153826.GA10086@lst.de>
Date: Tue, 9 Jan 2018 16:38:26 +0100
From: Christoph Hellwig <hch@....de>
To: Michael Ellerman <mpe@...erman.id.au>
Cc: Christoph Hellwig <hch@....de>, iommu@...ts.linux-foundation.org,
linux-mips@...ux-mips.org, linux-ia64@...r.kernel.org,
linux-sh@...r.kernel.org, sparclinux@...r.kernel.org,
Guan Xuetao <gxt@...c.pku.edu.cn>, linux-arch@...r.kernel.org,
linux-s390@...r.kernel.org, linux-c6x-dev@...ux-c6x.org,
linux-hexagon@...r.kernel.org, x86@...nel.org,
linux-snps-arc@...ts.infradead.org,
adi-buildroot-devel@...ts.sourceforge.net,
linux-m68k@...ts.linux-m68k.org, patches@...ups.riscv.org,
linux-metag@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
Michal Simek <monstr@...str.eu>, linux-parisc@...r.kernel.org,
linux-cris-kernel@...s.com, linux-kernel@...r.kernel.org,
linux-alpha@...r.kernel.org, linuxppc-dev@...ts.ozlabs.org
Subject: Re: [PATCH 16/67] powerpc: rename dma_direct_ to dma_nommu_
On Thu, Jan 04, 2018 at 09:49:30AM +0100, Christoph Hellwig wrote:
> On Tue, Jan 02, 2018 at 08:45:30PM +1100, Michael Ellerman wrote:
> > Christoph Hellwig <hch@....de> writes:
> >
> > > We want to use the dma_direct_ namespace for a generic implementation,
> > > so rename powerpc to the second best choice: dma_nommu_.
> >
> > I'm not a fan of "nommu". Some of the users of direct ops *are* using an
> > IOMMU, they're just setting up a 1:1 mapping once at init time, rather
> > than mapping dynamically.
> >
> > Though I don't have a good idea for a better name, maybe "1to1",
> > "linear", "premapped" ?
>
> It seems like a nice counter part to the dma_iommu_ops used just about
> anywhere else in ppc.
>
> But I'll happily take any maintainer bike shed decision for the next
> series. Remember that in a merge window or two it will hopefully
> go away in favor of the new generic dma_direct ops.
Michael, please suggest what name you want for the next iteration,
I don't want to hold up the series on a naming bikeshed.
Powered by blists - more mailing lists