On 2023/2/10 15:32, Tian, Kevin wrote:
From: Liu, Yi L yi.l.liu@intel.com Sent: Thursday, February 9, 2023 12:17 PM
From: Lu Baolu baolu.lu@linux.intel.com
To support nested translation in the userspace, it should check the underlying hardware information for the capabilities.
remove this sentence. that belongs to next patch.
+/**
- struct iommu_device_info_vtd - Intel VT-d device info
- @flags: Must be set to 0
- @__reserved: Must be 0
- @cap_reg: Value of Intel VT-d capability register defined in chapter
11.4.2 of Intel VT-d spec.
- @ecap_reg: Value of Intel VT-d capability register defined in chapter
11.4.3 of Intel VT-d spec.
let's be specific with section name e.g. "11.4.2 Capability Register" so if the chapter index is changed later people can still know where to look at.
- Intel hardware iommu capability.
duplicated with the first line "Intel VT-d device info"
Above all agreed.
Best regards, baolu