x86/time: add CF-clobber annotations
authorJan Beulich <jbeulich@suse.com>
Fri, 4 Mar 2022 08:28:09 +0000 (09:28 +0100)
committerJan Beulich <jbeulich@suse.com>
Fri, 4 Mar 2022 08:28:09 +0000 (09:28 +0100)
commitdc762a509d46422a7193f1ad6ecf9728ae35c989
tree9cef1abe2a2658e7c27fa876cb672e5af3f63dc5
parente1cafab334b998e46057bbb8d1303be4499814bd
x86/time: add CF-clobber annotations

With bed9ae54df44 ("x86/time: switch platform timer hooks to altcall")
in place we can further arrange for ENDBR removal from the functions no
longer subject to indirect calls. Note that plt_tsc is adjusted as well,
despite presently not holding any pointer eligible for ENDBR removal.
This is just to be on the safe side going forward.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/time.c