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>
Fri, 25 Mar 2022 17:06:38 +0000 (17:06 +0000)
commit351428de6feee3769a0ba69fdab3f521be85e891
treec20d3b6249408a876a404d16fe9493266d6c8660
parent766252b3ec3dd8af3d9a44ca2940143fce937c96
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>
(cherry picked from commit 6e3f36387de566b09aa4145ea0e3bfe4814d68b4)
xen/arch/x86/spec_ctrl.c