Re: [PATCH 14/24] iommu/amd: Add per-VM private IPA alloc/map helpers
From: Jason Gunthorpe
Date: Mon Aug 24 2026 - 13:26:46 EST
On Mon, 27 Jul 2026 13:29:03 +0000, Suravee Suthikulpanit <suravee.suthikulpanit@xxxxxxx> wrote:
> Guest device ID and guest domain ID tables use dedicated slots in
> the vIOMMU private address (IPA) region, indexed by guest ID (GID).
>
> Add alloc_private_vm_region() and free_private_vm_region() to
> allocate backing pages, map them through viommu_pdom, and tear down
> with an unmap flush on VM destroy.
>
> [...]
Reviewed-by: Jason Gunthorpe <jgg@xxxxxxxxxx>
--
Jason