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

From: Lu Baolu
Date: Mon Dec 16 2019 - 20:40:09 EST


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!