qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2 8/9] hw/riscv: virt: Allow support for 32 cores


From: Alistair Francis
Subject: Re: [PATCH v2 8/9] hw/riscv: virt: Allow support for 32 cores
Date: Mon, 20 Dec 2021 15:41:38 +1000

On Thu, Dec 16, 2021 at 6:18 PM Philippe Mathieu-Daudé <f4bug@amsat.org> wrote:
>
> On 12/16/21 06:58, Anup Patel wrote:
> > On Thu, Dec 16, 2021 at 10:27 AM Alistair Francis
> > <alistair.francis@opensource.wdc.com> wrote:
> >>
> >> From: Alistair Francis <alistair.francis@wdc.com>
> >>
> >> 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>
>
> > IMO, we should keep QEMU VIRT_CPUS_MAX as high as
> > possible to allow any kind of software Linux, OpenSBI, FreeBSD,
> > Xvisor, Xen, etc. Let the guest software decide it's own limit (such
> > as NR_CPUS of Linux).
>
> Agreed.

I agree as well. I'm happy to increase this in the future, the problem
is that I am only able to test it with 32 cores on Linux.

Alistair



reply via email to

[Prev in Thread] Current Thread [Next in Thread]