On 21/11/2023 04:46, Christoph Hellwig wrote:
We don't have any way to recall the LONGTERM mappings, so we can't support them on DAX for now.
By recall do you mean put the LONGTERM pages back? If I removed the check in check_vma and allowed the mappings to happen in fsdax, I can see that the mappings unmap/unpin in vfio_iommu_type1_unmap_dma later on which eventually ends up calling put_pfn.
Thanks