[GIT PULL] Power management fixes for v5.11-rc6

From: Rafael J. Wysocki
Date: Fri Jan 29 2021 - 11:30:34 EST


Hi Linus,

Please pull from the tag

git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \
pm-5.11-rc6

with top-most commit fef9c8d28e28a808274a18fbd8cc2685817fd62a

PM: hibernate: flush swap writer after marking

on top of commit 6ee1d745b7c9fd573fba142a2efdad76a9f1cb04

Linux 5.11-rc5

to receive power management fixes for 5.11-rc6.

These fix a deadlock in the "kexec jump" code and address a possible
hibernation image creation issue.

Specifics:

- Fix a deadlock caused by attempting to acquire the same mutex
twice in a row in the "kexec jump" code (Baoquan He).

- Modify the hibernation image saving code to flush the unwritten
data to the swap storage later so as to avoid failing to write the
image signature which is possible in some cases (Laurent Badel).

Thanks!


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

Baoquan He (1):
kernel: kexec: remove the lock operation of system_transition_mutex

Laurent Badel (1):
PM: hibernate: flush swap writer after marking

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

kernel/kexec_core.c | 2 --
kernel/power/swap.c | 2 +-
2 files changed, 1 insertion(+), 3 deletions(-)