Re: [PATCH v8 07/10] iommufd: Fault-capable hwpt attach/detach/replace

2024-10-15 Thread Zhangfei Gao
On Tue, 15 Oct 2024 at 20:54, Jason Gunthorpe wrote: > > On Tue, Oct 15, 2024 at 11:19:33AM +0800, Zhangfei Gao wrote: > > > +static int iommufd_fault_iopf_enable(struct iommufd_device *idev) > > > +{ > > > + struct device *dev = idev->dev; > > > + int ret; > > > + > > > + /* > >

Re: [PATCH v8 07/10] iommufd: Fault-capable hwpt attach/detach/replace

2024-10-15 Thread Jason Gunthorpe
On Tue, Oct 15, 2024 at 11:19:33AM +0800, Zhangfei Gao wrote: > > +static int iommufd_fault_iopf_enable(struct iommufd_device *idev) > > +{ > > + struct device *dev = idev->dev; > > + int ret; > > + > > + /* > > +* Once we turn on PCI/PRI support for VF, the response failu