[PATCH v2] vfio: do not coalesce DMA mappings

David Marchand david.marchand at redhat.com
Mon May 15 13:16:55 CEST 2023


On Wed, Jan 4, 2023 at 6:19 AM Nipun Gupta <nipun.gupta at amd.com> wrote:
> At the cleanup time when dma unmap is done, linux kernel
> does not allow unmap of individual segments which were
> coalesced together while creating the DMA map for type1 IOMMU
> mappings. So, this change updates the mapping of the memory
> segments(hugepages) on a per-page basis.
>
> Signed-off-by: Nipun Gupta <nipun.gupta at amd.com>
> Signed-off-by: Nikhil Agarwal <nikhil.agarwal at amd.com>
Reviewed-by: Anatoly Burakov <anatoly.burakov at intel.com>


Applied, thanks.


-- 
David Marchand



More information about the dev mailing list