Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=a63a601810ec18c71c996ca137dca54a9c45633a
commit a63a601810ec18c71c996ca137dca54a9c45633a Author: DeX77 <[email protected]> Date: Wed Jan 3 23:36:45 2018 +0100 kernel-4.14.11-2-x86_64 * kernel 4.14.11-2 diff --git a/source/base/kernel/FrugalBuild b/source/base/kernel/FrugalBuild index be6e83d..48c16d4 100644 --- a/source/base/kernel/FrugalBuild +++ b/source/base/kernel/FrugalBuild @@ -38,6 +38,7 @@ _F_kernel_patches=( # mute PPS error shit .. buggy in 4.14.x mute-pps_state_mismatch.patch fix-e1000e-nm.patch + consider-amd-secure.patch ) for ppatch in "${_F_kernel_patches[@]}" diff --git a/source/base/kernel/consider-amd-secure.patch b/source/base/kernel/consider-amd-secure.patch new file mode 100644 index 0000000..fe85916 --- /dev/null +++ b/source/base/kernel/consider-amd-secure.patch @@ -0,0 +1,21 @@ +--- + arch/x86/kernel/cpu/common.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/arch/x86/kernel/cpu/common.c b/arch/x86/kernel/cpu/common.c +index f2a94df..b1be494 100644 +--- a/arch/x86/kernel/cpu/common.c ++++ b/arch/x86/kernel/cpu/common.c +@@ -899,8 +899,8 @@ static void __init early_identify_cpu(struct cpuinfo_x86 *c) + + setup_force_cpu_cap(X86_FEATURE_ALWAYS); + +- /* Assume for now that ALL x86 CPUs are insecure */ +- setup_force_cpu_bug(X86_BUG_CPU_INSECURE); ++ if (c->x86_vendor != X86_VENDOR_AMD) ++ setup_force_cpu_bug(X86_BUG_CPU_INSECURE); + + fpu__init_system(c); + + + \ No newline at end of file diff --git a/source/include/kernel-version.sh b/source/include/kernel-version.sh index 23c6253..039e033 100644 --- a/source/include/kernel-version.sh +++ b/source/include/kernel-version.sh @@ -17,7 +17,7 @@ # * _F_kernelver_nextver: the next kernel version ### _F_kernelver_ver=4.14.11 -_F_kernelver_rel=1 +_F_kernelver_rel=2 ### # == APPENDED VALUES _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
