From 120e4f2d67ec02dc3ca10f1e8bef5a984a16c274 Mon Sep 17 00:00:00 2001 From: Dom Cobley Date: Thu, 10 Oct 2024 16:26:02 +0100 Subject: [PATCH] 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 --- arch/arm64/configs/bcm2711_defconfig | 1 + arch/arm64/configs/bcm2712_defconfig | 1 + 2 files changed, 2 insertions(+) diff --git a/arch/arm64/configs/bcm2711_defconfig b/arch/arm64/configs/bcm2711_defconfig index 9a3a41e5b8d445..81ff4173a569e3 100644 --- a/arch/arm64/configs/bcm2711_defconfig +++ b/arch/arm64/configs/bcm2711_defconfig @@ -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 diff --git a/arch/arm64/configs/bcm2712_defconfig b/arch/arm64/configs/bcm2712_defconfig index f1539a895c76ba..905bc8cf663896 100644 --- a/arch/arm64/configs/bcm2712_defconfig +++ b/arch/arm64/configs/bcm2712_defconfig @@ -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