]> xenbits.xensource.com Git - xen.git/commit
x86/entry: Arrange for %r14 to be STACK_END across SPEC_CTRL_ENTRY_FROM_PV
authorAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 22 Mar 2024 15:52:06 +0000 (15:52 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 9 Apr 2024 16:10:28 +0000 (17:10 +0100)
commit7b56af4be474b6adcb4d9d1fc1fe92bf7eebcae5
treeab4e43da4835608ee31a4d7535149e2b46295ec4
parenta8bb8926fd046cd7fa880a057b2675f33c1bfe77
x86/entry: Arrange for %r14 to be STACK_END across SPEC_CTRL_ENTRY_FROM_PV

Other SPEC_CTRL_* paths already use %r14 like this, and it will allow for
simplifications.

All instances of SPEC_CTRL_ENTRY_FROM_PV are followed by a GET_STACK_END()
invocation, so this change is only really logic and register shuffling.

No functional change.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
(cherry picked from commit 22390697bf1b4cd3024f2d10893dec3c3ec08a9c)
xen/arch/x86/x86_64/compat/entry.S
xen/arch/x86/x86_64/entry.S