]> www.infradead.org Git - users/dwmw2/linux.git/commit
arm64: acpi: Honour firmware_signature field of FACS, if it exists psci-hibernate-6.8
authorDavid Woodhouse <dwmw@amazon.co.uk>
Mon, 11 Mar 2024 13:04:07 +0000 (13:04 +0000)
committerDavid Woodhouse <dwmw@amazon.co.uk>
Tue, 16 Apr 2024 09:55:10 +0000 (10:55 +0100)
commite527af168e34b5a0465979c6ece3cdb5bddae4a2
treec5b70d65b4cdb6558ef385bf57008b101063fd3d
parent1241f91583da82c550cbc7d0118322daef714421
arm64: acpi: Honour firmware_signature field of FACS, if it exists

If the firmware_signature changes then OSPM should not attempt to resume
from hibernate, but should instead perform a clean reboot. Set the global
swsusp_hardware_signature to allow the generic code to include the value
in the swsusp header on disk, and perform the appropriate check on resume.

Signed-off-by: David Woodhouse <dwmw@amazon.co.uk>
Acked-by: Sudeep Holla <sudeep.holla@arm.com>
Acked-by: Rafael J. Wysocki <rafael@kernel.org>
arch/arm64/kernel/acpi.c