Received: by 10.223.176.5 with SMTP id f5csp1852909wra; Wed, 31 Jan 2018 12:37:28 -0800 (PST) X-Google-Smtp-Source: AH8x224HvLC5rhkHGZA1TK6HuJ0mYNTW1gBvAT5xtqLOLuUdMBXF8BxhV3dxC4vUrN72zdJYv8CF X-Received: by 10.99.111.11 with SMTP id k11mr26980269pgc.414.1517431048218; Wed, 31 Jan 2018 12:37:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517431048; cv=none; d=google.com; s=arc-20160816; b=aiQ/rkF6NrRgFRYZH7ob2pnIQK+2nCutKar8D5MlGcA46HkLfnYf995ANRBvWJ5iLY NGiGreOS/hOfOtI0Zubcnbdd+BhX8VssxH4O+rXmDCtLtMK8oyHJYYwPuxURX8GmvmAG Y2TnPTqEe09MSaBA3eihIZ23NYbTJWXOu0Q2NvPHmuiZDT59XQ6/wZ/GCCwMZ9S+JFZs MtYWoiYDdsjYi6YDu3uUGGmfnjKGk8vHjW9sLcSd+gWHxKlLcM3GVPHyUH2LYQ9gHQHW 2klH50AmoTBezzuRqGqdtMV+yq0VI8KeWCWbqWCTCFlzHU4t1LCyWV8I0mt7rJevwO7c pFRw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=7cdwQ1YvvUy0k68nLW2EHnYaTKZBa2o+O9zU7iLCIzA=; b=ByuBJaQrU30M/JdbhdnIuBhfTBQbiDHuR6Haf39G8hkh/y6U7M6M4+W6RSmkh6QdN4 esDF4xK7pBA8x3ENQFheheR5b00PquM2Ul3t6x1clTER6/Owt81yThHJIaz8ubFc3YjW AYpTbZaFXujsDhLJTtivowEbNyh1Mw1Xa6pHYUGbEehoSjpaoJgWRDvSnqTm3V4TLLpY H7rBJZ8MS5iZ03Po9a+7fGoUbxkq21nfoq/CDf+9vSDim8m3UK0Bhz0XHD542u4KOBaJ NHDyaFh7hOhix+oeuCq5ARy6hZLWhj+/X3CacWpl3jzLtmTPPIWZ6ZJW66Igz7cDHzqX ew+A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=pBKdAOul; 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a92-v6si235897pla.543.2018.01.31.12.37.13; Wed, 31 Jan 2018 12:37:28 -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; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=pBKdAOul; 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751782AbeAaUgu (ORCPT + 99 others); Wed, 31 Jan 2018 15:36:50 -0500 Received: from smtp-fw-6001.amazon.com ([52.95.48.154]:14378 "EHLO smtp-fw-6001.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751190AbeAaUgs (ORCPT ); Wed, 31 Jan 2018 15:36:48 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1517431008; x=1548967008; h=subject:to:cc:references:from:message-id:date: mime-version:in-reply-to:content-transfer-encoding; bh=7cdwQ1YvvUy0k68nLW2EHnYaTKZBa2o+O9zU7iLCIzA=; b=pBKdAOulBYfeGCnxJr0AlGK5A+ZS00RqGpyCkJfhJYGyYkPzt3g3kn0D UrthxjHPEQfrYw2zSAYTxow2GogfJN+grRQR3dATAFneR3fdqnjN0vMey ne6xP4fu9cddxvkhOulLRDyew0ifPBsr6WzJ9UvfSE4hc43ITn/qtdGII c=; X-IronPort-AV: E=Sophos;i="5.46,441,1511827200"; d="scan'208";a="329990506" Received: from iad6-co-svc-p1-lb1-vlan3.amazon.com (HELO email-inbound-relay-1d-2c665b5d.us-east-1.amazon.com) ([10.124.125.6]) by smtp-border-fw-out-6001.iad6.amazon.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 31 Jan 2018 20:36:47 +0000 Received: from EX13MTAUEA001.ant.amazon.com (iad55-ws-svc-p15-lb9-vlan2.iad.amazon.com [10.40.159.162]) by email-inbound-relay-1d-2c665b5d.us-east-1.amazon.com (8.14.7/8.14.7) with ESMTP id w0VKabSe019901 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL); Wed, 31 Jan 2018 20:36:39 GMT Received: from EX13D01EUB003.ant.amazon.com (10.43.166.248) by EX13MTAUEA001.ant.amazon.com (10.43.61.243) with Microsoft SMTP Server (TLS) id 15.0.1236.3; Wed, 31 Jan 2018 20:36:38 +0000 Received: from [10.85.102.109] (10.43.160.237) by EX13D01EUB003.ant.amazon.com (10.43.166.248) with Microsoft SMTP Server (TLS) id 15.0.1236.3; Wed, 31 Jan 2018 20:36:29 +0000 Subject: Re: [PATCH v5 2/5] KVM: x86: Add IBPB support To: Konrad Rzeszutek Wilk , KarimAllah Ahmed CC: , , , Ashok Raj , 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 References: <1517427467-28567-1-git-send-email-karahmed@amazon.de> <1517427467-28567-3-git-send-email-karahmed@amazon.de> <20180131202846.GG22045@char.us.oracle.com> From: KarimAllah Ahmed Message-ID: <94a067bd-106a-e683-14e0-9a5617edd0fc@amazon.com> Date: Wed, 31 Jan 2018 21:36:24 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 MIME-Version: 1.0 In-Reply-To: <20180131202846.GG22045@char.us.oracle.com> Content-Language: en-US X-Originating-IP: [10.43.160.237] X-ClientProxiedBy: EX13D12UWC002.ant.amazon.com (10.43.162.253) To EX13D01EUB003.ant.amazon.com (10.43.166.248) Content-Type: text/plain; charset="utf-8"; format="flowed" Content-Transfer-Encoding: base64 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gMDEvMzEvMjAxOCAwOToyOCBQTSwgS29ucmFkIFJ6ZXN6dXRlayBXaWxrIHdyb3RlOgo+PiBk aWZmIC0tZ2l0IGEvYXJjaC94ODYva3ZtL3ZteC5jIGIvYXJjaC94ODYva3ZtL3ZteC5jCj4+IGlu ZGV4IGQ0NmE2MWIuLjJlNGU4YWYgMTAwNjQ0Cj4+IC0tLSBhL2FyY2gveDg2L2t2bS92bXguYwo+ PiArKysgYi9hcmNoL3g4Ni9rdm0vdm14LmMKPj4gQEAgLTIyODUsNiArMjI4NSw3IEBAIHN0YXRp YyB2b2lkIHZteF92Y3B1X2xvYWQoc3RydWN0IGt2bV92Y3B1ICp2Y3B1LCBpbnQgY3B1KQo+PiAg IAlpZiAocGVyX2NwdShjdXJyZW50X3ZtY3MsIGNwdSkgIT0gdm14LT5sb2FkZWRfdm1jcy0+dm1j cykgewo+PiAgIAkJcGVyX2NwdShjdXJyZW50X3ZtY3MsIGNwdSkgPSB2bXgtPmxvYWRlZF92bWNz LT52bWNzOwo+PiAgIAkJdm1jc19sb2FkKHZteC0+bG9hZGVkX3ZtY3MtPnZtY3MpOwo+PiArCQlp bmRpcmVjdF9icmFuY2hfcHJlZGljdGlvbl9iYXJyaWVyKCk7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