From: Catalin Marinas Date: Mon, 11 Mar 2024 18:40:49 +0000 (+0000) Subject: Revert "ARM64: Dynamically allocate cpumasks and increase supported CPUs to 512" X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=f1bbc4e9cfa4c0f29883171e9d01c01cbe94becc;p=linux.git Revert "ARM64: Dynamically allocate cpumasks and increase supported CPUs to 512" This reverts commit 0499a78369adacec1af29340b71ff8dd375b4697. Enabling CPUMASK_OFFSTACK on arm64 triggers a warning in the dev_pm_opp_set_config() function followed by a failure to set the regulators and cpufreq-dt probing error. There is no apparent reason why this happens, so revert this commit until further investigation. Signed-off-by: Catalin Marinas Reported-by: Marek Szyprowski Link: https://lore.kernel.org/r/c1f2902d-cefc-4122-9b86-d1d32911f590@samsung.com --- diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index 6daceefcedfc4..24dfd87fab933 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -120,7 +120,6 @@ config ARM64 select CLONE_BACKWARDS select COMMON_CLK select CPU_PM if (SUSPEND || CPU_IDLE) - select CPUMASK_OFFSTACK if NR_CPUS > 256 select CRC32 select DCACHE_WORD_ACCESS select DYNAMIC_FTRACE if FUNCTION_TRACER @@ -1431,7 +1430,7 @@ config SCHED_SMT config NR_CPUS int "Maximum number of CPUs (2-4096)" range 2 4096 - default "512" + default "256" config HOTPLUG_CPU bool "Support for hot-pluggable CPUs"