Skip to content

Commit

Permalink
Revert "ARM64: Dynamically allocate cpumasks and increase supported C…
Browse files Browse the repository at this point in the history
…PUs 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]
  • Loading branch information
ctmarinas committed Mar 11, 2024
1 parent 88f0912 commit f1bbc4e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions arch/arm64/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit f1bbc4e

Please sign in to comment.