hibernation support for linux-aws

Bug #1831940 reported by Kamal Mostafa on 2019-06-06
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux-aws (Ubuntu)
High
Kamal Mostafa
Xenial
High
Kamal Mostafa
Bionic
High
Kamal Mostafa

Bug Description

Additional AWS-specific and mainline patches are required to support hibernation across the various types of AWS instances.

The following patch sets for linux-aws-xenial and linux-aws-bionic provide the necessary functionality, and should only impact the hibernation and resume paths.

[linux-aws-xenial]

UBUNTU SAUCE [aws]: block: xen-blkfront: consider new dom0 features on restore
UBUNTU SAUCE [aws]: ACPICA: Enable sleep button on ACPI legacy wake
UBUNTU SAUCE [aws]: xen: restore pirqs on resume from hibernation.
UBUNTU SAUCE [aws]: xen: Only restore the ACPI SCI interrupt in xen_restore_pirqs.
radix-tree: delete radix_tree_locate_item()
mm: rid swapoff of quadratic complexity
sched/wait: Fix abort_exclusive_wait(), it should pass TASK_NORMAL to wake_up()
sched/wait: Avoid abort_exclusive_wait() in ___wait_event()
sched/wait: Avoid abort_exclusive_wait() in __wait_on_bit_lock()
sched/wait: Introduce init_wait_entry()
sched/wait: Standardize wait_bit_queue naming
sched/wait: Introduce wait_var_event()
mm: swapoff: shmem_unuse() stop eviction without igrab()
UBUNTU SAUCE [aws]: mm: aggressive swapoff
UBUNTU SAUCE [aws]: PM / hibernate: make sure pm_async is always disabled
NVMe: Allow request merges
PM / hibernate: Do not free preallocated safe pages during image restore
PM / hibernate: Recycle safe pages after image restoration
PM / hibernate: Simplify mark_unsafe_pages()
UBUNTU: [Config] aws: disable CONFIG_TRANSPARENT_HUGEPAGE_ALWAYS
UBUNTU SAUCE [aws] PM / hibernate: set image_size to total RAM size by default
UBUNTU SAUCE [aws] PM / hibernate: reduce memory pressure during image writing
UBUNTU SAUCE [aws] mm, page_alloc: disable fair zone allocation policy on hibernate

[linux-aws-bionic]

UBUNTU SAUCE [aws]: block: xen-blkfront: consider new dom0 features on restore
UBUNTU SAUCE [aws]: ACPICA: Enable sleep button on ACPI legacy wake
UBUNTU SAUCE [aws]: xen: restore pirqs on resume from hibernation.
UBUNTU SAUCE [aws]: xen: Only restore the ACPI SCI interrupt in xen_restore_pirqs.
mm: rid swapoff of quadratic complexity
sched/wait: Introduce wait_var_event()
mm: swapoff: shmem_unuse() stop eviction without igrab()
UBUNTU SAUCE [aws]: mm: aggressive swapoff
netlink: Don't shift on 64 for ngroups

Changed in linux-aws (Ubuntu Xenial):
status: New → In Progress
Changed in linux-aws (Ubuntu Bionic):
status: New → In Progress
Changed in linux-aws (Ubuntu Xenial):
assignee: nobody → Kamal Mostafa (kamalmostafa)
Changed in linux-aws (Ubuntu Bionic):
assignee: nobody → Kamal Mostafa (kamalmostafa)
Changed in linux-aws (Ubuntu Xenial):
importance: Undecided → High
Changed in linux-aws (Ubuntu Bionic):
importance: Undecided → High
description: updated
Kamal Mostafa (kamalmostafa) wrote :

These AWS-specific patch sets provide the requisite hibernate/resume functionality, and have been extensively tested on all supported AWS instance types.

Changed in linux-aws (Ubuntu):
status: In Progress → Fix Committed
Changed in linux-aws (Ubuntu Xenial):
status: In Progress → Fix Committed
Changed in linux-aws (Ubuntu Bionic):
status: In Progress → Fix Committed
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package linux-aws - 4.15.0-1044.46

---------------
linux-aws (4.15.0-1044.46) bionic; urgency=medium

  * linux-aws: 4.15.0-1044.46 -proposed tracker (LP: #1834930)

  * hibernation support for linux-aws (LP: #1831940)
    - UBUNTU SAUCE [aws]: block: xen-blkfront: consider new dom0 features on
      restore
    - UBUNTU SAUCE [aws]: ACPICA: Enable sleep button on ACPI legacy wake
    - UBUNTU SAUCE [aws]: xen: restore pirqs on resume from hibernation.
    - UBUNTU SAUCE [aws]: xen: Only restore the ACPI SCI interrupt in
      xen_restore_pirqs.
    - mm: rid swapoff of quadratic complexity
    - sched/wait: Introduce wait_var_event()
    - mm: swapoff: shmem_unuse() stop eviction without igrab()
    - UBUNTU SAUCE [aws]: mm: aggressive swapoff
    - netlink: Don't shift on 64 for ngroups

 -- Kleber Sacilotto de Souza <email address hidden> Thu, 04 Jul 2019 14:47:13 +0200

Changed in linux-aws (Ubuntu Bionic):
status: Fix Committed → Fix Released
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package linux-aws - 4.4.0-1088.99

---------------
linux-aws (4.4.0-1088.99) xenial; urgency=medium

  * linux-aws: 4.4.0-1088.99 -proposed tracker (LP: #1834908)

  * hibernation support for linux-aws (LP: #1831940)
    - UBUNTU SAUCE [aws]: block: xen-blkfront: consider new dom0 features on
      restore
    - UBUNTU SAUCE [aws]: ACPICA: Enable sleep button on ACPI legacy wake
    - UBUNTU SAUCE [aws]: xen: restore pirqs on resume from hibernation.
    - UBUNTU SAUCE [aws]: xen: Only restore the ACPI SCI interrupt in
      xen_restore_pirqs.
    - radix-tree: delete radix_tree_locate_item()
    - mm: rid swapoff of quadratic complexity
    - sched/wait: Fix abort_exclusive_wait(), it should pass TASK_NORMAL to
      wake_up()
    - sched/wait: Avoid abort_exclusive_wait() in ___wait_event()
    - sched/wait: Avoid abort_exclusive_wait() in __wait_on_bit_lock()
    - sched/wait: Introduce init_wait_entry()
    - sched/wait: Standardize wait_bit_queue naming
    - sched/wait: Introduce wait_var_event()
    - mm: swapoff: shmem_unuse() stop eviction without igrab()
    - UBUNTU SAUCE [aws]: mm: aggressive swapoff
    - UBUNTU SAUCE [aws]: PM / hibernate: make sure pm_async is always disabled
    - NVMe: Allow request merges
    - PM / hibernate: Do not free preallocated safe pages during image restore
    - PM / hibernate: Recycle safe pages after image restoration
    - PM / hibernate: Simplify mark_unsafe_pages()
    - [Config] aws: disable CONFIG_TRANSPARENT_HUGEPAGE_ALWAYS
    - UBUNTU SAUCE [aws] PM / hibernate: set image_size to total RAM size by
      default
    - UBUNTU SAUCE [aws] PM / hibernate: reduce memory pressure during image
      writing
    - UBUNTU SAUCE [aws] mm, page_alloc: disable fair zone allocation policy on
      hibernate

 -- Kleber Sacilotto de Souza <email address hidden> Thu, 04 Jul 2019 15:27:25 +0200

Changed in linux-aws (Ubuntu Xenial):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers