Re: [PATCH v3 09/15] iommu/amd: Always enable GCR3TRPMode when supported.
From: Jason Gunthorpe
Date: Fri Oct 10 2025 - 18:38:05 EST
On Thu, Oct 09, 2025 at 11:57:49PM +0000, Suravee Suthikulpanit wrote:
> The GCR3TRPMode feature allows the DTE[GCR3TRP] field to be configured
> with GPA (instead of SPA). This simplifies the implementation, and is
> a pre-requisite for nested translation support.
>
> Therefore, always enable this feature if available.
>
> Signed-off-by: Suravee Suthikulpanit <suravee.suthikulpanit@xxxxxxx>
> ---
> drivers/iommu/amd/amd_iommu_types.h | 1 +
> drivers/iommu/amd/init.c | 3 +++
> 2 files changed, 4 insertions(+)
Reviewed-by: Jason Gunthorpe <jgg@xxxxxxxxxx>
Jason