Hi Eric,

>-----Original Message-----
>From: Eric Auger <eric.au...@redhat.com>
>Subject: Re: [PATCH rfcv2 09/20] intel_iommu: Rename
>vtd_ce_get_rid2pasid_entry to vtd_ce_get_pasid_entry
>
>Hi Zhenzhong,
>
>
>On 2/19/25 9:22 AM, Zhenzhong Duan wrote:
>> In early days vtd_ce_get_rid2pasid_entry() is used to get pasid entry of
>is/was

Will do.

>> rid2pasid, then extend to any pasid. So a new name vtd_ce_get_pasid_entry
>then it was extended to get any pasid entry?

Will do.

>> is better to match its functions.
>to match what it actually does?

Yes, will do. 
>
>I do not know the vtd spec very well so I searched for rid2pasid and I
>did not find any reference. I think I understand what is the pasid entry
>from the pasid table though so the renaming does make sense to me.

In spec it's named RID_PASID, copied some desc:

"Requests-without-PASID processed through this scalable-mode
context entry are treated as Requests-with-PASID with PASID value
specified in this field. ExecuteRequested field is treated as 0 for
such requests."

Thanks
Zhenzhong


Reply via email to