]> xenbits.xensource.com Git - xen.git/commit
x86: correct default_xen_spec_ctrl calculation
authorJan Beulich <jbeulich@suse.com>
Wed, 4 Jul 2018 10:26:24 +0000 (12:26 +0200)
committerJan Beulich <jbeulich@suse.com>
Wed, 4 Jul 2018 10:26:24 +0000 (12:26 +0200)
commit3bd7966eba0100fef6bd454e45c30f6b033002eb
tree878f585e52c2ab901c32dec316301647477c16bd
parentdd07d3e25c23dd78f73e966619a973de8469e7ee
x86: correct default_xen_spec_ctrl calculation

Even with opt_msr_sc_{pv,hvm} both false we should set up the variable
as usual, to ensure proper one-time setup during boot and CPU bringup.
This then also brings the code in line with the comment immediately
ahead of the printk() being modified saying "irrespective of guests".

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
master commit: d6239f64713df819278bf048446d3187c6ac4734
master date: 2018-05-29 12:38:52 +0200
xen/arch/x86/spec_ctrl.c