Skip to content

Commit f1bbc4e

Browse files
committed
Revert "ARM64: Dynamically allocate cpumasks and increase supported CPUs to 512"
This reverts commit 0499a78. 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 <[email protected]> Reported-by: Marek Szyprowski <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 88f0912 commit f1bbc4e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

arch/arm64/Kconfig

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,6 @@ config ARM64
120120
select CLONE_BACKWARDS
121121
select COMMON_CLK
122122
select CPU_PM if (SUSPEND || CPU_IDLE)
123-
select CPUMASK_OFFSTACK if NR_CPUS > 256
124123
select CRC32
125124
select DCACHE_WORD_ACCESS
126125
select DYNAMIC_FTRACE if FUNCTION_TRACER
@@ -1431,7 +1430,7 @@ config SCHED_SMT
14311430
config NR_CPUS
14321431
int "Maximum number of CPUs (2-4096)"
14331432
range 2 4096
1434-
default "512"
1433+
default "256"
14351434

14361435
config HOTPLUG_CPU
14371436
bool "Support for hot-pluggable CPUs"

0 commit comments

Comments
 (0)