Re: [PATCH v4 3/6] iommu/sva: Stop using ioasid_set for SVA
From: Jacob Pan
Date: Thu Mar 02 2023 - 12:19:26 EST
Hi Tina,
On Thu, 2 Mar 2023 21:52:42 +0800, Tina Zhang <tina.zhang@xxxxxxxxx> wrote:
> > if (mm->pasid < min || mm->pasid >= max)
> Here seems not right, since the valid range is defined [min, max].
> Shouldn't the invalid range be:
> if (mm->pasid < min || mm->pasid > max)
yes it is better to be consistent even if we removed the inclusive
requirements in the previous comments.
Thanks,
Jacob