Re: [PATCH v5 2/4] iommu_pt: support small VA for AMDv1

From: Jason Gunthorpe

Date: Mon Apr 13 2026 - 12:23:10 EST


On Mon, Apr 13, 2026 at 02:45:19PM +0000, Ankit Soni wrote:
> When hardware/VM request a small VA limit, the generic page-table code
> clears PT_FEAT_DYNAMIC_TOP. This later causes domain initialization to
> fail with -EOPNOTSUPP.
>
> Remove the clearing so init succeeds when the VA fits in the starting
> level and no top-level growth is needed.
>
> Signed-off-by: Ankit Soni <Ankit.Soni@xxxxxxx>
> ---
> drivers/iommu/generic_pt/iommu_pt.h | 4 ----
> 1 file changed, 4 deletions(-)

Reviewed-by: Jason Gunthorpe <jgg@xxxxxxxxxx>

Jason