Re: [PATCH v3 5/6] iommu/vt-d: Flush PASID-based iotlb for iova over first level

Lu Baolu
2019-12-17T01:40:10Z

Hi,

On 12/17/19 9:37 AM, Lu Baolu wrote:
> You are right. I will change it accordingly. The logic should look
> like:
>
> if (domain attached to physical device)
>     flush_piotlb_with_RID2PASID()
> else if (domain_attached_to_mdev_device)
>     flush_piotlb_with_default_pasid()
>

Both! so no "else" here.

Best regards,
baolu

> Does this work for you? Thanks for catching this!