Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp2208831ybb; Thu, 2 Apr 2020 15:34:32 -0700 (PDT) X-Google-Smtp-Source: APiQypKNTbukLh6sb43vY4vLHRCjYNL+iLp/cTPKARkDV4rUn3oHhuYit1aDiJsKx1vfQS/kgAUn X-Received: by 2002:aca:ef82:: with SMTP id n124mr929886oih.73.1585866872522; Thu, 02 Apr 2020 15:34:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585866872; cv=none; d=google.com; s=arc-20160816; b=R/sA59cNzz78hJ3FYpWwV6l3dVTUmbu9B8cfDrus4OAIxT4Ggtsg4Zzo7ljG0XGedn 8GuEeu4Sz0Toh2RcVGXhPH1/3SdPc0aVyH4Nf6RLgkkHrJp4hNKtH0172OUKmuFJ4xir 8pxbMiHTl7vf/dDzqjWWzdgfBuSCXtO9SYF5Jhws3r6FuHnD8qHyQQaYjRJHAurm+jOj aWM539XR4LXYGCSN87va6sY/3Q8WXmg5lyilK/N4d5Vp7XvZW7dxGW4Evouaey5ITKyv 3qtZX2JeID16efE9XJFbVwNsa2F0t+05FW72tai7fMBH9awfUJtafpUwYCrALTQUAzlV 221w== 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=go/JuGKaHOod4bhA+dQw7sF/0xVz45NyR0D/yH5ioaY=; b=q1V9KEArVuS54vgh34XTUT4frhzHonjiVi2PDiprJDiTlwnW52kSnYdWB7kLrUOnv6 b/RI2348miIdvOO/rl22nJTZ6Ar9P6Wskk5owwDQ1xyZEpVeJhjkxeRERerA78vTtOLM 0drnqlyOd5rbTWgjThTHFfmzE9KlnBg6D8nkn5lgGPPNVBw71fk7USl1QzvBhtjoGoFD 4GFQ/hkw2UyfM9l1d4UPSMj15LuapZ2nYGQFsV8P+754kWBA0hxlkiL7Y0h0pAysDXC6 L8zksH3srZ4qqI4W0eniDPQPlUUvDqKFlp4fZ/+Pa1Sn+JERqCAO0HGiEeBp57v4o/0h Ltqw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=RfuZt35x; 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 w73si2833757oiw.206.2020.04.02.15.34.19; Thu, 02 Apr 2020 15:34:32 -0700 (PDT) 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=RfuZt35x; 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 S2389536AbgDBWTC (ORCPT + 99 others); Thu, 2 Apr 2020 18:19:02 -0400 Received: from smtp-fw-9101.amazon.com ([207.171.184.25]:19888 "EHLO smtp-fw-9101.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726963AbgDBWTB (ORCPT ); Thu, 2 Apr 2020 18:19:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1585865941; x=1617401941; h=from:to:cc:date:message-id:references:in-reply-to: content-id:content-transfer-encoding:mime-version:subject; bh=go/JuGKaHOod4bhA+dQw7sF/0xVz45NyR0D/yH5ioaY=; b=RfuZt35xZEsJ0WS7223nq1GRmwkHi/Ptdv3fUEH0hOyebSKhlTOYaEaa K1x3+jhZMnRYJFH0Jqe+JbSAiz8RzuJnbRkHSxQ/kuf3KHWC0bU7f6TWg Td2ef1aqhV4aLjW7Xpwu4PkACQPEJupEYWZZ1OtZ6QKniiSzTnwA/gWJo 8=; IronPort-SDR: 852IGI2ccF7rlZp21kgF7tJPvTK1iXpluB4qRjimsaR2uQ3AsLsKyhhVTlG5bJ7XJ2GnbflUZA 0tjSgGlLDaig== X-IronPort-AV: E=Sophos;i="5.72,337,1580774400"; d="scan'208";a="26637487" Subject: Re: [PATCH 3/3] arch/x86: Optionally flush L1D on context switch Thread-Topic: [PATCH 3/3] arch/x86: Optionally flush L1D on context switch Received: from sea32-co-svc-lb4-vlan3.sea.corp.amazon.com (HELO email-inbound-relay-1a-e34f1ddc.us-east-1.amazon.com) ([10.47.23.38]) by smtp-border-fw-out-9101.sea19.amazon.com with ESMTP; 02 Apr 2020 22:18:58 +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-e34f1ddc.us-east-1.amazon.com (Postfix) with ESMTPS id 90BEBA2361; Thu, 2 Apr 2020 22:18:55 +0000 (UTC) Received: from EX13D01UWB001.ant.amazon.com (10.43.161.75) by EX13MTAUWB001.ant.amazon.com (10.43.161.249) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Thu, 2 Apr 2020 22:18:55 +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; Thu, 2 Apr 2020 22:18:54 +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; Thu, 2 Apr 2020 22:18:54 +0000 From: "Singh, Balbir" To: "bp@alien8.de" CC: "tglx@linutronix.de" , "linux-kernel@vger.kernel.org" , "tony.luck@intel.com" , "keescook@chromium.org" , "benh@kernel.crashing.org" , "x86@kernel.org" , "dave.hansen@intel.com" Thread-Index: AQHWCLejDt1H7tG0W0uohgcqhgtMwKhmZcqAgAACKgA= Date: Thu, 2 Apr 2020 22:18:54 +0000 Message-ID: References: <20200402062401.29856-1-sblbir@amazon.com> <20200402062401.29856-4-sblbir@amazon.com> <20200402221109.GJ9352@zn.tnic> In-Reply-To: <20200402221109.GJ9352@zn.tnic> 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.162.171] Content-Type: text/plain; charset="utf-8" Content-ID: <481516BA7F7FA54A887902A526E7BDA6@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 T24gRnJpLCAyMDIwLTA0LTAzIGF0IDAwOjExICswMjAwLCBCb3Jpc2xhdiBQZXRrb3Ygd3JvdGU6 DQo+IENBVVRJT046IFRoaXMgZW1haWwgb3JpZ2luYXRlZCBmcm9tIG91dHNpZGUgb2YgdGhlIG9y Z2FuaXphdGlvbi4gRG8gbm90DQo+IGNsaWNrIGxpbmtzIG9yIG9wZW4gYXR0YWNobWVudHMgdW5s ZXNzIHlvdSBjYW4gY29uZmlybSB0aGUgc2VuZGVyIGFuZCBrbm93DQo+IHRoZSBjb250ZW50IGlz IHNhZmUuDQo+IA0KPiANCj4gDQo+IE9uIFRodSwgQXByIDAyLCAyMDIwIGF0IDA1OjI0OjAxUE0g KzExMDAsIEJhbGJpciBTaW5naCB3cm90ZToNCj4gPiAraW50IGVuYWJsZV9sMWRfZmx1c2hfZm9y X3Rhc2soc3RydWN0IHRhc2tfc3RydWN0ICp0c2spDQo+ID4gK3sNCj4gPiArICAgICBzd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