On 2024/7/15 20:19, Jason Gunthorpe wrote:
On Mon, Jul 15, 2024 at 04:23:07PM +0800, Yi Liu wrote:
Then the description is sort of like
Replace is useful for iommufd/VFIO to provide perfect HW emulation in
case the VM is expecting to be able to change a PASID on the fly. As
AMD will only support PASID in VM's using nested translation where we
don't use the set_dev_pasid API leave it disabled for now.
Does it apply to SMMUv3 as well? IIRC. ARM SMMUv3 also has the CD table
(a.k.a PASID table) within the guest. And I think this is the major reason
for your above statement. right?
It does, but it also supports replace so no need to explain why we
don't enable it :)
got it. :)
--
Regards,
Yi Liu