[PATCH 1/9] vfio: Make vfio_(un)register_notifier accept a vfio_device

Tian, Kevin kevin.tian at intel.com
Thu Apr 14 02:15:50 UTC 2022


> From: Wang, Zhi A <zhi.a.wang at intel.com>
> Sent: Thursday, April 14, 2022 5:09 AM
> 
> > Or is it that only the page table levels themselves are GFNs and the
> > actual DMA's are IOVA? The unclear mixing of GFN as IOVA in the code
> > makes it inscrutible.
> >
> 
> No. Even the HW is capable of controlling the level of translation, but
> it's not used like this in the existing driver. It's definitely an
> architecture open.
> 

There is no open on this. Any guest memory that vGPU accesses must
be IOVA including page table levels. There is only one address space
per vRID.


More information about the dri-devel mailing list