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 <email address hidden>
Acked-by: Sudeep Holla <email address hidden>
Acked-by: Rafael J. Wysocki <email address hidden>
(cherry picked from commit e527af168e34b5a0465979c6ece3cdb5bddae4a2 from https://git.infradead.org/users/dwmw2/linux.git/shortlog/refs/heads/psci-hibernate-6.8)
Signed-off-by: Philip Cox <email address hidden>
Acked-by: John Cabaj <email address hidden>
Acked-by: Tim Gardner <email address hidden>