Re: [PATCH] dma-direct: enable mmap for !CONFIG_MMU

2020-06-17 Thread Christoph Hellwig
On Tue, Jun 16, 2020 at 01:02:11PM +0100, Vladimir Murzin wrote: > LGTM. Should it go stable as well? I think it will be picked up automatically eventually due to the Fixes tag. ___ iommu mailing list iommu@lists.linux-foundation.org https://lists.linuxf

Re: [PATCH] dma-direct: enable mmap for !CONFIG_MMU

2020-06-16 Thread Vladimir Murzin
On 6/15/20 8:05 AM, Christoph Hellwig wrote: > nommu configfs can trivially map the coherent allocations to user space, > as no actual page table setup is required and the kernel and the user > space programs share the same address space. > > Fixes: 62fcee9a3bd7 ("dma-mapping: remove CONFIG_ARCH_N

[PATCH] dma-direct: enable mmap for !CONFIG_MMU

2020-06-15 Thread Christoph Hellwig
nommu configfs can trivially map the coherent allocations to user space, as no actual page table setup is required and the kernel and the user space programs share the same address space. Fixes: 62fcee9a3bd7 ("dma-mapping: remove CONFIG_ARCH_NO_COHERENT_DMA_MMAP") Signed-off-by: Christoph Hellwig