x86/cpu: Adjust reset_stack_and_jump() to be shadow stack compatible
authorAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 24 Apr 2020 13:38:02 +0000 (14:38 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 29 May 2020 22:09:46 +0000 (23:09 +0100)
commit18533cfc919172d0df8ce387ffc8e495f7077ee5
treec4341f7a6a7814025a0f81eae969c1d7d5501eb6
parente952f1d67b5641bb560fbff6b80555808faf7935
x86/cpu: Adjust reset_stack_and_jump() to be shadow stack compatible

We need to unwind up to the supervisor token.  See the comment for details.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/include/asm-x86/current.h