From eac6399d92f265f314c42e8d56d3048c6d58ceb5 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 d75862f9c8639a..c814bf8dd4d322 100644 --- a/arch/arm64/configs/bcm2711_defconfig +++ b/arch/arm64/configs/bcm2711_defconfig @@ -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 diff --git a/arch/arm64/configs/bcm2712_defconfig b/arch/arm64/configs/bcm2712_defconfig index 8234dc3b9f1d72..649ddeceded7df 100644 --- a/arch/arm64/configs/bcm2712_defconfig +++ b/arch/arm64/configs/bcm2712_defconfig @@ -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