Per <<AMD I/0 Virtualization Technology (IOMMU) specification>> ga_tag member is only available when IRTE[GuestMode]=1, this field should be reserved when IRTE[GuestMode]=0. So change the ga_tag to rsvd_1 in struct of fields_remap.
Signed-off-by: Wesley Sheng <wesley.sh...@amd.com> --- drivers/iommu/amd/amd_iommu_types.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iommu/amd/amd_iommu_types.h b/drivers/iommu/amd/amd_iommu_types.h index e5b05a97eb46..baa31cd2411c 100644 --- a/drivers/iommu/amd/amd_iommu_types.h +++ b/drivers/iommu/amd/amd_iommu_types.h @@ -832,7 +832,7 @@ union irte_ga_lo { /* ------ */ guest_mode : 1, destination : 24, - ga_tag : 32; + rsvd_1 : 32; } fields_remap; /* For guest vAPIC */ -- 2.16.2