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

Showing the changes to include/uapi (1 of 1 file). Show all

Unified · Split

include/uapi/linux/iommufd.h+1−1
@@ -995,7 +995,7 @@ struct iommu_viommu_alloc { · 994 unmodified lines
995 * @dev_id: The physical device to allocate a virtual instance on the vIOMMU995 * @dev_id: The physical device to allocate a virtual instance on the vIOMMU
996 * @out_vdevice_id: Object handle for the vDevice. Pass to IOMMU_DESTORY996 * @out_vdevice_id: Object handle for the vDevice. Pass to IOMMU_DESTORY
997 * @virt_id: Virtual device ID per vIOMMU, e.g. vSID of ARM SMMUv3, vDeviceID997 * @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 Table998 * of AMD IOMMU, and vRID of Intel VT-d
999 *999 *
1000 * Allocate a virtual device instance (for a physical device) against a vIOMMU.1000 * Allocate a virtual device instance (for a physical device) against a vIOMMU.
1001 * This instance holds the device's information (related to its vIOMMU) in a VM.1001 * This instance holds the device's information (related to its vIOMMU) in a VM.