[GIT PULL] More power management updates for v5.5-rc1

From: Rafael J. Wysocki
Date: Wed Dec 04 2019 - 05:35:05 EST


Hi Linus,

Please pull from the tag

git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \
pm-5.5-rc1-2

with top-most commit 1e4230f56dac141eb149ebec01f41b6fad27e503

Merge branches 'pm-sleep', 'pm-cpuidle', 'pm-cpufreq', 'pm-devfreq'
and 'pm-avs'

on top of commit 6e9f879684b46331f51d0c76ebee981c788417db

Merge tag 'acpi-5.5-rc1' of
git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm

to receive additional power management updates for 5.5-rc1.

These fix an ACPI EC driver bug exposed by the recent rework
of the suspend-to-idle code flow, reintroduce frequency
constraints into device PM QoS (in preparation for adding
QoS support to devfreq), drop a redundant field from struct
cpuidle_state and clean up Kconfig in some places.

Specifics:

- Avoid a race condition in the ACPI EC driver that may cause
systems to be unable to leave suspend-to-idle (Rafael Wysocki).

- Drop the "disabled" field, which is redundant, from struct
cpuidle_state (Rafael Wysocki).

- Reintroduce device PM QoS frequency constraints (temporarily
introduced and than dropped during the 5.4 cycle) in preparation
for adding QoS support to devfreq (Leonard Crestez).

- Clean up indentation (in multiple places) and the cpuidle drivers
help text in Kconfig (Krzysztof Kozlowski, Randy Dunlap).

Thanks!


---------------

Krzysztof Kozlowski (3):
cpuidle: Fix Kconfig indentation
cpufreq: Fix Kconfig indentation
power: avs: Fix Kconfig indentation

Leonard Crestez (4):
PM / QoS: Redefine FREQ_QOS_MAX_DEFAULT_VALUE to S32_MAX
PM / QoS: Initial kunit test
PM / QoS: Reorder pm_qos/freq_qos/dev_pm_qos structs
PM / QoS: Restore DEV_PM_QOS_MIN/MAX_FREQUENCY

Marek Szyprowski (1):
PM / devfreq: Add missing locking while setting suspend_freq

Rafael J. Wysocki (3):
cpuidle: Drop disabled field from struct cpuidle_state
ACPI: EC: Rework flushing of pending work
ACPI: PM: s2idle: Rework ACPI events synchronization

Randy Dunlap (1):
cpuidle: minor Kconfig help text fixes

---------------

arch/sh/kernel/cpu/shmobile/cpuidle.c | 8 +--
drivers/acpi/ec.c | 36 ++++-------
drivers/acpi/sleep.c | 26 ++++++--
drivers/base/Kconfig | 4 ++
drivers/base/power/Makefile | 1 +
drivers/base/power/qos-test.c | 117 ++++++++++++++++++++++++++++++++++
drivers/base/power/qos.c | 73 +++++++++++++++++++--
drivers/cpufreq/Kconfig.powerpc | 8 +--
drivers/cpufreq/Kconfig.x86 | 16 ++---
drivers/cpuidle/Kconfig | 16 ++---
drivers/cpuidle/Kconfig.arm | 22 +++----
drivers/cpuidle/cpuidle.c | 2 +-
drivers/cpuidle/poll_state.c | 1 -
drivers/devfreq/devfreq.c | 4 ++
drivers/idle/intel_idle.c | 6 +-
drivers/power/avs/Kconfig | 12 ++--
include/linux/cpuidle.h | 2 +-
include/linux/pm_qos.h | 86 ++++++++++++++-----------
kernel/power/qos.c | 4 +-
19 files changed, 324 insertions(+), 120 deletions(-)