x86/bugs: Change L1TF mitigation string to match upstream
authorBen Hutchings <ben@decadent.org.uk>
Tue, 14 May 2019 12:46:46 +0000 (13:46 +0100)
committerBen Hutchings <ben@decadent.org.uk>
Wed, 22 May 2019 22:15:28 +0000 (23:15 +0100)
Commit 72c6d2db64fa "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>
arch/x86/kernel/cpu/bugs.c

index 88c6f87151a36acfc468bb784f211be4b6c3bcfc..e325029ff01ab0594821a559a1beb753af1f4a85 100644 (file)
@@ -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: