From ccd6f4e1705d634ffd2aa863c73f43f5bcc4876f Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 28 Apr 2018 06:10:11 +0100 Subject: sys-kernel/linux-{image,sources}-redcore : version bump --- ...ata-fix-NCQ-LOG-strings-and-move-to-debug.patch | 23 ++++++++++++++++++ .../files/fix-spectre_v2-mitigation-strings.patch | 28 ++++++++++++++++++++++ 2 files changed, 51 insertions(+) create mode 100644 sys-kernel/linux-sources-redcore/files/ata-fix-NCQ-LOG-strings-and-move-to-debug.patch create mode 100644 sys-kernel/linux-sources-redcore/files/fix-spectre_v2-mitigation-strings.patch (limited to 'sys-kernel/linux-sources-redcore/files') diff --git a/sys-kernel/linux-sources-redcore/files/ata-fix-NCQ-LOG-strings-and-move-to-debug.patch b/sys-kernel/linux-sources-redcore/files/ata-fix-NCQ-LOG-strings-and-move-to-debug.patch new file mode 100644 index 00000000..344a8c4b --- /dev/null +++ b/sys-kernel/linux-sources-redcore/files/ata-fix-NCQ-LOG-strings-and-move-to-debug.patch @@ -0,0 +1,23 @@ +diff -Naur linux-4.16.5/drivers/ata/libata-core.c linux-4.16.5-p/drivers/ata/libata-core.c +--- linux-4.16.5/drivers/ata/libata-core.c 2018-04-26 11:00:39.000000000 +0200 ++++ linux-4.16.5-p/drivers/ata/libata-core.c 2018-04-28 02:19:06.632381413 +0200 +@@ -2201,7 +2201,7 @@ + unsigned int err_mask; + + if (!ata_log_supported(dev, ATA_LOG_NCQ_SEND_RECV)) { +- ata_dev_warn(dev, "NCQ Send/Recv Log not supported\n"); ++ ata_dev_dbg(dev, "NCQ Send/Recv Log not supported\n"); + return; + } + err_mask = ata_read_log_page(dev, ATA_LOG_NCQ_SEND_RECV, +@@ -2230,8 +2230,8 @@ + unsigned int err_mask; + + if (!ata_log_supported(dev, ATA_LOG_NCQ_NON_DATA)) { +- ata_dev_warn(dev, +- "NCQ Send/Recv Log not supported\n"); ++ ata_dev_dbg(dev, ++ "NCQ Non-Data Log not supported\n"); + return; + } + err_mask = ata_read_log_page(dev, ATA_LOG_NCQ_NON_DATA, 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 new file mode 100644 index 00000000..f77bb823 --- /dev/null +++ b/sys-kernel/linux-sources-redcore/files/fix-spectre_v2-mitigation-strings.patch @@ -0,0 +1,28 @@ +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"); + } + } + -- cgit v1.2.3