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

From: Jason Gunthorpe
Date: Tue Dec 05 2023 - 09:53:50 EST


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

Jason