RE: [PATCH v4 5/6] iommu/ioasid: Rename INVALID_IOASID

From: Tian, Kevin
Date: Thu Mar 02 2023 - 04:00:53 EST


> From: Jacob Pan <jacob.jun.pan@xxxxxxxxxxxxxxx>
> Sent: Thursday, March 2, 2023 7:57 AM
>
> @@ -1194,7 +1194,7 @@ static void idxd_device_set_perm_entry(struct
> idxd_device *idxd,
> {
> union msix_perm mperm;
>
> - if (ie->pasid == INVALID_IOASID)
> + if (ie->pasid == IOMMU_PASID_INVALID)
> return;
>

if (!pasid_valid(ie->pasid))

same for other occurrences in this patch.

Reviewed-by: Kevin Tian <kevin.tian@xxxxxxxxx>