hw/riscv: virt: Allow support for 32 cores
commitd4452c692488228e6dce193f4f98ac762588d96a
authorAlistair Francis <alistair.francis@wdc.com>
Wed, 5 Jan 2022 21:39:37 +0000 (6 07:39 +1000)
committerAlistair Francis <alistair.francis@wdc.com>
Sat, 8 Jan 2022 05:46:09 +0000 (8 15:46 +1000)
treeda7d24d1749d845a46c1042f6ca8b3ab95bd5e20
parent8f972e5b4beeeb35b15f75499d18a8cc5a320ce7
hw/riscv: virt: Allow support for 32 cores

Linux supports up to 32 cores for both 32-bit and 64-bit RISC-V, so
let's set that as the maximum for the virt board.

Resolves: https://gitlab.com/qemu-project/qemu/-/issues/435
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Anup Patel <anup.patel@wdc.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Message-Id: <20220105213937.1113508-9-alistair.francis@opensource.wdc.com>
include/hw/riscv/virt.h