Re: [PATCH] iommufd: vfio compatibility extension check for noiommu mode
From: Jason Gunthorpe
Date: Mon Mar 02 2026 - 19:30:14 EST
On Fri, Feb 13, 2026 at 10:36:36AM -0800, Jacob Pan wrote:
> VFIO_CHECK_EXTENSION should return false for TYPE1_IOMMU variants when
> in NO-IOMMU mode and IOMMUFD compat container is set. This change makes
> the behavior match VFIO_CONTAINER in noiommu mode. It also prevents
> userspace from incorrectly attempting to use TYPE1 IOMMU operations
> in a no-iommu context.
>
> Fixes: d624d6652a65 ("iommufd: vfio container FD ioctl compatibility")
> Signed-off-by: Jacob Pan <jacob.pan@xxxxxxxxxxxxxxxxxxx>
> ---
> drivers/iommu/iommufd/vfio_compat.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Applied, thanks
Jason