[PATCH v4 11/23] iommufd/viommu: Add IOMMUFD_CMD_HW_QUEUE_ALLOC ioctl
Jason Gunthorpe
jgg at nvidia.com
Mon May 26 06:29:10 PDT 2025
On Fri, May 23, 2025 at 01:51:25AM +0000, Tian, Kevin wrote:
> > If page is unmapped then stage 2 (Host page table) gets updated. IOMMU
> > will not
> > be able to find page and logs fault.
>
> As long as the fault is contained only for the relevant queue, yes
> we don't need another pinning from the driver.
Yeah, that's my expectation too. If the guest uses a bad address then
the fault should be logged in HW and forwarded to the guest. No need
to validate the guest IOVA for queues.
Jason
More information about the linux-arm-kernel
mailing list