Skip to content

Commit 661dc19

Browse files
committed
Merge tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux
Pull arm64 fixes from Catalin Marinas: - Re-instate the CPUMASK_OFFSTACK option for arm64 when NR_CPUS > 256. The bug that led to the initial revert was the cpufreq-dt code not using zalloc_cpumask_var(). - Make the STARFIVE_STARLINK_PMU config option depend on 64BIT to prevent compile-test failures on 32-bit architectures due to missing writeq(). * tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux: perf: starfive: fix 64-bit only COMPILE_TEST condition ARM64: Dynamically allocate cpumasks and increase supported CPUs to 512
2 parents 3faae16 + 1d63d1d commit 661dc19

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

arch/arm64/Kconfig

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ 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
123124
select CRC32
124125
select DCACHE_WORD_ACCESS
125126
select DYNAMIC_FTRACE if FUNCTION_TRACER
@@ -1425,7 +1426,7 @@ config SCHED_SMT
14251426
config NR_CPUS
14261427
int "Maximum number of CPUs (2-4096)"
14271428
range 2 4096
1428-
default "256"
1429+
default "512"
14291430

14301431
config HOTPLUG_CPU
14311432
bool "Support for hot-pluggable CPUs"

drivers/perf/Kconfig

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,8 @@ config RISCV_PMU_SBI
8787
filtering, counter configuration.
8888

8989
config STARFIVE_STARLINK_PMU
90-
depends on ARCH_STARFIVE || (COMPILE_TEST && 64BIT)
90+
depends on ARCH_STARFIVE || COMPILE_TEST
91+
depends on 64BIT
9192
bool "StarFive StarLink PMU"
9293
help
9394
Provide support for StarLink Performance Monitor Unit.

0 commit comments

Comments
 (0)