History

iommufd: Correct virt_id kdoc at struct iommu_vdevice_alloc

The userspace-api iommufd.rst has described it correctly but the uAPI doc was remained uncorrected. Thus, fix it.

Nicolin Chen committed 1 year ago

Commit fca02261 parent b23e09f1 file · +1 −1Browse files

Unified · Split

include/uapi/linux/iommufd.h+1−1
@@ -995,7 +995,7 @@ struct iommu_viommu_alloc { · 994 unmodified lines
995995 * @dev_id: The physical device to allocate a virtual instance on the vIOMMU
996996 * @out_vdevice_id: Object handle for the vDevice. Pass to IOMMU_DESTORY
997997 * @virt_id: Virtual device ID per vIOMMU, e.g. vSID of ARM SMMUv3, vDeviceID
998− * of AMD IOMMU, and vRID of a nested Intel VT-d to a Context Table
998+ * of AMD IOMMU, and vRID of Intel VT-d
999999 *
10001000 * Allocate a virtual device instance (for a physical device) against a vIOMMU.
10011001 * This instance holds the device's information (related to its vIOMMU) in a VM.