From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Raj, Ashok" Subject: Re: [PATCH v5 2/5] KVM: x86: Add IBPB support Date: Thu, 1 Feb 2018 09:00:25 -0800 Message-ID: <20180201170024.GA30307@araj-mobl1.jf.intel.com> References: <1517427467-28567-1-git-send-email-karahmed@amazon.de> <1517427467-28567-3-git-send-email-karahmed@amazon.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: kvm@vger.kernel.org, linux-kernel@vger.kernel.org, x86@kernel.org, Asit Mallick , Dave Hansen , Arjan Van De Ven , Tim Chen , Linus Torvalds , Andrea Arcangeli , Andi Kleen , Thomas Gleixner , Dan Williams , Jun Nakajima , Andy Lutomirski , Greg KH , Paolo Bonzini , Peter Zijlstra , David Woodhouse , Ashok Raj To: KarimAllah Ahmed Return-path: Content-Disposition: inline In-Reply-To: <1517427467-28567-3-git-send-email-karahmed@amazon.de> Sender: linux-kernel-owner@vger.kernel.org List-Id: kvm.vger.kernel.org Hi Karim Thanks for cracking at it through all the iterations. On Wed, Jan 31, 2018 at 08:37:44PM +0100, KarimAllah Ahmed wrote: > From: Ashok Raj > > The Indirect Branch Predictor Barrier (IBPB) is an indirect branch > control mechanism. It keeps earlier branches from influencing > later ones. It might be better to split this patch into two parts. - Just the place where we do IBPB barrier for VMX/SVM - The msr get/set handling to comprehend guest, nested support etc. The first part should be trivial so it can possibly make it into tip/x86/pti branch sooner, while we rework the feedback to address this completely. Cheers, Ashok