Re: [PATCH] iommu/amd: Block identity domain when SNP enabled

From: Jason Gunthorpe

Date: Mon Mar 09 2026 - 20:35:37 EST


On Mon, Mar 09, 2026 at 04:52:33PM -0700, Joe Damato wrote:
> With this commit applied:
>
> # echo "identity" > /sys/kernel/iommu_groups/62/type
> -bash: echo: write error: Invalid argument
>
> Fixes: 4402f2627d30 ("iommu/amd: Implement global identity domain")
> Signed-off-by: Joe Damato <joe@xxxxxxx>
> ---
> drivers/iommu/amd/iommu.c | 15 ++++++++++++++-
> 1 file changed, 14 insertions(+), 1 deletion(-)

Reviewed-by: Jason Gunthorpe <jgg@xxxxxxxxxx>

Jason