configs: Enable HOTPLUG_CPU

This works and can be useful for
debugging/benchmarking/low power use

$ nproc
4
$ echo 0 | sudo tee  /sys/devices/system/cpu/cpu3/online
0
$ echo 0 | sudo tee  /sys/devices/system/cpu/cpu2/online
0
$ echo 0 | sudo tee  /sys/devices/system/cpu/cpu1/online
0
$ nproc
1

Signed-off-by: Dom Cobley <popcornmix@gmail.com>
This commit is contained in:
Dom Cobley
2024-10-10 16:26:02 +01:00
committed by Phil Elwell
parent 4eb5854c2a
commit eac6399d92
2 changed files with 2 additions and 0 deletions

View File

@@ -48,6 +48,7 @@ CONFIG_ARM64_ERRATUM_2441009=y
# CONFIG_CAVIUM_ERRATUM_27456 is not set
CONFIG_ARM64_VA_BITS_39=y
CONFIG_NR_CPUS=4
CONFIG_HOTPLUG_CPU=y
CONFIG_COMPAT=y
CONFIG_ARMV8_DEPRECATED=y
CONFIG_SWP_EMULATION=y

View File

@@ -49,6 +49,7 @@ CONFIG_ARM64_ERRATUM_2441009=y
CONFIG_ARM64_16K_PAGES=y
CONFIG_ARM64_VA_BITS_47=y
CONFIG_NR_CPUS=4
CONFIG_HOTPLUG_CPU=y
CONFIG_COMPAT=y
CONFIG_ARMV8_DEPRECATED=y
CONFIG_SWP_EMULATION=y