Re: [PATCH v3 7/7] dmaengine/idxd: Re-enable kernel workqueue under DMA API

From: Jacob Pan
Date: Mon Apr 03 2023 - 17:52:49 EST


Hi Fenghua,

On Fri, 31 Mar 2023 23:31:13 +0000, "Yu, Fenghua" <fenghua.yu@xxxxxxxxx>
wrote:

> Hi, Jacob,
>
> > Kernel workqueues were disabled due to flawed use of kernel VA and SVA
> > API. Now That we have the support for attaching PASID to the device's
> > default
>
> s/That/that/
will fix, for real this time :) you pointed it out before.

> > domain and the ability to reserve global PASIDs from SVA APIs, we can
> > re-enable the kernel work queues and use them under DMA API.
> >
> > We also use non-privileged access for in-kernel DMA to be consistent
> > with the IOMMU settings. Consequently, interrupt for user privilege is
> > enabled for work completion IRQs.
> >
> > Link:https://lore.kernel.org/linux-
> > iommu/20210511194726.GP1002214@xxxxxxxxxx/
> > Reviewed-by: Dave Jiang <dave.jiang@xxxxxxxxx>
> > Signed-off-by: Jacob Pan <jacob.jun.pan@xxxxxxxxxxxxxxx>
>
> Other than the typo,
>
> Reviewed-by: Fenghua Yu <fenghua.yu@xxxxxxxxx>
>
> Thanks.
>
> -Fenghua


Thanks,

Jacob