On 2024/7/23 10:52, XueMei Yue wrote:
DEAR ALL , No I have know the root cause , the issue ouccured when below code run my AMD test PC. So could you guys give some suggestion ? Will very much appreciate if you feel free to reply!! [cid:image001.png@01DADCEE.6F2E3F80]
For the people that cannot see the picture. It shows the pasid attach path failed as the domain->ops->set_dev_pasid is null, hence failed with EOPNOTSUPP errno. I don't think the AMD iommu driver has supported the set_dev_pasid callback for the non-SVA domains. Suravee can keep me honest. And you may also need to check if your test PC has the PASID capability. -- Regards, Yi Liu