Re: [PATCH] dma-remap: Align the size in dma_common_*_remap()

2020-06-23 Thread Christoph Hellwig
On Mon, Jun 22, 2020 at 10:23:20PM +0200, Eric Auger wrote: > Running a guest with a virtio-iommu protecting virtio devices > is broken since commit 515e5b6d90d4 ("dma-mapping: use vmap insted > of reimplementing it"). Before the conversion, the size was > page aligned in __get_vm_area_node().

[PATCH] dma-remap: Align the size in dma_common_*_remap()

2020-06-22 Thread Eric Auger
Running a guest with a virtio-iommu protecting virtio devices is broken since commit 515e5b6d90d4 ("dma-mapping: use vmap insted of reimplementing it"). Before the conversion, the size was page aligned in __get_vm_area_node(). Doing so fixes the regression. Fixes: 515e5b6d90d4 ("dma-mapping: use