Re: [PATCH v5 5/9] iommufd: Add an ioctl to query PA from IOVA for noiommu mode
From: Jason Gunthorpe
Date: Wed May 20 2026 - 10:32:16 EST
On Wed, May 20, 2026 at 03:20:15PM +0800, Yi Liu wrote:
> can this work for normal vfio usage as well? e.g. vfio usages that open
> devices that have iommu procetction.
No, it must be blocked we cannot leak physical addresses to userspace.
> My concern is kernel does not prevent normal vfio usage from invoking
> this ioctl. If it works for normal vfio usage as well, may just remove
> the noiommu term from thie name. If not, may be
This is a bug
Jason