History

iommu/vt-d: Add get_domain_info() helper

Add a get_domain_info() helper to retrieve the valid per-device iommu private data.

Lu Baolu committed 6 years ago

Commit e85bb991 parent 33753034 files · +35 −20Browse files

Showing the changes to include/linux (1 of 4 files). Show all

Unified · Split

include/linux/intel-iommu.h+1−0
@@ -714,6 +714,7 @@ int for_each_device_domain(int (*fn)(struct device_domain_info *info, · 713 unmodified lines
714void iommu_flush_write_buffer(struct intel_iommu *iommu);714void iommu_flush_write_buffer(struct intel_iommu *iommu);
715int intel_iommu_enable_pasid(struct intel_iommu *iommu, struct device *dev);715int intel_iommu_enable_pasid(struct intel_iommu *iommu, struct device *dev);
716struct dmar_domain *find_domain(struct device *dev);716struct dmar_domain *find_domain(struct device *dev);
717struct device_domain_info *get_domain_info(struct device *dev);
717 718
718#ifdef CONFIG_INTEL_IOMMU_SVM719#ifdef CONFIG_INTEL_IOMMU_SVM
719extern void intel_svm_check(struct intel_iommu *iommu);720extern void intel_svm_check(struct intel_iommu *iommu);