[SRU][E][aws][PULL] proper hibernation support

Andrea Righi andrea.righi at canonical.com
Thu Mar 12 07:34:09 UTC 2020

BugLink: https://bugs.launchpad.net/bugs/1858618
BugLink: https://bugs.launchpad.net/bugs/1831940

The following patches are required to properly support hibernation with
eoan:linux-aws (kernel 5.3).

All the SAUCE patches are required to improve swapoff performance after
a successful resume.

All these patches have been tested in the AWS environment with positive

The following changes since commit 49363ee85deb05236c3527586cf6cea106e935a5:

  UBUNTU: Ubuntu-aws-5.3.0-1013.14 (2020-03-02 13:19:25 -0800)

are available in the Git repository at:

  git://git.launchpad.net/~arighi/+git/eoan-linux aws

for you to fetch changes up to 1ef9617d8446bd698f277a95d3f3712efb1f565c:

  UBUNTU SAUCE [aws]: xen: Only restore the ACPI SCI interrupt in xen_restore_pirqs. (2020-03-10 16:33:37 +0100)

Anchal Agarwal (1):
      UBUNTU SAUCE [aws]: ACPICA: Enable sleep button on ACPI legacy wake

Andrea Righi (4):
      UBUNTU SAUCE [aws] PM / hibernate: reduce memory pressure during image writing
      UBUNTU SAUCE [aws]: mm: swap: improve swap readahead heuristic
      UBUNTU SAUCE [aws]: PM / hibernate: make sure pm_async is always disabled
      UBUNTU SAUCE [aws]: PM / hibernate: set image_size to 0 by default

Eduardo Valentin (1):
      UBUNTU SAUCE [aws]: block: xen-blkfront: consider new dom0 features on restore

Frank van der Linden (2):
      UBUNTU SAUCE [aws]: xen: restore pirqs on resume from hibernation.
      UBUNTU SAUCE [aws]: xen: Only restore the ACPI SCI interrupt in xen_restore_pirqs.

 arch/x86/xen/suspend.c           |  2 ++
 drivers/acpi/acpica/hwsleep.c    | 11 ++++++++
 drivers/block/xen-blkfront.c     |  3 ++
 drivers/xen/events/events_base.c | 45 ++++++++++++++++++++++++++++++
 include/xen/events.h             |  1 +
 kernel/power/main.c              |  4 +--
 kernel/power/snapshot.c          |  1 -
 kernel/power/swap.c              | 24 +---------------
 mm/swap.c                        |  2 +-
 mm/swap_state.c                  | 60 ++++++----------------------------------
 10 files changed, 75 insertions(+), 78 deletions(-)

More information about the kernel-team mailing list