Re: [PATCH v8 07/10] iommufd: Fault-capable hwpt attach/detach/replace
From: Jason Gunthorpe
Date: Thu Oct 17 2024 - 09:09:34 EST
On Thu, Oct 17, 2024 at 08:35:24PM +0800, Zhangfei Gao wrote:
> Yes, you are right
> I am using SRIOV vf and stall feature, so is_virtfn == true
>
> Our ACC devices are fake pci endpoint devices which supports stall,
> And they also supports sriov
>
> So I have to ignore the limitation.
I see, so that is more complicated.
Lu, what do you think about also checking if the PCI function has PRI
? If not PRI assume the fault is special and doesn't follow PRI rules?
Or maybe we can have the iommu driver tag the event as a PRI/not-PRI
fault?
Jason