Re: [PATCH] Make ram_addr_t 64 bits unconditionally

2021-02-27 Thread Bin Meng
Hi Peter, On Fri, Feb 19, 2021 at 9:11 PM Peter Maydell wrote: > > On Fri, 19 Feb 2021 at 12:52, Bin Meng wrote: > > > > From: Bin Meng > > > > Currently machine->ram_size is a ram_addr_t, whose size is 64 bits > > if either (a) the host is 64 bits or (b) CONFIG_XEN_BACKEND is > > enabled, so i

Re: [PATCH] Make ram_addr_t 64 bits unconditionally

2021-02-19 Thread Peter Maydell
On Fri, 19 Feb 2021 at 12:52, Bin Meng wrote: > > From: Bin Meng > > Currently machine->ram_size is a ram_addr_t, whose size is 64 bits > if either (a) the host is 64 bits or (b) CONFIG_XEN_BACKEND is > enabled, so it's effectively only 32 bits on 32-bit-not-x86. > > commit 4be403c8158e ("Make ta

[PATCH] Make ram_addr_t 64 bits unconditionally

2021-02-19 Thread Bin Meng
From: Bin Meng Currently machine->ram_size is a ram_addr_t, whose size is 64 bits if either (a) the host is 64 bits or (b) CONFIG_XEN_BACKEND is enabled, so it's effectively only 32 bits on 32-bit-not-x86. commit 4be403c8158e ("Make target_phys_addr_t 64 bits unconditionally") did the change for