Ah, seems like it wasn't as simple of a fix as I thought :) I intended to use dma_mmap_coherent() in the usbfs driver (drivers/usb/core/devio.c) because its mmap() was broken on arm64 and all the other noncoherent DMA architectures.
Patch here: https://www.spinics.net/lists/linux-usb/msg183148.html More info: https://www.spinics.net/lists/linux-usb/msg183180.html On Fri, Aug 2, 2019 at 11:23 PM Christoph Hellwig <[email protected]> wrote: > > See the discussion at: > > https://lists.linuxfoundation.org/pipermail/iommu/2019-August/037716.html > > Just curious, what driver do you use that uses dma_mmap_coherent on > x86? _______________________________________________ iommu mailing list [email protected] https://lists.linuxfoundation.org/mailman/listinfo/iommu
