* [PATCH] hw/arm/smmu-common: Remove the repeated ttb field
@ 2025-02-21 3:10 JianChunfu
2025-02-27 9:29 ` Eric Auger
2025-03-03 14:09 ` Peter Maydell
0 siblings, 2 replies; 3+ messages in thread
From: JianChunfu @ 2025-02-21 3:10 UTC (permalink / raw)
To: eric.auger; +Cc: peter.maydell, qemu-arm, qemu-devel, JianChunfu
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>
---
include/hw/arm/smmu-common.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/include/hw/arm/smmu-common.h b/include/hw/arm/smmu-common.h
index d1a4a6455..e5ad55bba 100644
--- a/include/hw/arm/smmu-common.h
+++ b/include/hw/arm/smmu-common.h
@@ -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;
--
2.47.1
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [PATCH] hw/arm/smmu-common: Remove the repeated ttb field
2025-02-21 3:10 [PATCH] hw/arm/smmu-common: Remove the repeated ttb field JianChunfu
@ 2025-02-27 9:29 ` Eric Auger
2025-03-03 14:09 ` Peter Maydell
1 sibling, 0 replies; 3+ messages in thread
From: Eric Auger @ 2025-02-27 9:29 UTC (permalink / raw)
To: JianChunfu; +Cc: peter.maydell, qemu-arm, qemu-devel
Hi,
On 2/21/25 4:10 AM, JianChunfu wrote:
> 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>
Thanks!
Eric
> ---
> include/hw/arm/smmu-common.h | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/include/hw/arm/smmu-common.h b/include/hw/arm/smmu-common.h
> index d1a4a6455..e5ad55bba 100644
> --- a/include/hw/arm/smmu-common.h
> +++ b/include/hw/arm/smmu-common.h
> @@ -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;
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [PATCH] hw/arm/smmu-common: Remove the repeated ttb field
2025-02-21 3:10 [PATCH] hw/arm/smmu-common: Remove the repeated ttb field JianChunfu
2025-02-27 9:29 ` Eric Auger
@ 2025-03-03 14:09 ` Peter Maydell
1 sibling, 0 replies; 3+ messages in thread
From: Peter Maydell @ 2025-03-03 14:09 UTC (permalink / raw)
To: JianChunfu; +Cc: eric.auger, qemu-arm, qemu-devel
On Fri, 21 Feb 2025 at 03:10, JianChunfu <jansef.jian@hj-micro.com> wrote:
>
> 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>
> ---
> include/hw/arm/smmu-common.h | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/include/hw/arm/smmu-common.h b/include/hw/arm/smmu-common.h
> index d1a4a6455..e5ad55bba 100644
> --- a/include/hw/arm/smmu-common.h
> +++ b/include/hw/arm/smmu-common.h
> @@ -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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-03-03 14:11 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-21 3:10 [PATCH] hw/arm/smmu-common: Remove the repeated ttb field JianChunfu
2025-02-27 9:29 ` Eric Auger
2025-03-03 14:09 ` Peter Maydell
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).