hw/arm/smmu-common: Remove the repeated ttb field
PATCH 1/1 hw/arm/smmu-common: Remove the repeated ttb field
SMMUTransCfg->ttb is never used in QEMU, TT base address can be accessed by SMMUTransCfg->tt[i]->ttb.
Signed-off-by JianChunfu <[email protected]>
--- include/hw/arm/smmu-common.h | 1 - 1 file changed, 1 deletion(-)
include/hw/arm/smmu-common.h +0 -1
@@ -110,7 +110,6 @@ typedef struct SMMUTransCfg {/* Used by stage-1 only. */ bool aa64;/* arch64 or aarch32 translation table */ bool record_faults;/* record fault events */ -uint64_t ttb;/* TT base address */ uint8_t oas;/* output address width */ uint8_t tbi;/* Top Byte Ignore */ int asid;
Signature · 1 line
2.47.1
Hi,
Quoted 4 lines · JianChunfu
SMMUTransCfg->ttbis never used in QEMU, TT base address can be accessed by SMMUTransCfg->tt[i]->ttb.Signed-off-by JianChunfu <[email protected]>
Reviewed-by Eric Auger <[email protected]>
Thanks!
Eric
Quoted 16 lines
--- include/hw/arm/smmu-common.h | 1 - 1 file changed, 1 deletion(-)include/hw/arm/smmu-common.h +0
-1@@ -110,7 +110,6 @@ typedef struct SMMUTransCfg {/* Used by stage-1 only. */ bool aa64;/* arch64 or aarch32 translation table */ bool record_faults;/* record fault events */ -uint64_t ttb;/* TT base address */ uint8_t oas;/* output address width */ uint8_t tbi;/* Top Byte Ignore */ int asid;
Peter Maydell
AppliedQuoted 14 lines · JianChunfu
SMMUTransCfg->ttbis never used in QEMU, TT base address can be accessed by SMMUTransCfg->tt[i]->ttb.Signed-off-by JianChunfu <[email protected]>--- include/hw/arm/smmu-common.h | 1 - 1 file changed, 1 deletion(-)include/hw/arm/smmu-common.h +0
-0
include/hw/arm/smmu-common.h typedef struct SMMUTransCfg {
Quoted 8 lines
include/hw/arm/smmu-common.h +0
-2@@ -110,7 +110,6 @@ typedef struct SMMUTransCfg {/* Used by stage-1 only. */ bool aa64;/* arch64 or aarch32 translation table */ bool record_faults;/* record fault events */ -uint64_t ttb;/* TT base address */ uint8_t oas;/* output address width */ uint8_t tbi;/* Top Byte Ignore */ int asid; --
Applied to target-arm.next, thanks.
-- PMM