Re: Re: [PATCH v2 1/1] iommu/vt-d: Drain PRQs when domain removed from RID

From: Joel Granados
Date: Mon Nov 04 2024 - 03:30:43 EST


On Sat, Nov 02, 2024 at 11:16:31AM +0800, Baolu Lu wrote:
> On 2024/11/1 12:55, Lu Baolu wrote:
> > As this iommu driver now supports page faults for requests without
> > PASID, page requests should be drained when a domain is removed from
> > the RID2PASID entry.
> >
> > This results in the intel_iommu_drain_pasid_prq() call being moved to
> > intel_pasid_tear_down_entry(). This indicates that when a translation
> > is removed from any PASID entry and the PRI has been enabled on the
> > device, page requests are drained in the domain detachment path.
> >
> > The intel_iommu_drain_pasid_prq() helper has been modified to support
> > sending device TLB invalidation requests for both PASID and non-PASID
> > cases.
> >
> > Signed-off-by: Lu Baolu<baolu.lu@xxxxxxxxxxxxxxx>
> > ---
> > drivers/iommu/intel/iommu.c | 1 -
> > drivers/iommu/intel/pasid.c | 1 +
> > drivers/iommu/intel/prq.c | 26 +++++++++-----------------
> > 3 files changed, 10 insertions(+), 18 deletions(-)
>
> Queued for v6.13.
Does this mean that "iommu: Enable user space IOPFs in non-PASID and
non-svm cases" is also queued for 6.13?

Best

>
> --
> baolu

--

Joel Granados