Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux

Pull arm64 fix from Catalin Marinas:
"Fix kernel panic on ACPI-based systems where CPU capacity description
is not currently handled"

* tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux:
arm64: skip register_cpufreq_notifier on ACPI-based systems

+7 -1
+7 -1
arch/arm64/kernel/topology.c
··· 11 11 * for more details. 12 12 */ 13 13 14 + #include <linux/acpi.h> 14 15 #include <linux/cpu.h> 15 16 #include <linux/cpumask.h> 16 17 #include <linux/init.h> ··· 210 209 211 210 static int __init register_cpufreq_notifier(void) 212 211 { 213 - if (cap_parsing_failed) 212 + /* 213 + * on ACPI-based systems we need to use the default cpu capacity 214 + * until we have the necessary code to parse the cpu capacity, so 215 + * skip registering cpufreq notifier. 216 + */ 217 + if (!acpi_disabled || cap_parsing_failed) 214 218 return -EINVAL; 215 219 216 220 if (!alloc_cpumask_var(&cpus_to_visit, GFP_KERNEL)) {