x86/S3: fix shadow stack resume path
authorMarek Marczykowski-Górecki <marmarek@invisiblethingslab.com>
Mon, 28 Sep 2020 08:43:10 +0000 (10:43 +0200)
committerJan Beulich <jbeulich@suse.com>
Mon, 28 Sep 2020 08:43:10 +0000 (10:43 +0200)
commit4bdbf746ac9152e70f264f87db4472707da805ce
tree9f72890b4af171fa2bdb05bcdfbcd7030d7b2299
parent28fb8cf323dd93f59a9c851c93ba9b79de8b1c4e
x86/S3: fix shadow stack resume path

Fix the resume path to load the shadow stack pointer from saved_ssp (not
saved_rsp), to match what suspend path does.

Fixes: 633ecc4a7cb2 ("x86/S3: Save and restore Shadow Stack configuration")
Backport: 4.14
Signed-off-by: Marek Marczykowski-Górecki <marmarek@invisiblethingslab.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/acpi/wakeup_prot.S