diff options
| author | Alexandre Oliva <lxoliva@fsfla.org> | 2018-01-28 18:40:49 +0000 |
|---|---|---|
| committer | Alexandre Oliva <lxoliva@fsfla.org> | 2018-01-28 18:40:49 +0000 |
| commit | 1b56898c4475825e049978331e2a011ad2f7a2d1 (patch) | |
| tree | c8e6ddcaeb1cde717c56ecddfe6fe4240b2a59fd | |
| parent | b4ee2cf0b295960ff906a330355a1184d8e100aa (diff) | |
| download | linux-libre-raptor-1b56898c4475825e049978331e2a011ad2f7a2d1.tar.gz linux-libre-raptor-1b56898c4475825e049978331e2a011ad2f7a2d1.zip | |
4.14.15-201.fc26.gnu
| -rw-r--r-- | freed-ora/current/f26/kernel.spec | 6 | ||||
| -rw-r--r-- | freed-ora/current/f26/revert-module-add-retpoline-tag-to-vermagic.patch | 52 |
2 files changed, 57 insertions, 1 deletions
diff --git a/freed-ora/current/f26/kernel.spec b/freed-ora/current/f26/kernel.spec index 7312e1087..d0208195e 100644 --- a/freed-ora/current/f26/kernel.spec +++ b/freed-ora/current/f26/kernel.spec @@ -42,7 +42,7 @@ Summary: The Linux kernel # For non-released -rc kernels, this will be appended after the rcX and # gitX tags, so a 3 here would become part of release "0.rcX.gitX.3" # -%global baserelease 200 +%global baserelease 201 %global fedora_build %{baserelease} # base_sublevel is the kernel version we're starting with and patching @@ -679,6 +679,7 @@ Patch507: loop-fix-concurrent-lo_open-lo_release.patch # 550-600 Meltdown and Spectre Fixes Patch550: prevent-bounds-check-bypass-via-speculative-execution.patch +Patch551: revert-module-add-retpoline-tag-to-vermagic.patch # 600 - Patches for improved Bay and Cherry Trail device support # Below patches are submitted upstream, awaiting review / merging @@ -2356,6 +2357,9 @@ fi # # %changelog +* Fri Jan 26 2018 Justin M. Forbes <jforbes@fedoraproject.org> - 4.14.15-201 +- Revert retpoline vermagic tag + * Wed Jan 24 2018 Alexandre Oliva <lxoliva@fsfla.org> -libre - GNU Linux-libre 4.14.15-gnu. diff --git a/freed-ora/current/f26/revert-module-add-retpoline-tag-to-vermagic.patch b/freed-ora/current/f26/revert-module-add-retpoline-tag-to-vermagic.patch new file mode 100644 index 000000000..2b4d0eacc --- /dev/null +++ b/freed-ora/current/f26/revert-module-add-retpoline-tag-to-vermagic.patch @@ -0,0 +1,52 @@ +From 5132ede0fe8092b043dae09a7cc32b8ae7272baa Mon Sep 17 00:00:00 2001 +From: Greg Kroah-Hartman <gregkh@linuxfoundation.org> +Date: Wed, 24 Jan 2018 15:28:17 +0100 +Subject: Revert "module: Add retpoline tag to VERMAGIC" + +From: Greg Kroah-Hartman <gregkh@linuxfoundation.org> + +commit 5132ede0fe8092b043dae09a7cc32b8ae7272baa upstream. + +This reverts commit 6cfb521ac0d5b97470883ff9b7facae264b7ab12. + +Turns out distros do not want to make retpoline as part of their "ABI", +so this patch should not have been merged. Sorry Andi, this was my +fault, I suggested it when your original patch was the "correct" way of +doing this instead. + +Reported-by: Jiri Kosina <jikos@kernel.org> +Fixes: 6cfb521ac0d5 ("module: Add retpoline tag to VERMAGIC") +Acked-by: Andi Kleen <ak@linux.intel.com> +Cc: Thomas Gleixner <tglx@linutronix.de> +Cc: David Woodhouse <dwmw@amazon.co.uk> +Cc: rusty@rustcorp.com.au +Cc: arjan.van.de.ven@intel.com +Cc: jeyu@kernel.org +Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> +Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> + +--- + include/linux/vermagic.h | 8 +------- + 1 file changed, 1 insertion(+), 7 deletions(-) + +--- a/include/linux/vermagic.h ++++ b/include/linux/vermagic.h +@@ -31,17 +31,11 @@ + #else + #define MODULE_RANDSTRUCT_PLUGIN + #endif +-#ifdef RETPOLINE +-#define MODULE_VERMAGIC_RETPOLINE "retpoline " +-#else +-#define MODULE_VERMAGIC_RETPOLINE "" +-#endif + + #define VERMAGIC_STRING \ + UTS_RELEASE " " \ + MODULE_VERMAGIC_SMP MODULE_VERMAGIC_PREEMPT \ + MODULE_VERMAGIC_MODULE_UNLOAD MODULE_VERMAGIC_MODVERSIONS \ + MODULE_ARCH_VERMAGIC \ +- MODULE_RANDSTRUCT_PLUGIN \ +- MODULE_VERMAGIC_RETPOLINE ++ MODULE_RANDSTRUCT_PLUGIN + |

