Re: [PATCH 16/67] powerpc: rename dma_direct_ to dma_nommu_

From
Christoph Hellwig <hch@lst.de>
Date
2018-01-04 08:49:36
Also in
linux-alpha, linux-arch, linux-arm-kernel, linux-iommu, linux-mips, linux-s390, linux-sh, lkml, sparclinux
Reply to
Michael Ellerman, 2018-01-02
On Tue, Jan 02, 2018 at 08:45:30PM +1100, Michael Ellerman wrote:
Christoph Hellwig [off-list ref] writes:
quoted
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.
Thread (97 messages) 97 messages, 8 authors, last reply 2018-01-09
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help