Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 543604 Details for
Bug 663656
L1 Terminal Fault (L1TF)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
x86-l1tf-fix-build-error-seen-if-config_kvm_intel-is-disabled.patch
x86-l1tf-fix-build-error-seen-if-config_kvm_intel-is-disabled.patch (text/plain), 1.40 KB, created by
kfm
on 2018-08-15 19:03:38 UTC
(
hide
)
Description:
x86-l1tf-fix-build-error-seen-if-config_kvm_intel-is-disabled.patch
Filename:
MIME Type:
Creator:
kfm
Created:
2018-08-15 19:03:38 UTC
Size:
1.40 KB
patch
obsolete
>From 1eb46908b35dfbac0ec1848d4b1e39667e0187e9 Mon Sep 17 00:00:00 2001 >From: Guenter Roeck <linux@roeck-us.net> >Date: Wed, 15 Aug 2018 08:38:33 -0700 >Subject: x86/l1tf: Fix build error seen if CONFIG_KVM_INTEL is disabled > >From: Guenter Roeck <linux@roeck-us.net> > >commit 1eb46908b35dfbac0ec1848d4b1e39667e0187e9 upstream. > >allmodconfig+CONFIG_INTEL_KVM=n results in the following build error. > > ERROR: "l1tf_vmx_mitigation" [arch/x86/kvm/kvm.ko] undefined! > >Fixes: 5b76a3cff011 ("KVM: VMX: Tell the nested hypervisor to skip L1D flush on vmentry") >Reported-by: Meelis Roos <mroos@linux.ee> >Cc: Meelis Roos <mroos@linux.ee> >Cc: Paolo Bonzini <pbonzini@redhat.com> >Cc: Thomas Gleixner <tglx@linutronix.de> >Signed-off-by: Guenter Roeck <linux@roeck-us.net> >Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> >Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> > >--- > arch/x86/kernel/cpu/bugs.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > >--- a/arch/x86/kernel/cpu/bugs.c >+++ b/arch/x86/kernel/cpu/bugs.c >@@ -648,10 +648,9 @@ void x86_spec_ctrl_setup_ap(void) > enum l1tf_mitigations l1tf_mitigation __ro_after_init = L1TF_MITIGATION_FLUSH; > #if IS_ENABLED(CONFIG_KVM_INTEL) > EXPORT_SYMBOL_GPL(l1tf_mitigation); >- >+#endif > enum vmx_l1d_flush_state l1tf_vmx_mitigation = VMENTER_L1D_FLUSH_AUTO; > EXPORT_SYMBOL_GPL(l1tf_vmx_mitigation); >-#endif > > static void __init l1tf_select_mitigation(void) > {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 663656
: 543604