Skip to content

Commit

Permalink
configs: Enable HOTPLUG_CPU
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
popcornmix committed Oct 14, 2024
1 parent 0985b32 commit 120e4f2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions arch/arm64/configs/bcm2711_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ CONFIG_ARCH_BRCMSTB=y
# CONFIG_CAVIUM_ERRATUM_22375 is not set
# CONFIG_CAVIUM_ERRATUM_23154 is not set
# CONFIG_CAVIUM_ERRATUM_27456 is not set
CONFIG_HOTPLUG_CPU=y
CONFIG_COMPAT=y
CONFIG_ARMV8_DEPRECATED=y
CONFIG_SWP_EMULATION=y
Expand Down
1 change: 1 addition & 0 deletions arch/arm64/configs/bcm2712_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ CONFIG_ARCH_BRCMSTB=y
# CONFIG_CAVIUM_ERRATUM_23154 is not set
# CONFIG_CAVIUM_ERRATUM_27456 is not set
CONFIG_ARM64_16K_PAGES=y
CONFIG_HOTPLUG_CPU=y
CONFIG_COMPAT=y
CONFIG_ARMV8_DEPRECATED=y
CONFIG_SWP_EMULATION=y
Expand Down

0 comments on commit 120e4f2

Please sign in to comment.