【1】https://www.elastic.co/guide/en/elasticsearch/reference/current/point-in-time-api.html
This fixes the following build error when IOMMU_API is not selected: drivers/iommu/intel/dmar.c: In function ‘free_iommu’: drivers/iommu/intel/dmar.c:1139:41: error: ‘struct iommu_device’ has no member named ‘ops’ 1139 | if (intel_iommu_enabled && iommu->iommu.ops) { ^ Fixes:...
特殊场景1-不支持SVA但是使能IOMMU,所有注册到UACCE框架的设备都是支持PASID和支持IOMMU的场景 在这种场景下,和特殊场景1-不支持SVA但是使能IOMMU,所有注册到UACCE框架的设备都是支持PASID和支持IOMMU的场景一致。 算法层没有新增接口。 在涉及到内存操作时要稍作调整,
EXPORT_SYMBOL_NS_GPL(iommufd_access_destroy, IOMMUFD);void iommufd_access_detach(struct iommufd_access *access) { struct iommufd_ioas *cur_ioas = access->ioas;mutex_lock(&access->ioas_lock); if (WARN_ON(!access->ioas)) goto out; /* ...
> > > Also, the other iommu code you pointed me to, was happy to fail, it did > > > not attempt to use the emergency reserves. > > > > Is the same behavior acceptable here? > > I would say it is. Failure is a part of life. ...