From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753609AbeAOCjG (ORCPT + 1 other); Sun, 14 Jan 2018 21:39:06 -0500 Received: from ozlabs.org ([103.22.144.67]:36573 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752322AbeAOCjE (ORCPT ); Sun, 14 Jan 2018 21:39:04 -0500 Date: Mon, 15 Jan 2018 13:39:02 +1100 From: Stephen Rothwell To: Paolo Bonzini , Radim =?UTF-8?B?S3LEjW3DocWZ?= , KVM , Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , Peter Zijlstra Cc: Linux-Next Mailing List , Linux Kernel Mailing List , David Woodhouse , Chao Peng , Luwei Kang Subject: linux-next: manual merge of the kvm tree with the tip tree Message-ID: <20180115133902.0abe39af@canb.auug.org.au> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: Hi all, Today's linux-next merge of the kvm tree got a conflict in: arch/x86/kvm/vmx.c between commit: 117cc7a908c8 ("x86/retpoline: Fill return stack buffer on vmexit") from the tip tree and commit: 3e95fd6d0561 ("KVM: x86: Add Intel Processor Trace virtualization mode") from the kvm tree. I fixed it up (see below) and can carry the fix as necessary. This is now fixed as far as linux-next is concerned, but any non trivial conflicts should be mentioned to your upstream maintainer when your tree is submitted for merging. You may also want to consider cooperating with the maintainer of the conflicting tree to minimise any particularly complex conflicts. -- Cheers, Stephen Rothwell diff --cc arch/x86/kvm/vmx.c index c829d89e2e63,87ac655760e5..000000000000 --- a/arch/x86/kvm/vmx.c +++ b/arch/x86/kvm/vmx.c @@@ -50,7 -50,7 +50,8 @@@ #include #include #include +#include + #include #include "trace.h" #include "pmu.h" @@@ -9491,12 -9721,9 +9731,12 @@@ static void __noclone vmx_vcpu_run(stru #endif ); + /* Eliminate branch target predictions from guest mode */ + vmexit_fill_RSB(); + /* MSR_IA32_DEBUGCTLMSR is zeroed on vmexit. Restore it if needed */ - if (debugctlmsr) - update_debugctlmsr(debugctlmsr); + if (vmx->host_debugctlmsr) + update_debugctlmsr(vmx->host_debugctlmsr); #ifndef CONFIG_X86_64 /*