x86/spec-ctrl: Misc non-functional cleanup
authorAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 12 Sep 2018 13:36:00 +0000 (14:36 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 14 May 2019 14:28:32 +0000 (15:28 +0100)
commit9b62eba6c429c327e1507816bef403ccc87357ae
treeebc737ba9c06e63d99853df45f376a8b15322f1e
parent14e122fcc45d8a86e27be9663cbd7bcea1602b25
x86/spec-ctrl: Misc non-functional cleanup

 * Identify BTI in the spec_ctrl_{enter,exit}_idle() comments, as other
   mitigations will shortly appear.
 * Use alternative_input() and cover the lack of memory cobber with a further
   barrier.

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