]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
hw/arm/smmu-common: Remove the repeated ttb field
authorJianChunfu <jansef.jian@hj-micro.com>
Fri, 7 Mar 2025 10:08:18 +0000 (10:08 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 7 Mar 2025 10:08:18 +0000 (10:08 +0000)
SMMUTransCfg->ttb is never used in QEMU, TT base address
can be accessed by SMMUTransCfg->tt[i]->ttb.

Signed-off-by: JianChunfu <jansef.jian@hj-micro.com>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Message-id: 20250221031034.69822-1-jansef.jian@hj-micro.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
include/hw/arm/smmu-common.h

index d1a4a64551d3cb5e4cdca58aab8e6ba931f24490..e5ad55bbae71df0f63d354324d5edd9fff60cde6 100644 (file)
@@ -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;