iommu/amd: Unify reserved member naming convention in struct
Subsystems (2)
PATCH 2/2 iommu/amd: Revise ga_tag member in struct of fields_remap
In reply to Wesley ShengPer <<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 <[email protected]>
--- drivers/iommu/amd/amd_iommu_types.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/iommu/amd/amd_iommu_types.h +1 -1
@@ -832,7 +832,7 @@ union irte_ga_lo {/* ------ */ guest_mode : 1, destination : 24, - ga_tag : 32; + rsvd_1 : 32; } fields_remap;/* For guest vAPIC */
Signature · 1 line
2.16.2
PATCH 1/2 iommu/amd: Unify reserved member naming convention in struct
Unify reserved member naming convention to rsvd_x in struct
Signed-off-by Wesley Sheng <[email protected]>
--- drivers/iommu/amd/amd_iommu_types.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/iommu/amd/amd_iommu_types.h +1 -1
@@ -841,7 +841,7 @@ union irte_ga_lo { no_fault : 1, /* ------ */ ga_log_intr : 1, - rsvd1 : 3, + rsvd_1 : 3, is_run : 1, /* ------ */ guest_mode : 1,
Signature · 1 line
2.16.2