Hi Yi Liu, Thanks for your suggestion! we have tested ATS without PASID successfully. Now I want use PASID to verify other function.maybe not related to ATS. Could you give some suggestion about my example "iommufd0716.cpp", How to make it run successfully via linux user API ? Thanks very much ! -----Original Message----- From: Yi Liu <yi.l.liu@xxxxxxxxx> Sent: 2024年7月23日 12:06 To: XueMei Yue <xuemeiyue@xxxxxxxxxx>; iommu@xxxxxxxxxxxxxxx; alex.williamson@xxxxxxxxxx; robin.murphy@xxxxxxx; eric.auger@xxxxxxxxxx; nicolinc@xxxxxxxxxx; kvm@xxxxxxxxxxxxxxx; chao.p.peng@xxxxxxxxxxxxxxx; baolu.lu@xxxxxxxxxxxxxxx; joro@xxxxxxxxxx; Suravee Suthikulpanit <suravee.suthikulpanit@xxxxxxx> Subject: Re: FW: About the patch ”https://lore.kernel.org/linux-iommu/20240412082121.33382-1-yi.l.liu@xxxxxxxxx/ “ for help CAUTION: This email originated from outside of PetaIO. Do not click on links or open attachments unless you recognize the sender and know that the content is safe. On 2024/7/23 11:22, XueMei Yue wrote: > Thank you for your reply! > My pc has the PASID capability, See the attachment. ok. BTW. A heads up: you are looping the mailing list, so you'd better use the plain text format and avoid including pictures if it can be expressed by text. > " I don't think the AMD iommu driver has supported the set_dev_pasid callback for the non-SVA domains." > ------ xuemei : So if I want to use the PASID to test PCIE ATS request messages,could you give some suggestions ? usr SVA domain can solve thie issue ? You should not mix ATS with PASID, ATS does not rely on PASID. You should be able to test ATS without PASID. ATS is a performance feature, so if you want to test it in system level, you need a benchmark to do it. Or you can test it in pci transaction level, you would need tools for it then. It's up to you. -- Regards, Yi Liu