Messages in this thread | | | Date | Thu, 2 Mar 2023 09:23:10 -0800 | From | Jacob Pan <> | Subject | Re: [PATCH v4 3/6] iommu/sva: Stop using ioasid_set for SVA |
| |
Hi Tina,
On Thu, 2 Mar 2023 21:52:42 +0800, Tina Zhang <tina.zhang@intel.com> 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
| |