Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp1101504ybz; Fri, 17 Apr 2020 16:06:40 -0700 (PDT) X-Google-Smtp-Source: APiQypJ3VGKRGZR8e/uYS/M3NJAqbxLg5JOUN/p0Xq2ymaTUksjkzGrR8+f3MkvSprt+kBNW8MgV X-Received: by 2002:a17:906:ce4b:: with SMTP id se11mr5554210ejb.178.1587164800400; Fri, 17 Apr 2020 16:06:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587164800; cv=none; d=google.com; s=arc-20160816; b=V2UoO27kW5s05qqXFfz00sCMMHhiQoeMjziG3AR/FQ+HI00ukMRuOKqrb8WuuSqRX0 grACYq2HOEyyShYuBzIfhR0JsQnhMUVd+QzqwYSGwKUyrTOeaI8IR866ux7O6vXJCozE +0PfwN8oTfcN8LObSAeZ3Rhu5P3vHbXsULBHs2bvtLQXTbrrNJe/WrhzHzwacZE2T2WE 8PEWE2bKTKM3Z5DXDkrUvS0dimqwGtHSU+r1JKTCstYTjmwnxkHitTCQPxqUURjTI1wN b/bwrgEQ1F+NcJqt8Vr3sB1hMm6kyAP94HXLDjWpWl8YTil+5EP7EIRHIjJ6HfUUmuAI EiRA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:cc:to:from:thread-topic:subject :ironport-sdr:dkim-signature; bh=Ih+jlxV8V/YeiawHs8+BibSIuYKqK0v/dfpekPCSovA=; b=RupdXaNWIwGG9fFg63Fa9PDi8oNDEo4+7ChvbQKrP1+WS9F4Kq9swqyuTAC2CxCiya 1Uqn7bULs6t6wj8Tc/KHOxhX6Ghbbu32FrTCe687FR96kENCYAl3LpHPovJsv6Cyd8++ 6zr8GbrcCn569EBF7Bya3QyRbm7Qfp1WSycuAd+WQse4O/NHnaK+V74OzDEY+6auhG1y uH6zHDz8e30Ch6cyBfeMYbC81x0Mx+qmGdPDM2/bzPrkNy/gjZG79so500pNhg1IcBoQ RP7uof0pCNYoNJUBQeIEx5n1t8gVG1Sf3lbqrNzOZ2FwWkyMpNnwH2jHKTwO3thJZGoE ZZ/A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=nSXAQWrK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id rl27si2653294ejb.17.2020.04.17.16.06.17; Fri, 17 Apr 2020 16:06:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=nSXAQWrK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1727962AbgDQXCa (ORCPT + 99 others); Fri, 17 Apr 2020 19:02:30 -0400 Received: from smtp-fw-9101.amazon.com ([207.171.184.25]:61305 "EHLO smtp-fw-9101.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725953AbgDQXC3 (ORCPT ); Fri, 17 Apr 2020 19:02:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1587164548; x=1618700548; h=from:to:cc:date:message-id:references:in-reply-to: content-id:content-transfer-encoding:mime-version:subject; bh=Ih+jlxV8V/YeiawHs8+BibSIuYKqK0v/dfpekPCSovA=; b=nSXAQWrKwoMAJGAKBSK9M9gYmJuXA2u+q/6DlRfHd1GkrBXrZQ9WVZKX McTG7EwU57juYE5LA5CxlX802I+Fw3PDZutb7is/ETqmcZ0aMh/Qv6RnE V4rVzcC7hg2D7CyZGwGOsU/KyXEmE7xMAvl0GBV8IQRtCDHVzFkw18oSP Q=; IronPort-SDR: LgZorR9/HOhY5UGkoC8URUtXxTLqhuBmgR6jySm/4vMrQghyRMO9XH8cAPKhJJ4K28GZP69q0W vrEmGiP/Aaig== X-IronPort-AV: E=Sophos;i="5.72,395,1580774400"; d="scan'208";a="29466861" Subject: Re: [PATCH v3 3/5] arch/x86/mm: Refactor cond_ibpb() to support other use cases Thread-Topic: [PATCH v3 3/5] arch/x86/mm: Refactor cond_ibpb() to support other use cases Received: from sea32-co-svc-lb4-vlan3.sea.corp.amazon.com (HELO email-inbound-relay-1a-807d4a99.us-east-1.amazon.com) ([10.47.23.38]) by smtp-border-fw-out-9101.sea19.amazon.com with ESMTP; 17 Apr 2020 23:02:26 +0000 Received: from EX13MTAUWB001.ant.amazon.com (iad55-ws-svc-p15-lb9-vlan2.iad.amazon.com [10.40.159.162]) by email-inbound-relay-1a-807d4a99.us-east-1.amazon.com (Postfix) with ESMTPS id 71B58A2554; Fri, 17 Apr 2020 23:02:23 +0000 (UTC) Received: from EX13D01UWB001.ant.amazon.com (10.43.161.75) by EX13MTAUWB001.ant.amazon.com (10.43.161.207) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Fri, 17 Apr 2020 23:02:22 +0000 Received: from EX13D01UWB002.ant.amazon.com (10.43.161.136) by EX13d01UWB001.ant.amazon.com (10.43.161.75) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Fri, 17 Apr 2020 23:02:22 +0000 Received: from EX13D01UWB002.ant.amazon.com ([10.43.161.136]) by EX13d01UWB002.ant.amazon.com ([10.43.161.136]) with mapi id 15.00.1497.006; Fri, 17 Apr 2020 23:02:22 +0000 From: "Singh, Balbir" To: "tglx@linutronix.de" , "linux-kernel@vger.kernel.org" CC: "keescook@chromium.org" , "tony.luck@intel.com" , "benh@kernel.crashing.org" , "jpoimboe@redhat.com" , "x86@kernel.org" , "dave.hansen@intel.com" Thread-Index: AQHWDYR7nJnYqlkTfUah7gQhUeso0Kh9V0WAgACmMAA= Date: Fri, 17 Apr 2020 23:02:22 +0000 Message-ID: <12023cc73a6344ed7499e09492a6934c1dfaf044.camel@amazon.com> References: <20200408090229.16467-1-sblbir@amazon.com> <20200408090229.16467-4-sblbir@amazon.com> <87sgh2l0q4.fsf@nanos.tec.linutronix.de> In-Reply-To: <87sgh2l0q4.fsf@nanos.tec.linutronix.de> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-messagesentrepresentingtype: 1 x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.43.161.52] Content-Type: text/plain; charset="utf-8" Content-ID: <62794DA7E655C54A8F58E120A4C10A62@amazon.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gRnJpLCAyMDIwLTA0LTE3IGF0IDE1OjA3ICswMjAwLCBUaG9tYXMgR2xlaXhuZXIgd3JvdGU6 DQo+IA0KPiBCYWxiaXIgU2luZ2ggPHNibGJpckBhbWF6b24uY29tPiB3cml0ZXM6DQo+ID4gDQo+ ID4gIC8qDQo+ID4gLSAqIFVzZSBiaXQgMCB0byBtYW5nbGUgdGhlIFRJRl9TUEVDX0lCIHN0YXRl IGludG8gdGhlIG1tIHBvaW50ZXIgd2hpY2ggaXMNCj4gPiAtICogc3RvcmVkIGluIGNwdV90bGJf c3RhdGUubGFzdF91c2VyX21tX2licGIuDQo+ID4gKyAqIEJpdHMgdG8gbWFuZ2xlIHRoZSBUSUZf U1BFQ19JQiBzdGF0ZSBpbnRvIHRoZSBtbSBwb2ludGVyIHdoaWNoIGlzDQo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