Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp1962602ybb; Sun, 29 Mar 2020 18:25:37 -0700 (PDT) X-Google-Smtp-Source: ADFU+vuBuF93TQc8mJvNhpGHKAfhq4sB5nwPK67TWUwq8hIFd0+D+L9VkYWGLiFVjeq0kVTHFr+8 X-Received: by 2002:a05:6830:1ac1:: with SMTP id r1mr3080596otc.139.1585531537162; Sun, 29 Mar 2020 18:25:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585531537; cv=none; d=google.com; s=arc-20160816; b=KZOQUrdF6Nko6NDvxk6sGXWutyuXP6qwwa6H9q67dY09C68xYp5kSbclxUDF9mJVPt 0y/ufL5O5eMO0JiPqN0eUu71xFUstW+ro0JnpJTMtCDjq/hdkUyHE0adlBG7F5XhfHBj NZ9Z1dXm8CA1dXSW3rmE9UcrKTuATldWkLRErgtcDOWpRNvh8ybj9MOacIggEp0AyIAO PwklGDiUHkfAf9bG8mi0d9a7/ldB5/WFj8/cGPNCvpJ9zFfbjZSvwbiBJVkO+9O51Hi8 WSrh4FeQ02Bz3TG9ZZ3GBYVujLP4vMRjmFh5X3tLPaGWn9fzN5z2JzWWsmJSHqBV5z7D 7nsg== 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:thread-topic:subject:cc:to:from :ironport-sdr:dkim-signature; bh=bHirlSaOnlkr4MhM+2h8bgaq8bwuzARgsALW27WJBYY=; b=EQM5x4nJfo8I4iVE3Qb91sB6MmPO7zaUHp6yi7FsAG56gWPfZUu5QAAkqiRIFmY1ie w5CWVWTHet+cW6fO2wb09kKuHC2PHeIXi5wSLeatZTFS/KmT+jkHbBN+SnQojSDoRUxd 5QeVQ+89nLZnAmVKnldx8PGNw2+kzdfd2ziUwXT6UNrobueO8a0YhzuB/uSgXP+D2RC8 vsC/Pb8i77bi9lL4NTtMXSm2KG4mnxo0CuKH3dljtk3vNzsvZwHPr70YF0Ttu2dKDOow 4tpjYQDPaWCpGFuyNQ3X3OgDipB+Mpf1qm4B4A+8BoUfVXfNKMnHLaNntZAlLTR/VGM5 FHmA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=Yj3EKfqE; 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 p2si3735884ota.143.2020.03.29.18.25.21; Sun, 29 Mar 2020 18:25:37 -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=Yj3EKfqE; 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 S1728107AbgC3BOC (ORCPT + 99 others); Sun, 29 Mar 2020 21:14:02 -0400 Received: from smtp-fw-2101.amazon.com ([72.21.196.25]:42851 "EHLO smtp-fw-2101.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727926AbgC3BOB (ORCPT ); Sun, 29 Mar 2020 21:14:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1585530841; x=1617066841; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=bHirlSaOnlkr4MhM+2h8bgaq8bwuzARgsALW27WJBYY=; b=Yj3EKfqErbkt57Ba2ckDB/1hhVFoSMlUakmS14n2W1D12ue1JPnDXYE5 HwdcS0uMBEqLsFj3+QOrgh31HSzlZmzNPUnXFqdBzmGSzLm+zcbDFP9uQ y5Gin9ShlZOibZ0lV9FWwU475Zq1/POhcQD46F4OQyXexy/rfKKPxIZiy g=; IronPort-SDR: HH/i3QegBncWAjc3SiXzC54btnTyCH9p4vume3o2MpgQ77GLrEgBMdFA9IH7Zs0JSiTGP9NgxJ bXp2QZI3Lg1w== X-IronPort-AV: E=Sophos;i="5.72,322,1580774400"; d="scan'208";a="23646605" Received: from iad12-co-svc-p1-lb1-vlan2.amazon.com (HELO email-inbound-relay-2a-69849ee2.us-west-2.amazon.com) ([10.43.8.2]) by smtp-border-fw-out-2101.iad2.amazon.com with ESMTP; 30 Mar 2020 01:13:48 +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-69849ee2.us-west-2.amazon.com (Postfix) with ESMTPS id 57282A269B; Mon, 30 Mar 2020 01:13:47 +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.1367.3; Mon, 30 Mar 2020 01:13:46 +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; Mon, 30 Mar 2020 01:13:46 +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; Mon, 30 Mar 2020 01:13:46 +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" , "x86@kernel.org" , "dave.hansen@intel.com" Subject: Re: [RFC PATCH v2 0/4] arch/x86: Optionally flush L1D on context switch Thread-Topic: [RFC PATCH v2 0/4] arch/x86: Optionally flush L1D on context switch Thread-Index: AQHWAnSRV8t1YBQKFU+upP2/R0lyqahgXAAA Date: Mon, 30 Mar 2020 01:13:46 +0000 Message-ID: <87e4bd4e25c81d43abb47d0e2812c21a0478869b.camel@amazon.com> References: <20200325071101.29556-1-sblbir@amazon.com> In-Reply-To: <20200325071101.29556-1-sblbir@amazon.com> 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.164] Content-Type: text/plain; charset="utf-8" Content-ID: <5F38399E83167F4895EF51E1E8CFE0A9@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 T24gV2VkLCAyMDIwLTAzLTI1IGF0IDE4OjEwICsxMTAwLCBCYWxiaXIgU2luZ2ggd3JvdGU6DQo+ IFRoaXMgcGF0Y2ggaXMgYSBjb250aW51YXRpb24gb2YgUkZDL1BvQyB0byBzdGFydCB0aGUgZGlz Y3Vzc2lvbiBvbg0KPiBvcHRpb25hbGx5DQo+IGZsdXNoaW5nIEwxRCBjYWNoZS4gIFRoZSBnb2Fs IGlzIHRvIGFsbG93IHRhc2tzIHRoYXQgYXJlIHBhcmFub2lkIGR1ZSB0byB0aGUNCj4gcmVjZW50 IHNub29wIGFzc2lzdGVkIGRhdGEgc2FtcGxpbmcgdnVsbmVyYWJpbGl0ZXMsIHRvIGZsdXNoIHRo ZWlyIEwxRCBvbg0KPiBiZWluZw0KPiBzd2l0Y2hlZCBvdXQuICBUaGlzIHByb3RlY3RzIHRoZWly IGRhdGEgZnJvbSBiZWluZyBzbm9vcGVkIG9yIGxlYWtlZCB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