[GIT PULL] Power management fixes for v5.12-rc5

From: Rafael J. Wysocki
Date: Fri Mar 26 2021 - 12:31:04 EST


Hi Linus,

Please pull from the tag

git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \
pm-5.12-rc5

with top-most commit 6f3a283c2f6bbbb5a9a6801a0befa61cb60195f1

Merge branch 'pm-em'

on top of commit 0d02ec6b3136c73c09e7859f0d0e4e2c4c07b49b

Linux 5.12-rc4

to receive power management fixes for 5.12-rc5.

These fix an issue related to device links in the runtime PM
framework and debugfs usage in the Energy Model code.

Specifics:

- Modify the runtime PM device suspend to avoid suspending
supplier devices before the consumer device's status changes
to RPM_SUSPENDED (Rafael Wysocki).

- Change the Energy Model code to prevent it from attempting to
create its main debugfs directory too early (Lukasz Luba).

Thanks!


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

Lukasz Luba (1):
PM: EM: postpone creating the debugfs dir till fs_initcall

Rafael J. Wysocki (1):
PM: runtime: Defer suspending suppliers

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

drivers/base/power/runtime.c | 45 ++++++++++++++++++++++++++++++++++++++------
kernel/power/energy_model.c | 2 +-
2 files changed, 40 insertions(+), 7 deletions(-)