[PATCH 0/2][m/n:linux-aws] aws: aws: KVM and guest support for the PSCI SYSTEM_OFF2 (hibernate) call

Philip Cox philip.cox at canonical.com
Fri Apr 19 17:18:51 UTC 2024


BugLink: https://bugs.launchpad.net/bugs/2061006


SRU Justification:

[Impact]
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).

[Fix]
This adds support for it to KVM, and to the guest hibernate code.

https://lore.kernel.org/lkml/20240312135958.727765-1-dwmw2@infradead.org

[Test Plan]
AWS tested.

[Where problems could occur]
If the final spec of the PSCI v1.3 changes, there may be changes required to this patch series.

[Other Info]

SF# 00383181

--



David Woodhouse (2):
  UBUNTU: SAUCE: ACPICA: Detect FACS even for hardware reduced platforms
  UBUNTU: SAUCE: arm64: acpi: Honour firmware_signature field of FACS,
    if it exists

 arch/arm64/kernel/acpi.c      | 10 ++++++++++
 drivers/acpi/acpica/tbfadt.c  | 30 +++++++++++++-----------------
 drivers/acpi/acpica/tbutils.c |  7 +------
 3 files changed, 24 insertions(+), 23 deletions(-)

-- 
2.34.1




More information about the kernel-team mailing list