From: Jason Gunthorpe <jgg@nvidia.com>
To: Jacob Pan <jacob.pan@linux.microsoft.com>
Cc: linux-kernel@vger.kernel.org,
"iommu@lists.linux.dev" <iommu@lists.linux.dev>,
"Tian, Kevin" <kevin.tian@intel.com>,
Alex Williamson <alex@shazbot.org>
Subject: Re: [PATCH] iommufd: vfio compatibility extension check for noiommu mode
Date: Mon, 2 Mar 2026 20:29:22 -0400 [thread overview]
Message-ID: <20260303002922.GZ5933@nvidia.com> (raw)
In-Reply-To: <20260213183636.3340-1-jacob.pan@linux.microsoft.com>
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@linux.microsoft.com>
> ---
> drivers/iommu/iommufd/vfio_compat.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Applied, thanks
Jason
prev parent reply other threads:[~2026-03-03 0:29 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-13 18:36 [PATCH] iommufd: vfio compatibility extension check for noiommu mode Jacob Pan
2026-03-03 0:29 ` Jason Gunthorpe [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260303002922.GZ5933@nvidia.com \
--to=jgg@nvidia.com \
--cc=alex@shazbot.org \
--cc=iommu@lists.linux.dev \
--cc=jacob.pan@linux.microsoft.com \
--cc=kevin.tian@intel.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox