Linux IOMMU Development
 help / color / mirror / Atom feed
From: Yi Liu <yi.l.liu@intel.com>
To: 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: Wed, 24 Jul 2024 10:51:44 +0800	[thread overview]
Message-ID: <034e27df-e67f-410f-93ce-ac7f3d05ded0@intel.com> (raw)
In-Reply-To: <SJ0PR18MB5186B961317770AE36A58A3AD3A92@SJ0PR18MB5186.namprd18.prod.outlook.com>

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.

> -----Original Message-----
> From: Yi Liu <yi.l.liu@intel.com>
> Sent: 2024年7月23日 12:06
> To: XueMei Yue <xuemeiyue@petaio.com>; iommu@lists.linux.dev; alex.williamson@redhat.com; robin.murphy@arm.com; eric.auger@redhat.com; nicolinc@nvidia.com; kvm@vger.kernel.org; chao.p.peng@linux.intel.com; baolu.lu@linux.intel.com; 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
> 
> 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

-- 
Regards,
Yi Liu

  reply	other threads:[~2024-07-24  2:47 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 [this message]
2024-07-26  9:18             ` FW: About the patch âhttps://lore.kernel.org/linux-iommu/20240412082121.33382-1-yi.l.liu@intel.com/ â " Vasant Hegde
2024-07-30  9:08               ` 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=034e27df-e67f-410f-93ce-ac7f3d05ded0@intel.com \
    --to=yi.l.liu@intel.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 \
    /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