[SRU][K/Unstable][PATCH 1/1] UBUNTU: [Config] Raise riscv64 CONFIG_NR_CPUS to 32

Emil Renner Berthing emil.renner.berthing at canonical.com
Wed Aug 31 12:24:14 UTC 2022


BugLink: https://bugs.launchpad.net/bugs/1967889

The QEMU 7.0 virt machine supports up to 512 virtual CPUs, so raise this
limit to the maximum of 32 so we can use more of them.

Signed-off-by: Emil Renner Berthing <emil.renner.berthing at canonical.com>
---
 debian.master/config/annotations                   | 2 +-
 debian.master/config/riscv64/config.common.riscv64 | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/debian.master/config/annotations b/debian.master/config/annotations
index 94d020d5142e..55c83230334a 100644
--- a/debian.master/config/annotations
+++ b/debian.master/config/annotations
@@ -13391,7 +13391,7 @@ CONFIG_PM_DEBUG                                 flag<REVIEW>
 
 # Menu: Processor support
 CONFIG_SMP                                      policy<{'amd64': 'y', 'arm64': 'y', 'armhf': 'y', 'ppc64el': 'y', 'riscv64': 'y', 's390x': 'y'}>
-CONFIG_NR_CPUS                                  policy<{'amd64': '8192', 'arm64': '256', 'armhf': '4', 'ppc64el': '2048', 'riscv64': '8', 's390x': '512'}>
+CONFIG_NR_CPUS                                  policy<{'amd64': '8192', 'arm64': '256', 'armhf': '4', 'ppc64el': '2048', 'riscv64': '32', 's390x': '512'}>
 #
 CONFIG_NR_CPUS                                  note<LP: #1864198>
 
diff --git a/debian.master/config/riscv64/config.common.riscv64 b/debian.master/config/riscv64/config.common.riscv64
index 87cf31fe2ece..8e398bd8491a 100644
--- a/debian.master/config/riscv64/config.common.riscv64
+++ b/debian.master/config/riscv64/config.common.riscv64
@@ -449,7 +449,7 @@ CONFIG_NFP=m
 CONFIG_NODES_SHIFT=2
 CONFIG_NOP_USB_XCEIV=m
 CONFIG_NOZOMI=m
-CONFIG_NR_CPUS=8
+CONFIG_NR_CPUS=32
 CONFIG_NTB=m
 # CONFIG_NTFS_RW is not set
 CONFIG_NULL_TTY=m
-- 
2.37.2




More information about the kernel-team mailing list