mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
x86/spec-ctrl: Use a taint for CET without MSR_SPEC_CTRL
Reword the comment for 'S' to include an incompatible set of features on the
same core.
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
(cherry picked from commit 3f63f45104)
This commit is contained in:
1 parent
5010f37d96
commit
bf67861f78
2 files changed
+4
-1
No files matched your search
@@ -1139,7 +1139,10 @@ void __init init_speculation_mitigations(void)
|
||||
if ( read_cr4() & X86_CR4_CET )
|
||||
{
|
||||
if ( !has_spec_ctrl )
|
||||
{
|
||||
printk(XENLOG_WARNING "?!? CET active, but no MSR_SPEC_CTRL?\n");
|
||||
add_taint(TAINT_CPU_OUT_OF_SPEC);
|
||||
}
|
||||
else if ( opt_ibrs == -1 )
|
||||
opt_ibrs = ibrs = true;
|
||||
|
||||
|
||||
+1
-1
@@ -339,7 +339,7 @@ unsigned int tainted;
|
||||
* 'H' - HVM forced emulation prefix is permitted.
|
||||
* 'M' - Machine had a machine check experience.
|
||||
* 'U' - Platform is unsecure (usually due to an errata on the platform).
|
||||
* 'S' - Out of spec CPU (One core has a feature incompatible with others).
|
||||
* 'S' - Out of spec CPU (Incompatible features on one or more cores).
|
||||
*
|
||||
* The string is overwritten by the next call to print_taint().
|
||||
*/
|
||||
|
||||