On Thu, 2024-10-31 at 12:15 +0000, Catalin Marinas wrote:
On Fri, Oct 25, 2024 at 10:12:41PM +0000, Oliver Upton wrote:
On Sat, 19 Oct 2024 18:15:41 +0100, David Woodhouse wrote:
The PSCI v1.3 spec (https://developer.arm.com/documentation/den0022) adds support for a SYSTEM_OFF2 function enabling a HIBERNATE_OFF state which is analogous to ACPI S4. 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).
[...]
I grabbed the KVM portions of this series, as they look ready to go. Happy to take the last one through kvmarm tree w/ acks, and can toss it on top.
Happy for you to take the last patch as well through the KVM tree. Feel free to adjust the code comment as you see fit.
Thanks. that's probably the best option, as it depends on the definitions in psci.h.