Re: [RFC PATCH 16/42] iommufd: Enable device feature IOPF during device attachment to KVM HWPT

From: Yan Zhao
Date: Tue Dec 05 2023 - 20:25:21 EST


On Tue, Dec 05, 2023 at 10:53:41AM -0400, Jason Gunthorpe wrote:
> On Tue, Dec 05, 2023 at 03:14:09PM +0800, Yan Zhao wrote:
>
> > > I would like to remove IOMMU_DEV_FEAT_IOPF completely please
> >
> > So, turn on device PRI during device attachment in IOMMU vendor driver?
>
> If a fault requesting domain is attached then PRI should just be
> enabled in the driver
>
Right, it makes sense!