]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 16 May 2019 17:45:16 +0000 (19:45 +0200)
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/x86/kernel/cpu/bugs.c

index 95b15c293077ca3a9b491da84c796785c1c10c8b..2017fa20611c882e9345c2026900b0c09ee48f2f 100644 (file)
@@ -1160,7 +1160,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: