Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp53307ybb; Tue, 7 Apr 2020 16:41:04 -0700 (PDT) X-Google-Smtp-Source: APiQypKV4C7EVEpl8m+y48SD4/bwRAPZ6M71x0mf1ylWSIUyLUmJJoKo5HGy+icLlaCVBrRIN/eC X-Received: by 2002:a9d:5e0d:: with SMTP id d13mr3771055oti.162.1586302864113; Tue, 07 Apr 2020 16:41:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586302864; cv=none; d=google.com; s=arc-20160816; b=SzaTfkdzFQeAvi5UrJ3HgfymPTgJ7Opd6mv1/ySCWrgXPiDcWB+0w+qcqWhzTuM9fx ZnOAV7ERwHyGQ7itXnbr7qAl47yXQ1dmmsw7lkg3zmEeQpisK1udJBsY7AlM3tfiEm1Z SCrN8sLtrUIEahneeTFyhJ9ZN8x5ilSN2Z0SkOCYgrwSTwFggO0nx//dSt3mt9iQuTYG /Wx8jixdnj1INRksMIS8zmWmta10Rz8iJYWsfhnkMaKFyorkyEPkOqkm6+6u1MaScF0p QxQZJkAR40kZwl2HEw7atKhWeIwH1hlgjt107cRc/UNDj2KX4avU1GHwdI4YRU+sVYSP ZS6w== 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=atnYjxiyKdQFWwXp0PXFdPTtxkh6WFqlWjXNyrLv5sU=; b=ICT+Gma3iOMVopovOQKZRRmTPiXP1aRYNd3ph6aZbveOT/0zFBnzNZdG99x4/rIs5V TCR+fEyPA0PGM8hZcqORqNzdhnX/UleHD30SMgjg1fRNQUODGNL5hQILAYz/xA1/lWRq dLv/kn6yQLxCbD3R5v2oMTyD/Uz1T1V9Z7gjVlvXpkz5gh3SXapV7xn62V7x6RzlOcGe dILknRDf0U5oXI4E9KmrBWojVwm+oyXoEhKywpMu9mxlWhZbTeHSn1GpJRZwwjxhDp3C v1htaHsrwXPL2cBbSaQm23nhSbf0Hk1bcHLJdFtkYVECdKYHygvVqQ/eI1CwQx14bM2N 94VQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=XbDd30vv; 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 u15si1837675ooq.37.2020.04.07.16.40.50; Tue, 07 Apr 2020 16:41:04 -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=XbDd30vv; 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 S1726541AbgDGXjS (ORCPT + 99 others); Tue, 7 Apr 2020 19:39:18 -0400 Received: from smtp-fw-33001.amazon.com ([207.171.190.10]:10197 "EHLO smtp-fw-33001.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726406AbgDGXjR (ORCPT ); Tue, 7 Apr 2020 19:39:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1586302757; x=1617838757; h=from:to:cc:date:message-id:references:in-reply-to: content-id:content-transfer-encoding:mime-version:subject; bh=atnYjxiyKdQFWwXp0PXFdPTtxkh6WFqlWjXNyrLv5sU=; b=XbDd30vvRkpwuWUH+/ptes2kd/aVcBmeFvX3fo3jDRGcnXfAM1SAdFLV XNfEs8KduHsejv6k3+08f7c478Gjadavz+ojmjP+UKqAqAfyGyaWYX2uG jJVWNPHwgh80213nlsKYZlGwcIQ5dLN9zdEZi+tf6G0xt8c/Z5OD9LFYs I=; IronPort-SDR: my4cwCRqMA/z2RwjyvFN1C6ahNSR6snq7AWhsbU/AtAM2UZaayhRuNNBGauPOEs0eU9eSwkyms 1ZSV36OS7LVg== X-IronPort-AV: E=Sophos;i="5.72,356,1580774400"; d="scan'208";a="37258086" Subject: Re: [PATCH v2 3/4] arch/x86: Optionally flush L1D on context switch Thread-Topic: [PATCH v2 3/4] arch/x86: Optionally flush L1D on context switch Received: from sea32-co-svc-lb4-vlan3.sea.corp.amazon.com (HELO email-inbound-relay-2a-119b4f96.us-west-2.amazon.com) ([10.47.23.38]) by smtp-border-fw-out-33001.sea14.amazon.com with ESMTP; 07 Apr 2020 23:39:16 +0000 Received: from EX13MTAUWB001.ant.amazon.com (pdx4-ws-svc-p6-lb7-vlan2.pdx.amazon.com [10.170.41.162]) by email-inbound-relay-2a-119b4f96.us-west-2.amazon.com (Postfix) with ESMTPS id 16B161A0E81; Tue, 7 Apr 2020 23:39:15 +0000 (UTC) Received: from EX13D01UWB002.ant.amazon.com (10.43.161.136) by EX13MTAUWB001.ant.amazon.com (10.43.161.207) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 7 Apr 2020 23:39:14 +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; Tue, 7 Apr 2020 23:39:14 +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; Tue, 7 Apr 2020 23:39:14 +0000 From: "Singh, Balbir" To: "keescook@chromium.org" CC: "tglx@linutronix.de" , "linux-kernel@vger.kernel.org" , "tony.luck@intel.com" , "benh@kernel.crashing.org" , "jpoimboe@redhat.com" , "x86@kernel.org" , "dave.hansen@intel.com" Thread-Index: AQHWC8KR9rJxTIXiWkGqeY4o6Uqz/aht/HqAgABXfYA= Date: Tue, 7 Apr 2020 23:39:14 +0000 Message-ID: <728ba30fdc269d4b24c4fb16832e0151e8270cba.camel@amazon.com> References: <20200406031946.11815-1-sblbir@amazon.com> <20200406031946.11815-4-sblbir@amazon.com> <202004071125.605F665@keescook> In-Reply-To: <202004071125.605F665@keescook> 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.85] Content-Type: text/plain; charset="utf-8" Content-ID: <11D50BCF4228804F861678344F60F66D@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 T24gVHVlLCAyMDIwLTA0LTA3IGF0IDExOjI2IC0wNzAwLCBLZWVzIENvb2sgd3JvdGU6DQo+IA0K PiANCj4gT24gTW9uLCBBcHIgMDYsIDIwMjAgYXQgMDE6MTk6NDVQTSArMTAwMCwgQmFsYmlyIFNp bmdoIHdyb3RlOg0KPiA+IEltcGxlbWVudCBhIG1lY2hhbmlzbSB0byBzZWxlY3RpdmVseSBmbHVz aCB0aGUgTDFEIGNhY2hlLiBUaGUgZ29hbCBpcyB0bw0KPiA+IGFsbG93IHRhc2tzIHRoYXQgYXJl IHBhcmFub2lkIGR1ZSB0byB0aGUgcmVjZW50IHNub29wIGFzc2lzdGVkIGRhdGENCj4gPiBzYW1w bGluZw0KPiA+IHZ1bG5lcmFiaWxpdGVzLCB0byBmbHVzaCB0aGVpciBMMUQgb24gYmVpbmcgc3dp dGNoZWQgb3V0LiAgVGhpcyBwcm90ZW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