On 2025-07-26 05:23, Julien Grall wrote:
Hi,
On 25/07/2025 15:01, Stewart Hildebrand wrote:
From: Stefano Stabellini <stefano.stabell...@amd.com>
In preparation of exposing vITS to domUs, generalize arm_iommu_map_page
and arm_iommu_unmap_page to allow ITS doorbell mappings with dfn != mfn.
The mfn does not need to be passed to guest_physmap_remove_page since
there is no mfn checking on the p2m_iommu_map_{rw,ro} p2m types during
unmap. Pass INVALID_MFN to guest_physmap_remove_page.
Signed-off-by: Stefano Stabellini <stefano.stabell...@amd.com>
Signed-off-by: Stewart Hildebrand <stewart.hildebr...@amd.com>
Reviewed-by: Julien Grall <jgr...@amazon.com>
Tested-by: Jason Andryuk <jason.andr...@amd.com>
Thanks,
Jason