Re: [PATCH v2 2/2] vfio/type1: Set IOMMU_MMIO in dma->prot for MMIO-backed addresses

From: Jason Gunthorpe

Date: Fri Nov 07 2025 - 10:57:10 EST


On Fri, Nov 07, 2025 at 03:49:17PM +0000, Wei Wang wrote:
> > (are you aware of any real examples in use?)
> > VM_IO should indicate MMIO, yes, but we don't actually check that in
> > this type 1 path..

> Is it because VFIO type1 didn’t need to check for MMIO before?
> (not sure how this impacts this patch adding the VM_IO check for MMIO
> :) )

Okay, but it still doesn't mean it has to be decrypted..

Jason