RE: [PATCH v2 08/12] iommu: Prepare for separating SVA and IOPF

From: Tian, Kevin
Date: Tue Aug 08 2023 - 20:03:14 EST


> From: Jason Gunthorpe <jgg@xxxxxxxx>
> Sent: Wednesday, August 9, 2023 2:43 AM
>
> On Thu, Aug 03, 2023 at 08:16:47AM +0000, Tian, Kevin wrote:
>
> > Is there plan to introduce further error in the future? otherwise this should
> > be void.
> >
> > btw the work queue is only for sva. If there is no other caller this can be
> > just kept in iommu-sva.c. No need to create a helper.
>
> I think more than just SVA will need a work queue context to process
> their faults.
>

then this series needs more work. Currently the abstraction doesn't
include workqueue in the common fault reporting layer.