Re: [Qemu-devel] [PATCH v5 3/5] ARM: Add numa-node-id for /memory node

2016-04-23 Thread Shannon Zhao
On 2016/4/23 15:45, Andrew Jones wrote: @@ -456,14 +460,39 @@ static int load_dtb(hwaddr addr, const struct arm_boot_info *binfo, > >> goto fail; > >> } > >> > >> +mem_len = (nb_numa_nodes > 0) ? numa_info[0].node_mem : > >> binfo->ram_size

Re: [Qemu-devel] [PATCH v5 3/5] ARM: Add numa-node-id for /memory node

2016-04-23 Thread Andrew Jones
On Sat, Apr 23, 2016 at 09:16:11AM +0800, Shannon Zhao wrote: > > > On 2016/4/22 20:48, Andrew Jones wrote: > > On Thu, Apr 21, 2016 at 02:23:52PM +0800, Shannon Zhao wrote: > >> From: Shannon Zhao > >> > >> When specifying NUMA for ARM machine, generate /memory node according to > >> NUMA topol

Re: [Qemu-devel] [PATCH v5 3/5] ARM: Add numa-node-id for /memory node

2016-04-22 Thread Shannon Zhao
On 2016/4/22 20:48, Andrew Jones wrote: > On Thu, Apr 21, 2016 at 02:23:52PM +0800, Shannon Zhao wrote: >> From: Shannon Zhao >> >> When specifying NUMA for ARM machine, generate /memory node according to >> NUMA topology. >> >> Signed-off-by: Shannon Zhao >> --- >> hw/arm/boot.c | 31

Re: [Qemu-devel] [PATCH v5 3/5] ARM: Add numa-node-id for /memory node

2016-04-22 Thread Andrew Jones
On Thu, Apr 21, 2016 at 02:23:52PM +0800, Shannon Zhao wrote: > From: Shannon Zhao > > When specifying NUMA for ARM machine, generate /memory node according to > NUMA topology. > > Signed-off-by: Shannon Zhao > --- > hw/arm/boot.c | 31 ++- > 1 file changed, 30 inse

[Qemu-devel] [PATCH v5 3/5] ARM: Add numa-node-id for /memory node

2016-04-20 Thread Shannon Zhao
From: Shannon Zhao When specifying NUMA for ARM machine, generate /memory node according to NUMA topology. Signed-off-by: Shannon Zhao --- hw/arm/boot.c | 31 ++- 1 file changed, 30 insertions(+), 1 deletion(-) diff --git a/hw/arm/boot.c b/hw/arm/boot.c index 5975f