Re: [PATCH 1/1] iommu/vt-d: Move PCI PASID enablement to probe path

From: Baolu Lu
Date: Mon Aug 19 2024 - 03:11:55 EST


On 2024/8/19 15:09, Baolu Lu wrote:
Yeah, so the iommu driver should flip the PRI switch on the PF whenever
someone wants to turn it on for its VF.

We could change things up so that when the first iopf-capable domain is attached to any VF or PF, we turn on PRI for the whole device. Then, we
turn it off when every VF and PF have such domains detached.

Please ignore this. I forgot to remove it when writing the words. Sorry
about it.

Thanks,
baolu