Skip to content

Commit

Permalink
x86/bugs: Change L1TF mitigation string to match upstream
Browse files Browse the repository at this point in the history
Commit 72c6d2d "x86/litf: Introduce vmx status variable" upstream
changed "Page Table Inversion" to "PTE Inversion".  That was part of
the implementation of additional mitigations for VMX which haven't
been applied to this branch.  Just change this string to be consistent
and match documentation.

Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
  • Loading branch information
Ben Hutchings committed May 22, 2019
1 parent 81e6e5d commit 1a20d05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/x86/kernel/cpu/bugs.c
Original file line number Diff line number Diff line change
Expand Up @@ -1225,7 +1225,7 @@ static ssize_t cpu_show_common(struct device *dev, struct device_attribute *attr

case X86_BUG_L1TF:
if (boot_cpu_has(X86_FEATURE_L1TF_PTEINV))
return sprintf(buf, "Mitigation: Page Table Inversion\n");
return sprintf(buf, "Mitigation: PTE Inversion\n");
break;

case X86_BUG_MDS:
Expand Down

0 comments on commit 1a20d05

Please sign in to comment.