summary refs log tree commit diff stats
path: root/hw/mips/mips_int.c
diff options
context:
space:
mode:
authorDaniel Henrique Barboza <danielhb413@gmail.com>2021-04-08 17:40:49 -0300
committerDavid Gibson <david@gibson.dropbear.id.au>2021-05-04 11:41:25 +1000
commitb7573092ab6749bff4b50a7b291a74d1cbb42f57 (patch)
treef65c0227cdc9237d37367f175dd4996dbb65a46b /hw/mips/mips_int.c
parent5642e4513e60b46473422902d7cc34e894e8793d (diff)
downloadfocaccia-qemu-b7573092ab6749bff4b50a7b291a74d1cbb42f57.tar.gz
focaccia-qemu-b7573092ab6749bff4b50a7b291a74d1cbb42f57.zip
spapr.h: increase FDT_MAX_SIZE
Certain SMP topologies stress, e.g. 1 thread/core, 2048 cores and
1 socket, stress the current maximum size of the pSeries FDT:

Calling ibm,client-architecture-support...qemu-system-ppc64: error
creating device tree: (fdt_setprop(fdt, offset,
"ibm,processor-segment-sizes", segs, sizeof(segs))): FDT_ERR_NOSPACE

2048 is the default NR_CPUS value for the pSeries kernel. It's expected
that users will want QEMU to be able to handle this kind of
configuration.

Bumping FDT_MAX_SIZE to 2MB is enough for these setups to be created.

Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Message-Id: <20210408204049.221802-3-danielhb413@gmail.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'hw/mips/mips_int.c')
0 files changed, 0 insertions, 0 deletions