]> www.infradead.org Git - users/hch/block.git/commit
arm64: acpi: Honour firmware_signature field of FACS, if it exists
authorDavid Woodhouse <dwmw@amazon.co.uk>
Mon, 11 Mar 2024 13:04:07 +0000 (13:04 +0000)
committerWill Deacon <will@kernel.org>
Thu, 18 Apr 2024 15:17:33 +0000 (16:17 +0100)
commitfbaad243b5368f19c1e96dc9d914eefaebcb6ecc
tree894c84e9a962904b043723b72984ac96e726b0c6
parentbc5b492ac305e0d1a5b05cd55db2274987449d02
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>
Link: https://lore.kernel.org/r/20240412073530.2222496-3-dwmw2@infradead.org
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/kernel/acpi.c