mbox series

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

Message ID 20200312073409.GB616887@xps-13
State New
Headers show
Series [SRU,E,aws,PULL] proper hibernation support | expand

Pull-request

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

Message

Andrea Righi March 12, 2020, 7:34 a.m. UTC
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
results.

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(-)

Comments

Stefan Bader March 12, 2020, 2:56 p.m. UTC | #1
On 12.03.20 08:34, Andrea Righi wrote:
> 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
> results.
> 
> 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(-)
> 
Acked-by: Stefan Bader <stefan.bader@canonical.com>
Kamal Mostafa March 26, 2020, 3:22 p.m. UTC | #2
LGTM.

Acked-by: Kamal Mostafa <kamal@canonical.com>

 -Kamal

On Thu, Mar 12, 2020 at 08:34:09AM +0100, Andrea Righi wrote:
> 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
> results.
> 
> 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(-)
> 
> -- 
> kernel-team mailing list
> kernel-team@lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/kernel-team
Kelsey Skunberg April 1, 2020, 8:19 p.m. UTC | #3
On 2020-03-12 08:34:09 , Andrea Righi wrote:
> 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
> results.
> 
> 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(-)
>
Applied to eoan-aws/master, thank you!

-Kelsey
 
> -- 
> kernel-team mailing list
> kernel-team@lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/kernel-team