Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp745852pxu; Fri, 4 Dec 2020 14:44:14 -0800 (PST) X-Google-Smtp-Source: ABdhPJzk/r+muqofIbeMrPzT0QoGMmpb65RBdqJfUW9A0T+91Pad7bXJbRRuRepyiHJmmWXNolaW X-Received: by 2002:a17:906:7f01:: with SMTP id d1mr9117154ejr.429.1607121854301; Fri, 04 Dec 2020 14:44:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607121854; cv=none; d=google.com; s=arc-20160816; b=JRfyl+5dYyGEpFPD52OEoeF/xhpVURV7SH6S8Z+36kYIR8sZ3EqYnoHsX3ZsFVzJfQ cJ118pR3d8LBqf+tJgS5xYUy6BZUbyIdzK9zRzxADbUdZ+5x+pdnqlMTzkkJicZaoVTN mSyR9D5WIDxZLltBFfl15NUah9MLuqx3WGGbkcUFTEnO6T2ZkhMVAr7RtQsqF36Q+3Ml /H4HF2mydrXHv8nGIJOnSB/3526vlX7O3yeOfkwQT3WMFZD47cs/ngskO6P2S1X5yCgT Qqxxo1aPv0M68ylc+VANvwdSaliSN/B1vni+oWPId2hHFETU4aifJuM0XqB3YENLYAvF Hz2Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence: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 :dkim-signature; bh=6hs//QrCHK+YcsZyMw98VFZ/lzLh1j36/CtcngXJqIs=; b=QTTcbc9LnwDnapR0AXEpAC92nJo2SXm649ENipyzyKKoA+PJQmermg4Gdm1rHra44l zxk52JwbqgyY+Kyexs5e2FeCA5TbwdvJ5r53I1jYuEzQRdWVRxsCfGRzHHZKS0mlyKDf /2y6ORw6QFzxJa6k9HB9H+vkVc46XNlYS0nmJs1pEgotvA3bEGV3ejPZHuFHDsED/wzn /2UgJMsjkEzQ6V/FxHwFsf7Rz64oVZ//sBHqAvqKsAGh+sWV5ZXUvLz/CJLSxsAYnqo1 MsglP9cG4aMQ5/a5X+46AZJitZERnB5Y6HOLjOs3u1HDSUhdu2nlWotCnTo9gSt0ws7r S5rg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=tPgnsQlv; 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 a29si3832399edm.401.2020.12.04.14.43.51; Fri, 04 Dec 2020 14:44:14 -0800 (PST) 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=tPgnsQlv; 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 S1728750AbgLDWmY (ORCPT + 99 others); Fri, 4 Dec 2020 17:42:24 -0500 Received: from smtp-fw-6001.amazon.com ([52.95.48.154]:37410 "EHLO smtp-fw-6001.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725885AbgLDWmY (ORCPT ); Fri, 4 Dec 2020 17:42:24 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1607121743; x=1638657743; h=from:to:cc:date:message-id:references:in-reply-to: content-id:content-transfer-encoding:mime-version:subject; bh=6hs//QrCHK+YcsZyMw98VFZ/lzLh1j36/CtcngXJqIs=; b=tPgnsQlvWNRjV7vN28MRw6tQ/vAfn5cErjbaE9jpmkEcSvPp6OI5X3Mo 49hBumLgBfoIZeM2eBs8pb6apYAUQdG/OW7eC/BIcPaM7JU4knP/OH3fM PF+AxidRkY1n1JSyyaxMpFDGQ399miEu4cR0nrMemK0ERjsT75YXboMs/ 0=; X-IronPort-AV: E=Sophos;i="5.78,393,1599523200"; d="scan'208";a="70689492" Subject: Re: [PATCH v3 3/5] x86/mm: Optionally flush L1D on context switch Thread-Topic: [PATCH v3 3/5] x86/mm: Optionally flush L1D on context switch Received: from iad12-co-svc-p1-lb1-vlan2.amazon.com (HELO email-inbound-relay-1a-807d4a99.us-east-1.amazon.com) ([10.43.8.2]) by smtp-border-fw-out-6001.iad6.amazon.com with ESMTP; 04 Dec 2020 22:41:36 +0000 Received: from EX13MTAUWB001.ant.amazon.com (iad12-ws-svc-p26-lb9-vlan2.iad.amazon.com [10.40.163.34]) by email-inbound-relay-1a-807d4a99.us-east-1.amazon.com (Postfix) with ESMTPS id B12E2A2024; Fri, 4 Dec 2020 22:41:32 +0000 (UTC) Received: from EX13D01UWB002.ant.amazon.com (10.43.161.136) by EX13MTAUWB001.ant.amazon.com (10.43.161.249) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Fri, 4 Dec 2020 22:41:31 +0000 Received: from EX13D01UWB002.ant.amazon.com (10.43.161.136) by EX13d01UWB002.ant.amazon.com (10.43.161.136) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Fri, 4 Dec 2020 22:41:31 +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, 4 Dec 2020 22:41:31 +0000 From: "Singh, Balbir" To: "tglx@linutronix.de" , "mingo@redhat.com" CC: "linux-kernel@vger.kernel.org" , "peterz@infradead.org" , "keescook@chromium.org" , "torvalds@linux-foundation.org" , "jpoimboe@redhat.com" , "x86@kernel.org" , "tony.luck@intel.com" , "dave.hansen@intel.com" , "thomas.lendacky@amd.com" , "benh@kernel.crashing.org" Thread-Index: AQHWxIrq8Jio7utIHE6rhTXabR6UW6nnfa6AgAAWZwA= Date: Fri, 4 Dec 2020 22:41:31 +0000 Message-ID: <2f66f668210388ab8d80060c605a1c8634e9a1c9.camel@amazon.com> References: <20201127065938.8200-1-sblbir@amazon.com> <20201127065938.8200-4-sblbir@amazon.com> <87lfed9sje.fsf@nanos.tec.linutronix.de> In-Reply-To: <87lfed9sje.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.160.229] Content-Type: text/plain; charset="utf-8" Content-ID: <36053285E9825343ADFC6B9131CDF2FB@amazon.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gRnJpLCAyMDIwLTEyLTA0IGF0IDIyOjIxICswMTAwLCBUaG9tYXMgR2xlaXhuZXIgd3JvdGU6 DQo+IENBVVRJT046IFRoaXMgZW1haWwgb3JpZ2luYXRlZCBmcm9tIG91dHNpZGUgb2YgdGhlIG9y Z2FuaXphdGlvbi4gRG8gbm90IGNsaWNrIGxpbmtzIG9yIG9wZW4gYXR0YWNobWVudHMgdW5sZXNz IHlvdSBjYW4gY29uZmlybSB0aGUgc2VuZGVyIGFuZCBrbm93IHRoZSBjb250ZW50IGlzIHNhZmUu DQo+IA0KPiANCj4gDQo+IE9uIEZyaSwgTm92IDI3IDIwMjAgYXQgMTc6NTksIEJhbGJpciBTaW5n aCB3cm90ZToNCj4gPiANCj4gPiArICAgICAvKg0KPiA+ICsgICAgICAqIEZsdXNoIG9ubHkgaWYg U01UIGlzIGRpc2FibGVkIGFzIHBlciB0aGUgY29udHJhY3QsIHdoaWNoIGlzIGNoZWNrZWQNCj4g PiArICAgICAgKiB3aGVuIHRoZSBmZWF0dX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