Re: [PATCH 16/67] powerpc: rename dma_direct_ to dma_nommu_
From: Michael Ellerman
Date: Tue Jan 02 2018 - 04:45:44 EST
Christoph Hellwig <hch@xxxxxx> 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" ?
cheers