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 'pm+acpi-4.5-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm

Pull power management and ACPI fixes from Rafael Wysocki:
"Two build fixes for cpufreq drivers (including one for breakage
introduced recently) and a fix for a graph tracer crash when used over
suspend-to-RAM on x86.

Specifics:

- Prevent the graph tracer from crashing when used over suspend-to-
RAM on x86 by pausing it before invoking do_suspend_lowlevel() and
un-pausing it when that function has returned (Todd Brandt).

- Fix build issues in the qoriq and mediatek cpufreq drivers related
to broken dependencies on THERMAL (Arnd Bergmann)"

* tag 'pm+acpi-4.5-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
PM / sleep / x86: Fix crash on graph trace through x86 suspend
cpufreq: mediatek: allow building as a module
cpufreq: qoriq: allow building as module with THERMAL=m

+11 -2
+7
arch/x86/kernel/acpi/sleep.c
··· 16 16 #include <asm/cacheflush.h> 17 17 #include <asm/realmode.h> 18 18 19 + #include <linux/ftrace.h> 19 20 #include "../../realmode/rm/wakeup.h" 20 21 #include "sleep.h" 21 22 ··· 108 107 saved_magic = 0x123456789abcdef0L; 109 108 #endif /* CONFIG_64BIT */ 110 109 110 + /* 111 + * Pause/unpause graph tracing around do_suspend_lowlevel as it has 112 + * inconsistent call/return info after it jumps to the wakeup vector. 113 + */ 114 + pause_graph_tracing(); 111 115 do_suspend_lowlevel(); 116 + unpause_graph_tracing(); 112 117 return 0; 113 118 } 114 119
+1
drivers/cpufreq/Kconfig
··· 296 296 config QORIQ_CPUFREQ 297 297 tristate "CPU frequency scaling driver for Freescale QorIQ SoCs" 298 298 depends on OF && COMMON_CLK && (PPC_E500MC || ARM) 299 + depends on !CPU_THERMAL || THERMAL 299 300 select CLK_QORIQ 300 301 help 301 302 This adds the CPUFreq driver support for Freescale QorIQ SoCs
+2 -2
drivers/cpufreq/Kconfig.arm
··· 84 84 SoCs. 85 85 86 86 config ARM_MT8173_CPUFREQ 87 - bool "Mediatek MT8173 CPUFreq support" 87 + tristate "Mediatek MT8173 CPUFreq support" 88 88 depends on ARCH_MEDIATEK && REGULATOR 89 89 depends on ARM64 || (ARM_CPU_TOPOLOGY && COMPILE_TEST) 90 - depends on !CPU_THERMAL || THERMAL=y 90 + depends on !CPU_THERMAL || THERMAL 91 91 select PM_OPP 92 92 help 93 93 This adds the CPUFreq driver support for Mediatek MT8173 SoC.
+1
drivers/cpufreq/mt8173-cpufreq.c
··· 17 17 #include <linux/cpu_cooling.h> 18 18 #include <linux/cpufreq.h> 19 19 #include <linux/cpumask.h> 20 + #include <linux/module.h> 20 21 #include <linux/of.h> 21 22 #include <linux/platform_device.h> 22 23 #include <linux/pm_opp.h>