APPLIED[U]: [SRU][K/Unstable][PATCH 0/1] Support up to 32 CPUs on riscv64

Andrea Righi andrea.righi at canonical.com
Wed Oct 12 06:58:38 UTC 2022


On Wed, Aug 31, 2022 at 02:24:13PM +0200, Emil Renner Berthing wrote:
> [Impact]
> 
>  * Currently our riscv64 kernels don't support more than 8 CPUs.
> 
>  * The QEMU 7.0 virt machine supports up to 512 virtual CPUs.
> 
>  * Raising CONFIG_NR_CPUS to the maximum of 32 allows us to use
>    more of them.
> 
> [Test Plan]
> 
>  * Run riscv64 Ubuntu in a QEMU virt instance with more than 8
>    virtual CPUs and see that only 8 of them are used.
> 
>  * After raising CONFIG_NR_CPUS up to 32 of them should be used.
> 
> [Where problems could occur]
> 
>  * This will allocate slightly more RAM which might hurt very small
>    machines.

Applied to kinetic/linux-unstable.

Thanks,
-Andrea



More information about the kernel-team mailing list