** Summary changed: - aws: Guest kernel support for clean boot on demand + aws: Support hibernation on Graviton
** Description changed: 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] - Expose this field even on hardware reduced platforms. - https://lore.kernel.org/lkml/20240312134148.727454-1-dw...@infradead.org + 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 + [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 ** Changed in: linux-aws (Ubuntu Jammy) Assignee: (unassigned) => Philip Cox (philcox) ** Description changed: 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 + 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 - + - 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. + 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 + 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 - 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 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2060992 Title: aws: Support hibernation on Graviton To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-aws/+bug/2060992/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs