Messages in this thread | | | From | "Tian, Kevin" <> | Subject | RE: [PATCH v1 4/6] iommu/vt-d: Add VTD_FLAG_IOMMU_PROBED flag | Date | Thu, 30 Jun 2022 08:29:24 +0000 |
| |
> From: Lu Baolu <baolu.lu@linux.intel.com> > Sent: Saturday, June 25, 2022 8:52 PM > > In the IOMMU hot-add path, there's a need to check whether an IOMMU > has been probed. Instead of checking the IOMMU pointer in the global > list, it's better to allocate a flag bit in iommu->flags for this > purpose.
Sorry I didn't get the point of original check. This is the hotplug path hence the caller of this function should already figure out it's a new iommu before reaching this point?
| |