Re: [PATCH v3 6/8] iommu/vt-d: Replace Intel specific PASID allocator with IOASID

From: Jacob Pan
Date: Wed Nov 20 2019 - 18:18:30 EST


On Wed, 20 Nov 2019 22:06:24 +0100
Auger Eric <eric.auger@xxxxxxxxxx> wrote:

> Hi Jacob,
>
> On 11/19/19 6:56 PM, Jacob Pan wrote:
> > Make use of generic IOASID code to manage PASID allocation,
> > free, and lookup. Replace Intel specific code.
> > IOASID allocator is inclusive for both start and end of the
> > allocation range. The current code is based on IDR, which is
> > exclusive for the end of the allocation range. This patch fixes the
> > off-by-one error in intel_svm_bind_mm, where pasid_max - 1 is used
> > for the end of allocation range.
> no more as this is handled in 5/8
oops, forgot that. will remove this comment.
Thanks!
> [...]
> Besides
> Reviewed-by: Eric Auger <eric.auger@xxxxxxxxxx>
>
> Thanks
>
> Eric
>

[Jacob Pan]