** Tags added: kernel-daily-bug

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-aws in Ubuntu.
https://bugs.launchpad.net/bugs/2060992

Title:
  aws: Support hibernation on Graviton

Status in linux-aws package in Ubuntu:
  Fix Released
Status in linux-aws source package in Jammy:
  Fix Released
Status in linux-aws source package in Mantic:
  Fix Released
Status in linux-aws source package in Noble:
  Fix Released

Bug description:
  SRU Justification:

  [Impact]
  This change contains two parts, the first is adding support for
    - KVM and guest support for the PSCI SYSTEM_OFF2 (hibernate) call

  And the second part is:
     - Guest kernel support for clean boot on demand

  For KVM and guest support for the PSCI SYSTEM_OFF2 (hibernate) call:

  PSCI v1.3 adds support for SYSTEM_OFF2 which is analogous to ACPI S4
  state.

  This will allow hosting environments to determine that a guest is
  hibernated rather than just powered off, and ensure that they preserve
  the virtual environment appropriately to allow the guest to resume
  safely (or bump the hardware_signature in the FACS to trigger a clean
  reboot instead).

  For Guest kernel support for clean boot on demand:

  The FACS field in the ACPI table is optional, but can be used
  communicate the hardware_signature field.  If this field changes on
  resuming from a hibernation a clean reboot should happen rather than
  the resume from hibernation.

  On hardware reduced platforms[0] this field may exist but it is not
  exposed currently.

  [Fix]

  The changes for KVM and guest support for the PSCI SYSTEM_OFF2 (hibernate) 
call come from:
       https://lore.kernel.org/lkml/20240312135958.727765-1-dw...@infradead.org

  The changes for Guest kernel support for clean boot on demand come from:
        https://lore.kernel.org/lkml/20240312134148.727454-1-dw...@infradead.org

  
  Latest patches have been picked from:
     - noble/mantic: 
https://git.infradead.org/users/dwmw2/linux.git/shortlog/refs/heads/psci-hibernate-6.8

  
      - jammy: 
https://git.infradead.org/users/dwmw2/linux.git/shortlog/refs/heads/psci-hibernate-5.15

  
  [Test Plan]
  AWS test.

  [Where problems could occur]
  If on hardware reduced platforms that incorrectly support/advertise the FACS 
field, hibernation may break if it returns a hardware signature that changes.

  [Other info]
  SF# 00383181

  [0]: See Section 4.1 of the ACPI spec for info on hardware-reduced platforms.
  
https://uefi.org/htmlspecs/ACPI_Spec_6_4_html/04_ACPI_Hardware_Specification/ACPI_Hardware_Specification.html

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-aws/+bug/2060992/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to