diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-04-28 06:10:11 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-04-28 06:10:11 +0100 |
commit | ccd6f4e1705d634ffd2aa863c73f43f5bcc4876f (patch) | |
tree | 4e0b14fb3adaa01f84447bf04b081f90eedb1eaa /sys-kernel/linux-image-redcore/files | |
parent | 714b5615d9e699d428b7aa021fb8237a327ac8a2 (diff) |
sys-kernel/linux-{image,sources}-redcore : version bump
Diffstat (limited to 'sys-kernel/linux-image-redcore/files')
-rw-r--r-- | sys-kernel/linux-image-redcore/files/ata-fix-NCQ-LOG-strings-and-move-to-debug.patch | 23 | ||||
-rw-r--r-- | sys-kernel/linux-image-redcore/files/fix-spectre_v2-mitigation-strings.patch | 28 |
2 files changed, 51 insertions, 0 deletions
diff --git a/sys-kernel/linux-image-redcore/files/ata-fix-NCQ-LOG-strings-and-move-to-debug.patch b/sys-kernel/linux-image-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-image-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-image-redcore/files/fix-spectre_v2-mitigation-strings.patch b/sys-kernel/linux-image-redcore/files/fix-spectre_v2-mitigation-strings.patch new file mode 100644 index 00000000..f77bb823 --- /dev/null +++ b/sys-kernel/linux-image-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"); + } + } + |