Received: by 10.223.176.5 with SMTP id f5csp2985842wra; Thu, 1 Feb 2018 09:01:34 -0800 (PST) X-Google-Smtp-Source: AH8x226nM9YNU2AJ4w4PpAlZEmzdgjdWuI4YslSDg63aphFM8e668gGMyP99Ua64CjRVzn0GA0/6 X-Received: by 2002:a17:902:bc01:: with SMTP id n1-v6mr1626901pls.52.1517504494496; Thu, 01 Feb 2018 09:01:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517504494; cv=none; d=google.com; s=arc-20160816; b=cfK+/lCYuclRDd96DFeezRsdBpoOqYIH6bMABMM5j85FQAjPg3t2zFX45UFL+eBBlR kaNDjDWKbzV3JRA0nkx1Ny5Vg76kOLdtrWcGdJqwGtET6LP6caSVY2DQQTgPqaKBORyT HKdLRZx+oKKYA9kT6R2M2rTjlI9if0DZlbDsIn9KQjPcgEY/C/WRQmHKGkNNl4N0FYyk KSllFR9l6yvyRsjIBc2ff+ycqzYyTY+ghMgDDkDV5ddSLVzYZR4V+hMdHQmIZZQxD5h1 ahoLv6zDlk0cqkcM1uGur4XWQyqvLSuEm8wyS4KcQ0b5bX6/2qdE7qogkkjD7X7GDoBY eyBQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=XRrJna2Px7cqIEGdoAgR1RZ5ll6h08b2LqLI77mk/CM=; b=G42TPR8+fmCY58jwVltwob2A94o87bqgTuVA9k72fwHRwusSgXx1V78RlCaoLpm/sF hF143JEgMCgQgyihY90wzlPgBXR+HxSxBpEc6KitVzpobhjjHuQROuByMaSpJQfhJdCI /FJE/AS8IoAn1NxCEheSyhePJNGFKY0OZqgFSY38jS7ELme79n3Ya8CdTSs/3O5d6pU0 qA0y0yvWoaBA9sURRzHI2OJXQGiCP8nl+B8B79PQgo/uICRVnmveqKLr0i9EkC7kdNzS HvZI2dwvi6RmrQcwbbthZiq+roaJ4Z0isbvfBOVahL8ig6uPdJosahsjvOyTva7baNwA Yzqw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n127si5401607pga.171.2018.02.01.09.01.19; Thu, 01 Feb 2018 09:01:34 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752948AbeBARA1 (ORCPT + 99 others); Thu, 1 Feb 2018 12:00:27 -0500 Received: from mga09.intel.com ([134.134.136.24]:30781 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752240AbeBARA0 (ORCPT ); Thu, 1 Feb 2018 12:00:26 -0500 X-Amp-Result: UNSCANNABLE X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 01 Feb 2018 09:00:25 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.46,444,1511856000"; d="scan'208";a="28071003" Received: from araj-mobl1.jf.intel.com ([10.7.201.29]) by orsmga001.jf.intel.com with ESMTP; 01 Feb 2018 09:00:25 -0800 Date: Thu, 1 Feb 2018 09:00:25 -0800 From: "Raj, Ashok" To: KarimAllah Ahmed 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 Subject: Re: [PATCH v5 2/5] KVM: x86: Add IBPB support 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 Content-Disposition: inline In-Reply-To: <1517427467-28567-3-git-send-email-karahmed@amazon.de> User-Agent: Mutt/1.9.1 (2017-09-22) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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