[GIT PULL] ACPI and power management fixes for v3.11-rc4

From: Rafael J. Wysocki
Date: Fri Aug 02 2013 - 10:19:25 EST

Hi Linus,

Please pull from the git repository at

git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git pm+acpi-3.11-rc4

to receive ACPI and power management fixes for v3.11-rc4 with
top-most commit 2b44c4db2e2f1765d35163a861d301038e0c8a75

freezer: set PF_SUSPEND_TASK flag on tasks that call freeze_processes

on top of commit 5ae90d8e467e625e447000cb4335c4db973b1095

Linux 3.11-rc3

These revert two cpuidle commits from 3.8 that turn out to hurt performance,
fix a recent s2disk regression related to the freezer, fix cpufreq reference
couting problem uncovered by one of the recent reverts and fix a particularly
embarrassing bug in the ACPI battery driver.


- Revert two cpuidle commits added during the 3.8 development cycle that
turn out to have introduced a significant performance regression as
requested by Jeremy Eder.

- The recent patches that made the freezer less heavy-weight introduced
a regression causing user-space-driven hibernation using the ioctl()
interface to block indefinitely when the hibernate process executes
try_to_freeze(). Fix from Colin Cross addresses this by adding a
process flag to mark the hibernate/suspend process to inform the
freezer that that process should be ignored.

- One of the recent cpufreq reverts uncovered a problem in the core
causing the cpufreq driver module refcount to become negative after
a system suspend-resume cycle. Fix from yours truly.

- The evaluation of the ACPI battery _BIX method has never worked
correctly, because the commit that added support for it forgot to
take the "Revision" field in the return package into account. As
a result, the reading of battery info doesn't work at all on some
systems, which is addressed by a fix from Lan Tianyu.



Colin Cross (1):
freezer: set PF_SUSPEND_TASK flag on tasks that call freeze_processes

Lan Tianyu (1):
ACPI / battery: Fix parsing _BIX return value

Rafael J. Wysocki (3):
Revert "cpuidle: Quickly notice prediction failure in general case"
Revert "cpuidle: Quickly notice prediction failure for repeat mode"
cpufreq: Fix cpufreq driver module refcount balance after suspend/resume


drivers/acpi/battery.c | 2 +
drivers/cpufreq/cpufreq.c | 19 +++++----
drivers/cpuidle/governors/menu.c | 106 ++--------------------------------------------
include/linux/sched.h | 1 +
include/linux/tick.h | 6 ---
kernel/freezer.c | 2 +-
kernel/power/process.c | 11 +++++
kernel/time/tick-sched.c | 9 +---
8 files changed, 31 insertions(+), 125 deletions(-)

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/