Hi, On Wed, Jan 4, 2023 at 6:19 AM Nipun Gupta <nipun.gu...@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.gu...@amd.com> > Signed-off-by: Nikhil Agarwal <nikhil.agar...@amd.com>
This change is scary. I won't take it without a review from the maintainer. Anatoly, can you have a look? Thanks. -- David Marchand