[RFC PATCH 2/5] vfio/iommufd: Add amd specific hardware info struct to vendor capability

Sairaj Kodilkar posted 5 patches 2 weeks, 2 days ago
Only 3 patches received!
[RFC PATCH 2/5] vfio/iommufd: Add amd specific hardware info struct to vendor capability
Posted by Sairaj Kodilkar 2 weeks, 2 days ago
Update the vendor capability structure to have `struct iommu_hw_info_amd`.
AMD vIOMMU can use this to determine hardware features supported by the
host IOMMU.

Signed-off-by: Sairaj Kodilkar <sarunkod@amd.com>
---
 include/system/host_iommu_device.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/system/host_iommu_device.h b/include/system/host_iommu_device.h
index ab849a4a82d5..cb1745b97a09 100644
--- a/include/system/host_iommu_device.h
+++ b/include/system/host_iommu_device.h
@@ -20,6 +20,7 @@
 typedef union VendorCaps {
     struct iommu_hw_info_vtd vtd;
     struct iommu_hw_info_arm_smmuv3 smmuv3;
+    struct iommu_hw_info_amd amd;
 } VendorCaps;
 
 /**
-- 
2.34.1