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-5.9-rc8' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm

Pull power management fixes from Rafael Wysocki:
"These fix one more issue related to the recent RCU-lockdep changes, a
typo in documentation and add a missing return statement to
intel_pstate.

Specifics:

- Fix up RCU usage for cpuidle on the ARM imx6q platform (Ulf
Hansson)

- Fix typo in the PM documentation (Yoann Congal)

- Add return statement that is missing after recent changes in the
intel_pstate driver (Zhang Rui)"

* tag 'pm-5.9-rc8' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
ARM: imx6q: Fixup RCU usage for cpuidle
Documentation: PM: Fix a reStructuredText syntax error
cpufreq: intel_pstate: Fix missing return statement

+5 -2
+1 -1
Documentation/admin-guide/pm/cpuidle.rst
··· 690 690 instruction of the CPUs (which, as a rule, suspends the execution of the program 691 691 and causes the hardware to attempt to enter the shallowest available idle state) 692 692 for this purpose, and if ``idle=poll`` is used, idle CPUs will execute a 693 - more or less ``lightweight'' sequence of instructions in a tight loop. [Note 693 + more or less "lightweight" sequence of instructions in a tight loop. [Note 694 694 that using ``idle=poll`` is somewhat drastic in many cases, as preventing idle 695 695 CPUs from saving almost any energy at all may not be the only effect of it. 696 696 For example, on Intel hardware it effectively prevents CPUs from using
+3 -1
arch/arm/mach-imx/cpuidle-imx6q.c
··· 24 24 imx6_set_lpm(WAIT_UNCLOCKED); 25 25 raw_spin_unlock(&cpuidle_lock); 26 26 27 + rcu_idle_enter(); 27 28 cpu_do_idle(); 29 + rcu_idle_exit(); 28 30 29 31 raw_spin_lock(&cpuidle_lock); 30 32 if (num_idle_cpus-- == num_online_cpus()) ··· 46 44 { 47 45 .exit_latency = 50, 48 46 .target_residency = 75, 49 - .flags = CPUIDLE_FLAG_TIMER_STOP, 47 + .flags = CPUIDLE_FLAG_TIMER_STOP | CPUIDLE_FLAG_RCU_IDLE, 50 48 .enter = imx6q_enter_wait, 51 49 .name = "WAIT", 52 50 .desc = "Clock off",
+1
drivers/cpufreq/intel_pstate.c
··· 2781 2781 2782 2782 cpufreq_unregister_driver(intel_pstate_driver); 2783 2783 intel_pstate_driver_cleanup(); 2784 + return 0; 2784 2785 } 2785 2786 2786 2787 if (size == 6 && !strncmp(buf, "active", size)) {