Gentoo Archives: gentoo-commits

From: Mike Pagano <mpagano@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/linux-patches:4.14 commit in: /
Date: Wed, 14 Nov 2018 13:49:16
Message-Id: 1542203320.9a8b7324400b0c4bd189e664afc783f00fb78809.mpagano@gentoo
1 commit: 9a8b7324400b0c4bd189e664afc783f00fb78809
2 Author: Mike Pagano <mpagano <AT> gentoo <DOT> org>
3 AuthorDate: Fri Aug 17 19:36:32 2018 +0000
4 Commit: Mike Pagano <mpagano <AT> gentoo <DOT> org>
5 CommitDate: Wed Nov 14 13:48:40 2018 +0000
6 URL: https://gitweb.gentoo.org/proj/linux-patches.git/commit/?id=9a8b7324
7
8 Removal of redundant patch:
9
10 x86/l1tf: Fix build error seen if CONFIG_KVM_INTEL is disabled
11
12 Signed-off-by: Mike Pagano <mpagano <AT> gentoo.org>
13
14 0000_README | 4 ---
15 1705_x86-l1tf-config-kvm-build-error-fix.patch | 40 --------------------------
16 2 files changed, 44 deletions(-)
17
18 diff --git a/0000_README b/0000_README
19 index 41f1d75..614d36d 100644
20 --- a/0000_README
21 +++ b/0000_README
22 @@ -311,10 +311,6 @@ Patch: 1700_ia64_fix_ptrace.patch
23 From: https://patchwork.kernel.org/patch/10198159/
24 Desc: ia64: fix ptrace(PTRACE_GETREGS) (unbreaks strace, gdb).
25
26 -Patch: 1705_x86-l1tf-config-kvm-build-error-fix.patch
27 -From: http://www.kernel.org
28 -Desc: x86/l1tf: Fix build error seen if CONFIG_KVM_INTEL is disabled
29 -
30 Patch: 2100_bcache-data-corruption-fix-for-bi-partno.patch
31 From: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=62530ed8b1d07a45dec94d46e521c0c6c2d476e6
32 Desc: bio: ensure __bio_clone_fast copies bi_partno.
33
34 diff --git a/1705_x86-l1tf-config-kvm-build-error-fix.patch b/1705_x86-l1tf-config-kvm-build-error-fix.patch
35 deleted file mode 100644
36 index 88c2ec6..0000000
37 --- a/1705_x86-l1tf-config-kvm-build-error-fix.patch
38 +++ /dev/null
39 @@ -1,40 +0,0 @@
40 -From 1eb46908b35dfbac0ec1848d4b1e39667e0187e9 Mon Sep 17 00:00:00 2001
41 -From: Guenter Roeck <linux@××××××××.net>
42 -Date: Wed, 15 Aug 2018 08:38:33 -0700
43 -Subject: x86/l1tf: Fix build error seen if CONFIG_KVM_INTEL is disabled
44 -
45 -From: Guenter Roeck <linux@××××××××.net>
46 -
47 -commit 1eb46908b35dfbac0ec1848d4b1e39667e0187e9 upstream.
48 -
49 -allmodconfig+CONFIG_INTEL_KVM=n results in the following build error.
50 -
51 - ERROR: "l1tf_vmx_mitigation" [arch/x86/kvm/kvm.ko] undefined!
52 -
53 -Fixes: 5b76a3cff011 ("KVM: VMX: Tell the nested hypervisor to skip L1D flush on vmentry")
54 -Reported-by: Meelis Roos <mroos@×××××.ee>
55 -Cc: Meelis Roos <mroos@×××××.ee>
56 -Cc: Paolo Bonzini <pbonzini@××××××.com>
57 -Cc: Thomas Gleixner <tglx@××××××××××.de>
58 -Signed-off-by: Guenter Roeck <linux@××××××××.net>
59 -Signed-off-by: Linus Torvalds <torvalds@××××××××××××××××.org>
60 -Signed-off-by: Greg Kroah-Hartman <gregkh@×××××××××××××××.org>
61 -
62 ----
63 - arch/x86/kernel/cpu/bugs.c | 3 +--
64 - 1 file changed, 1 insertion(+), 2 deletions(-)
65 -
66 ---- a/arch/x86/kernel/cpu/bugs.c
67 -+++ b/arch/x86/kernel/cpu/bugs.c
68 -@@ -648,10 +648,9 @@ void x86_spec_ctrl_setup_ap(void)
69 - enum l1tf_mitigations l1tf_mitigation __ro_after_init = L1TF_MITIGATION_FLUSH;
70 - #if IS_ENABLED(CONFIG_KVM_INTEL)
71 - EXPORT_SYMBOL_GPL(l1tf_mitigation);
72 --
73 -+#endif
74 - enum vmx_l1d_flush_state l1tf_vmx_mitigation = VMENTER_L1D_FLUSH_AUTO;
75 - EXPORT_SYMBOL_GPL(l1tf_vmx_mitigation);
76 --#endif
77 -
78 - static void __init l1tf_select_mitigation(void)
79 - {