summaryrefslogtreecommitdiff
path: root/sys-kernel/linux-sources-redcore/files/fix-spectre_v2-mitigation-strings.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-08-27 12:00:43 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-08-27 12:00:43 +0100
commit86dc0f17c1c68e91d62ac309d107694860cbb711 (patch)
treef815a8e8c6cdeec57466f922b2b77a4c44005cb2 /sys-kernel/linux-sources-redcore/files/fix-spectre_v2-mitigation-strings.patch
parent22ce99f256f7154dd8e65eb62a778cb9220f84d0 (diff)
sys-kernel/linux-{image,sources}-redcore : version bump
Diffstat (limited to 'sys-kernel/linux-sources-redcore/files/fix-spectre_v2-mitigation-strings.patch')
-rw-r--r--sys-kernel/linux-sources-redcore/files/fix-spectre_v2-mitigation-strings.patch28
1 files changed, 0 insertions, 28 deletions
diff --git a/sys-kernel/linux-sources-redcore/files/fix-spectre_v2-mitigation-strings.patch b/sys-kernel/linux-sources-redcore/files/fix-spectre_v2-mitigation-strings.patch
deleted file mode 100644
index f77bb823..00000000
--- a/sys-kernel/linux-sources-redcore/files/fix-spectre_v2-mitigation-strings.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-diff -Naur linux-4.16.5/arch/x86/kernel/cpu/bugs.c linux-4.16.5-p/arch/x86/kernel/cpu/bugs.c
---- linux-4.16.5/arch/x86/kernel/cpu/bugs.c 2018-04-26 11:00:39.000000000 +0200
-+++ linux-4.16.5-p/arch/x86/kernel/cpu/bugs.c 2018-04-28 02:34:28.424306602 +0200
-@@ -292,13 +292,13 @@
- if ((!boot_cpu_has(X86_FEATURE_PTI) &&
- !boot_cpu_has(X86_FEATURE_SMEP)) || is_skylake_era()) {
- setup_force_cpu_cap(X86_FEATURE_RSB_CTXSW);
-- pr_info("Spectre v2 mitigation: Filling RSB on context switch\n");
-+ pr_info("Mitigation: Filling RSB on context switch\n");
- }
-
- /* Initialize Indirect Branch Prediction Barrier if supported */
- if (boot_cpu_has(X86_FEATURE_IBPB)) {
- setup_force_cpu_cap(X86_FEATURE_USE_IBPB);
-- pr_info("Spectre v2 mitigation: Enabling Indirect Branch Prediction Barrier\n");
-+ pr_info("Mitigation: Enabling Indirect Branch Prediction Barrier\n");
- }
-
- /*
-@@ -307,7 +307,7 @@
- */
- if (boot_cpu_has(X86_FEATURE_IBRS)) {
- setup_force_cpu_cap(X86_FEATURE_USE_IBRS_FW);
-- pr_info("Enabling Restricted Speculation for firmware calls\n");
-+ pr_info("Mitigation: Enabling Restricted Speculation for firmware calls\n");
- }
- }
-