summaryrefslogtreecommitdiff
path: root/xen/include/Makefile
diff options
context:
space:
mode:
authorAndrew Cooper <andrew.cooper3@citrix.com>2021-05-19 19:40:28 +0100
committerAndrew Cooper <andrew.cooper3@citrix.com>2022-02-08 18:01:32 +0000
commit41e477b4f367269dc1b768a335cfa16f48f7f02f (patch)
tree58bd5603d1ebf21363170cf7f9874773bc8df419 /xen/include/Makefile
parent50183d9f7cce12cac0e089ccf765417aa5832efc (diff)
x86/spec-ctrl: Clean up MSR_MCU_OPT_CTRL handling
Introduce cpu_has_srbds_ctrl as more users are going to appear shortly. MSR_MCU_OPT_CTRL is gaining extra functionality, meaning that the current default_xen_mcu_opt_ctrl is no longer a good fit. Introduce two new helpers, update_mcu_opt_ctrl() which does a full RMW cycle on the MSR, and set_in_mcu_opt_ctrl() which lets callers configure specific bits at a time without clobbering each others settings. No functional change. Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com> Reviewed-by: Jan Beulich <jbeulich@suse.com> (cherry picked from commit 39a40f3835efcc25c1b05a25c321a01d7e11cbd7)
Diffstat (limited to 'xen/include/Makefile')
0 files changed, 0 insertions, 0 deletions