From: Richard Henderson <richard.henderson@linaro.org>
To: Peter Xu <peterx@redhat.com>, qemu-devel@nongnu.org
Cc: "Paolo Bonzini" <pbonzini@redhat.com>,
"Peter Maydell" <peter.maydell@linaro.org>,
"Philippe Mathieu-Daudé" <philmd@mailo.com>
Subject: Re: [PATCH v2 3/9] arm/mps: Remove 32bit define for MPS3_DDR_SIZE
Date: Wed, 19 Aug 2026 12:43:39 -0700 [thread overview]
Message-ID: <85a2fdb4-e235-4411-be0c-e020a6d233fc@linaro.org> (raw)
In-Reply-To: <20260818172012.3052821-4-peterx@redhat.com>
On 8/18/26 10:20, Peter Xu wrote:
> QEMU has switched to 64bit-only hosts for all system emulations.
>
> Signed-off-by: Peter Xu <peterx@redhat.com>
> ---
> hw/arm/mps2-tz.c | 9 ---------
> hw/arm/mps3r.c | 8 --------
> 2 files changed, 17 deletions(-)
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
r~
>
> diff --git a/hw/arm/mps2-tz.c b/hw/arm/mps2-tz.c
> index d6d178642b..f47b0cacb8 100644
> --- a/hw/arm/mps2-tz.c
> +++ b/hw/arm/mps2-tz.c
> @@ -178,16 +178,7 @@ OBJECT_DECLARE_TYPE(MPS2TZMachineState, MPS2TZMachineClass, MPS2TZ_MACHINE)
>
> /* Slow 32Khz S32KCLK frequency in Hz */
> #define S32KCLK_FRQ (32 * 1000)
> -
> -/*
> - * The MPS3 DDR is 2GiB, but on a 32-bit host QEMU doesn't permit
> - * emulation of that much guest RAM, so artificially make it smaller.
> - */
> -#if HOST_LONG_BITS == 32
> -#define MPS3_DDR_SIZE (1 * GiB)
> -#else
> #define MPS3_DDR_SIZE (2 * GiB)
> -#endif
>
> /* For cpu{0,1}_mpu_{ns,s}, means "leave at SSE's default value" */
> #define MPU_REGION_DEFAULT UINT32_MAX
> diff --git a/hw/arm/mps3r.c b/hw/arm/mps3r.c
> index caad820d3b..82a354e958 100644
> --- a/hw/arm/mps3r.c
> +++ b/hw/arm/mps3r.c
> @@ -59,15 +59,7 @@ typedef struct RAMInfo {
> int flags;
> } RAMInfo;
>
> -/*
> - * The MPS3 DDR is 3GiB, but on a 32-bit host QEMU doesn't permit
> - * emulation of that much guest RAM, so artificially make it smaller.
> - */
> -#if HOST_LONG_BITS == 32
> -#define MPS3_DDR_SIZE (1 * GiB)
> -#else
> #define MPS3_DDR_SIZE (3 * GiB)
> -#endif
>
> /*
> * Flag values:
next prev parent reply other threads:[~2026-08-19 19:48 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-18 17:20 [PATCH v2 0/9] Remove 32bit support on system/user emulations Peter Xu
2026-08-18 17:20 ` [PATCH v2 1/9] system: Define ram_addr_t to be always uint64_t Peter Xu
2026-08-18 17:20 ` [PATCH v2 2/9] hw/vexpress.c: Remove forced cast to u64 Peter Xu
2026-08-19 0:49 ` Philippe Mathieu-Daudé
2026-08-19 19:43 ` Richard Henderson
2026-08-18 17:20 ` [PATCH v2 3/9] arm/mps: Remove 32bit define for MPS3_DDR_SIZE Peter Xu
2026-08-19 0:50 ` Philippe Mathieu-Daudé
2026-08-19 19:43 ` Richard Henderson [this message]
2026-08-18 17:20 ` [PATCH v2 4/9] xen-mapcache: Remove 32bit support Peter Xu
2026-08-19 19:44 ` Richard Henderson
2026-08-18 17:20 ` [PATCH v2 5/9] bsd-user: Remove 32bit host support in thunk_convert|print() Peter Xu
2026-08-19 19:44 ` Richard Henderson
2026-08-20 5:47 ` Warner Losh
2026-08-18 17:20 ` [PATCH v2 6/9] linux-user: " Peter Xu
2026-08-19 19:44 ` Richard Henderson
2026-08-18 17:20 ` [PATCH v2 7/9] arm/aspeed: Drop ASPEED_RAM_SIZE Peter Xu
2026-08-19 0:47 ` Philippe Mathieu-Daudé
2026-08-19 7:11 ` Cédric Le Goater
2026-08-18 17:20 ` [PATCH v2 8/9] hw/arm/raspi4b: Drop board_rev for 32bit hosts Peter Xu
2026-08-19 0:54 ` Philippe Mathieu-Daudé
2026-08-19 17:18 ` Peter Xu
2026-08-20 4:50 ` Philippe Mathieu-Daudé
2026-08-18 17:20 ` [PATCH v2 9/9] machine: Remove 32bit limitation on ram size Peter Xu
2026-08-19 19:46 ` Richard Henderson
2026-08-20 6:29 ` Philippe Mathieu-Daudé
2026-08-24 19:25 ` [PATCH v2 0/9] Remove 32bit support on system/user emulations Peter Xu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=85a2fdb4-e235-4411-be0c-e020a6d233fc@linaro.org \
--to=richard.henderson@linaro.org \
--cc=pbonzini@redhat.com \
--cc=peter.maydell@linaro.org \
--cc=peterx@redhat.com \
--cc=philmd@mailo.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.