x86/spec-ctrl: Disable retpolines with CET-IBT
authorAndrew Cooper <andrew.cooper3@citrix.com>
Mon, 28 Feb 2022 19:26:37 +0000 (19:26 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 1 Mar 2022 12:34:46 +0000 (12:34 +0000)
commit6e3f36387de566b09aa4145ea0e3bfe4814d68b4
tree357c75e1040da6f59cfca03fa308d284f99e364b
parente0a514d2f4b2fcb51835aa9a9b02653b491a61fc
x86/spec-ctrl: Disable retpolines with CET-IBT

CET-IBT depend on executing indirect branches for protections to apply.
Extend the clobber for CET-SS to all of CET.

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