From: Vasant Hegde <vasant.hegde@amd.com>
To: Yi Liu <yi.l.liu@intel.com>, XueMei Yue <xuemeiyue@petaio.com>,
"iommu@lists.linux.dev" <iommu@lists.linux.dev>,
"alex.williamson@redhat.com" <alex.williamson@redhat.com>,
"robin.murphy@arm.com" <robin.murphy@arm.com>,
"eric.auger@redhat.com" <eric.auger@redhat.com>,
"nicolinc@nvidia.com" <nicolinc@nvidia.com>,
"kvm@vger.kernel.org" <kvm@vger.kernel.org>,
"chao.p.peng@linux.intel.com" <chao.p.peng@linux.intel.com>,
"baolu.lu@linux.intel.com" <baolu.lu@linux.intel.com>,
"joro@8bytes.org" <joro@8bytes.org>,
Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>
Subject: Re: FW: About the patch âhttps://lore.kernel.org/linux-iommu/20240412082121.33382-1-yi.l.liu@intel.com/ â for help
Date: Fri, 26 Jul 2024 14:48:31 +0530 [thread overview]
Message-ID: <db1d622e-0f72-410c-ba2d-c21e14dd8269@amd.com> (raw)
In-Reply-To: <034e27df-e67f-410f-93ce-ac7f3d05ded0@intel.com>
On 7/24/2024 8:21 AM, Yi Liu wrote:
> On 2024/7/23 14:52, XueMei Yue wrote:
>> 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 !
>
> you need to make the pasid attach path work first. As I mentioned, the AMD
> driver does not support it yet.
Thanks Yi for responding. I missed this thread.
You are right. Currently AMD driver doesn't support attaching PASID outside SVA
domain.
Regarding ATS, AMD driver enables it by default if both IOMMU and device has ATS
support. So you should be able to use/test this path.
If you want to test PASID/PRI combinations then you can use SVA interfaces.
Regarding exposing PASID to user space via iommufd, we haven't looked into it in
detail. Its in our list. but it will take some time.
-Vasant
next prev parent reply other threads:[~2024-07-26 9:19 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <SJ0PR18MB51863C8625058B9BB35D3EC1D3A82@SJ0PR18MB5186.namprd18.prod.outlook.com>
2024-07-23 2:52 ` FW: About the patch ”https://lore.kernel.org/linux-iommu/20240412082121.33382-1-yi.l.liu@intel.com/ “ for help XueMei Yue
2024-07-23 3:03 ` Yi Liu
2024-07-23 3:22 ` XueMei Yue
2024-07-23 4:05 ` Yi Liu
2024-07-23 6:52 ` XueMei Yue
2024-07-24 2:51 ` Yi Liu
2024-07-26 9:18 ` Vasant Hegde [this message]
2024-07-30 9:08 ` FW: About the patch âhttps://lore.kernel.org/linux-iommu/20240412082121.33382-1-yi.l.liu@intel.com/ â " XueMei Yue
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=db1d622e-0f72-410c-ba2d-c21e14dd8269@amd.com \
--to=vasant.hegde@amd.com \
--cc=alex.williamson@redhat.com \
--cc=baolu.lu@linux.intel.com \
--cc=chao.p.peng@linux.intel.com \
--cc=eric.auger@redhat.com \
--cc=iommu@lists.linux.dev \
--cc=joro@8bytes.org \
--cc=kvm@vger.kernel.org \
--cc=nicolinc@nvidia.com \
--cc=robin.murphy@arm.com \
--cc=suravee.suthikulpanit@amd.com \
--cc=xuemeiyue@petaio.com \
--cc=yi.l.liu@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox