On Fri, Nov 15, 2024 at 01:55:22PM -0400, Jason Gunthorpe wrote: > > > I need your help to remove IOMMU_DEV_FEAT_IOPF from the intel > > > driver. I have a patch series that eliminates it from all the other > > > drivers, and I wrote a patch to remove FEAT_SVA from intel.. > > > > Yes, sure. Let's make this happen in the next cycle. > > > > FEAT_IOPF could be removed. IOPF manipulation can be handled in the > > domain attachment path. A per-device refcount can be implemented. This > > count increments with each iopf-capable domain attachment and decrements > > with each detachment. PCI PRI is enabled for the first iopf-capable > > domain and disabled when the last one is removed. Probably we can also > > solve the PF/VF sharing PRI issue. > > Here is what I have so far, if you send me a patch for vt-d to move > FEAT_IOPF into attach as you describe above (see what I did to arm for > example), then I can send it next cycle > > https://github.com/jgunthorpe/linux/commits/iommu_no_feat/ Hey Baolu, a reminder on this, lets try for it next cycle? Thanks, Jason