[PATCH v2 0/9] Remove 32bit support on system/user emulations

Peter Xu posted 9 patches 1 month, 1 week ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20260818172012.3052821-1-peterx@redhat.com
Maintainers: Warner Losh <imp@bsdimp.com>, Kyle Evans <kevans@freebsd.org>, "Cédric Le Goater" <clg@kaod.org>, Peter Maydell <peter.maydell@linaro.org>, Steven Lee <steven_lee@aspeedtech.com>, Troy Lee <leetroy@gmail.com>, Jamin Lin <jamin_lin@aspeedtech.com>, Kane Chen <kane_chen@aspeedtech.com>, Andrew Jeffery <andrew@codeconstruct.com.au>, Joel Stanley <joel@jms.id.au>, "Philippe Mathieu-Daudé" <philmd@mailo.com>, Zhao Liu <zhao1.liu@intel.com>, Stefano Stabellini <sstabellini@kernel.org>, Anthony PERARD <anthony@xenproject.org>, "Edgar E. Iglesias" <edgar.iglesias@gmail.com>, Paolo Bonzini <pbonzini@redhat.com>, Peter Xu <peterx@redhat.com>, Laurent Vivier <laurent@vivier.eu>, Helge Deller <deller@gmx.de>, Pierrick Bouvier <pierrick.bouvier@oss.qualcomm.com>
include/hw/arm/aspeed.h           |  7 -----
include/system/ram_addr.h         | 16 +++++------
bsd-user/thunk.c                  | 47 ++-----------------------------
hw/arm/aspeed_ast2600_anacapa.c   |  2 +-
hw/arm/aspeed_ast2600_bletchley.c |  2 +-
hw/arm/aspeed_ast2600_catalina.c  |  2 +-
hw/arm/aspeed_ast2600_fby35.c     |  2 +-
hw/arm/aspeed_ast2600_fuji.c      |  2 +-
hw/arm/aspeed_ast2600_gb200nvl.c  |  2 +-
hw/arm/mps2-tz.c                  |  9 ------
hw/arm/mps3r.c                    |  8 ------
hw/arm/raspi4b.c                  |  4 ---
hw/arm/vexpress.c                 | 13 ++-------
hw/core/machine.c                 |  8 ------
hw/xen/xen-mapcache.c             | 12 ++------
linux-user/thunk.c                | 47 ++-----------------------------
16 files changed, 24 insertions(+), 159 deletions(-)
[PATCH v2 0/9] Remove 32bit support on system/user emulations
Posted by Peter Xu 1 month, 1 week ago
v1: https://lore.kernel.org/r/20260814134035.2733355-1-peterx@redhat.com

In v2, I touched up the original patch per suggested.  Then I added some
more patches, almost quickly looking at references of HOST_LONG_BITS and
clean up those I feel confident about over 32bits.  I still left some there
(dev-properties, qht, etc.) which smells like tools may still use them.

Please have a look, thanks.

Peter Xu (9):
  system: Define ram_addr_t to be always uint64_t
  hw/vexpress.c: Remove forced cast to u64
  arm/mps: Remove 32bit define for MPS3_DDR_SIZE
  xen-mapcache: Remove 32bit support
  bsd-user: Remove 32bit host support in thunk_convert|print()
  linux-user: Remove 32bit host support in thunk_convert|print()
  arm/aspeed: Drop ASPEED_RAM_SIZE
  hw/arm/raspi4b: Drop board_rev for 32bit hosts
  machine: Remove 32bit limitation on ram size

 include/hw/arm/aspeed.h           |  7 -----
 include/system/ram_addr.h         | 16 +++++------
 bsd-user/thunk.c                  | 47 ++-----------------------------
 hw/arm/aspeed_ast2600_anacapa.c   |  2 +-
 hw/arm/aspeed_ast2600_bletchley.c |  2 +-
 hw/arm/aspeed_ast2600_catalina.c  |  2 +-
 hw/arm/aspeed_ast2600_fby35.c     |  2 +-
 hw/arm/aspeed_ast2600_fuji.c      |  2 +-
 hw/arm/aspeed_ast2600_gb200nvl.c  |  2 +-
 hw/arm/mps2-tz.c                  |  9 ------
 hw/arm/mps3r.c                    |  8 ------
 hw/arm/raspi4b.c                  |  4 ---
 hw/arm/vexpress.c                 | 13 ++-------
 hw/core/machine.c                 |  8 ------
 hw/xen/xen-mapcache.c             | 12 ++------
 linux-user/thunk.c                | 47 ++-----------------------------
 16 files changed, 24 insertions(+), 159 deletions(-)

-- 
2.54.0
Re: [PATCH v2 0/9] Remove 32bit support on system/user emulations
Posted by Peter Xu 1 month ago
On Tue, Aug 18, 2026 at 01:20:03PM -0400, Peter Xu wrote:
> v1: https://lore.kernel.org/r/20260814134035.2733355-1-peterx@redhat.com
> 
> In v2, I touched up the original patch per suggested.  Then I added some
> more patches, almost quickly looking at references of HOST_LONG_BITS and
> clean up those I feel confident about over 32bits.  I still left some there
> (dev-properties, qht, etc.) which smells like tools may still use them.
> 
> Please have a look, thanks.
> 
> Peter Xu (9):
>   system: Define ram_addr_t to be always uint64_t
>   hw/vexpress.c: Remove forced cast to u64
>   arm/mps: Remove 32bit define for MPS3_DDR_SIZE
>   xen-mapcache: Remove 32bit support
>   bsd-user: Remove 32bit host support in thunk_convert|print()
>   linux-user: Remove 32bit host support in thunk_convert|print()
>   arm/aspeed: Drop ASPEED_RAM_SIZE
>   hw/arm/raspi4b: Drop board_rev for 32bit hosts
>   machine: Remove 32bit limitation on ram size

queued.

-- 
Peter Xu