Skip to content

Commit dd3f9f7

Browse files
popcornmixpelwell
authored andcommitted
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 <[email protected]>
1 parent 0985b32 commit dd3f9f7

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

arch/arm64/configs/bcm2711_defconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ CONFIG_ARCH_BRCMSTB=y
4141
# CONFIG_CAVIUM_ERRATUM_22375 is not set
4242
# CONFIG_CAVIUM_ERRATUM_23154 is not set
4343
# CONFIG_CAVIUM_ERRATUM_27456 is not set
44+
CONFIG_HOTPLUG_CPU=y
4445
CONFIG_COMPAT=y
4546
CONFIG_ARMV8_DEPRECATED=y
4647
CONFIG_SWP_EMULATION=y

arch/arm64/configs/bcm2712_defconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ CONFIG_ARCH_BRCMSTB=y
4242
# CONFIG_CAVIUM_ERRATUM_23154 is not set
4343
# CONFIG_CAVIUM_ERRATUM_27456 is not set
4444
CONFIG_ARM64_16K_PAGES=y
45+
CONFIG_HOTPLUG_CPU=y
4546
CONFIG_COMPAT=y
4647
CONFIG_ARMV8_DEPRECATED=y
4748
CONFIG_SWP_EMULATION=y

0 commit comments

Comments
 (0)