Re: [PATCH v2 0/2] Support clean reboot after hibernate on Arm64

From: Wysocki, Rafael J
Date: Fri Apr 12 2024 - 15:25:20 EST


On 4/12/2024 4:18 PM, David Woodhouse wrote:
On Fri, 2024-04-12 at 15:05 +0100, Will Deacon wrote:
On Mon, Mar 11, 2024 at 12:19:14PM +0000, David Woodhouse wrote:
When the hardware signature in the ACPI FACS changes, the OS is supposed
to perform a clean reboot instead of attempting to resume on a changed
platform.

Although these patches have a functional dependency, they could be merged
separately. The second patch just won't *see* a FACS table if the ACPICA
fix isn't present.

v2: Now that the ACPICA patch is merged upstream, note its commit ID

David Woodhouse (2):
      ACPICA: Detect FACS even for hardware reduced platforms
      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 +------
Rafael, how would you like the handle this series? The arm64 part has
been Acked-by Sudeep, so I'm happy with it.
Thanks, Will.

Similar question for Rafael on the guest side of the PSCI SYSTEM_OFF2
series, in particular
https://lore.kernel.org/kvm/20240319130957.1050637-6-dwmw2@xxxxxxxxxxxxx/#Z31kernel:power:hibernate.c
which sets the entering_platform_hibernation flag around the call to
the standard kernel_power_off() function when invoking it for
HIBERNATION_SHUTDOWN.

In both cases, please feel free to route the patches as it is convenient and add

Acked-by: Rafael J. Wysocki <rafael@xxxxxxxxxx>

to both of them.