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

From: David Woodhouse
Date: Fri Apr 12 2024 - 10:18:46 EST


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.

Attachment: smime.p7s
Description: S/MIME cryptographic signature