From: Borislav Petkov Date: Fri, 26 Jan 2018 12:11:39 +0000 (+0100) Subject: x86/bugs: Drop one "mitigation" from dmesg X-Git-Tag: v4.1.12-124.31.3~1152 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=352293dd697dc1b8127e0cdf5fda94f0bf79723c;p=users%2Fjedix%2Flinux-maple.git x86/bugs: Drop one "mitigation" from dmesg Make [ 0.031118] Spectre V2 mitigation: Mitigation: Full generic retpoline into [ 0.031118] Spectre V2: Mitigation: Full generic retpoline to reduce the mitigation mitigations strings. Signed-off-by: Borislav Petkov Signed-off-by: Thomas Gleixner Reviewed-by: Greg Kroah-Hartman Cc: riel@redhat.com Cc: ak@linux.intel.com Cc: peterz@infradead.org Cc: David Woodhouse Cc: jikos@kernel.org Cc: luto@amacapital.net Cc: dave.hansen@intel.com Cc: torvalds@linux-foundation.org Cc: keescook@google.com Cc: Josh Poimboeuf Cc: tim.c.chen@linux.intel.com Cc: pjt@google.com Link: https://lkml.kernel.org/r/20180126121139.31959-5-bp@alien8.de (cherry picked from commit 55fa19d3e51f33d9cd4056d25836d93abf9438db) Orabug: 27477743 CVE: CVE-2017-5715 Signed-off-by: Konrad Rzeszutek Wilk Conflicts: arch/x86/kernel/cpu/bugs.c [It is bugs_64.c in our kernel] Reviewed-by: Pavel Tatashin --- diff --git a/arch/x86/kernel/cpu/bugs_64.c b/arch/x86/kernel/cpu/bugs_64.c index 763ada9dcab0..421b151e8dea 100644 --- a/arch/x86/kernel/cpu/bugs_64.c +++ b/arch/x86/kernel/cpu/bugs_64.c @@ -108,7 +108,7 @@ static const char *spectre_v2_strings[] = { }; #undef pr_fmt -#define pr_fmt(fmt) "Spectre V2 mitigation: " fmt +#define pr_fmt(fmt) "Spectre V2 : " fmt static enum spectre_v2_mitigation spectre_v2_enabled = SPECTRE_V2_NONE;