Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp3162162ybb; Sun, 22 Mar 2020 17:13:11 -0700 (PDT) X-Google-Smtp-Source: ADFU+vuCpkITQG4xdTJ4/pJ4FtjbFYeQUeN2sG/H6jI018H2FZSxdti+0XJx+TVi9SxQxXmwFidQ X-Received: by 2002:aca:646:: with SMTP id 67mr14606974oig.4.1584922391316; Sun, 22 Mar 2020 17:13:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584922391; cv=none; d=google.com; s=arc-20160816; b=o1tEOiIfRFCfQXiiubDTKcxEdDDzQTpnSd75UhlON1SqnfSXWD/l8hFUZi6qcD/mld 2hdrTFyI5OxDtn8o1v87OcdBpv6akHOJ0NldLSRJZJqj5V+UsGCXkjvLkkm5g0jhke3B 7m4McYG/q+Wn+2D+Ft/JrIOhTadQiht1qY9FEtD6UToWKXd8wEnFPJVopp4irzbTeeBC 3Z30w7c8Jc30g/AZu1UFuv6qhuzRk58LxNoCs+4xZ94wtzw10EMpsfrqEAss1YABsqYI IMvSIZkI8dI0XPlsXnWm5zrxLLnLucAMTNsu4im4gomU62TlL3pz+DtqtWWl8Qd0YMXd x7Bg== 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=wkLzgaemTYtdnyKrfE6L47vGd0PmufiVQnmzzOdR9m0=; b=NDkdWuksvNhVKQUGJQMhGhJ+snBQ3U58B/Tkj2uYfGg6TWldntrZUhpSolV1t8287Y vYAbOWOKj7fEFCZWrCpP96BHPYunhxUhBoPI7556kF3Q1pQPPBZ/VchQzsZvyj1OJj7F dcZSHLrD1srG78MvV3GYYKuXgfm8d8KUp/t3qOzcWXB1RKmmRvJEfjimmSLf39zQrcAc k+XwJH2WuGKpNsLtepjLET4KqEvRsSo52lPZfAHI08zmoJ7Dr6ay9lFQcJ1+ndvwemdl Ke0ck8wUCutdJjWsCPC8geTHPXWwKEbRmmCUqfSuSlAN1ZEfyguQZbILe4cQ5yNeOmte RCnQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=CgoYaLWp; 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 j1si7164116otp.318.2020.03.22.17.12.59; Sun, 22 Mar 2020 17:13:11 -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=CgoYaLWp; 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 S1726979AbgCWAMW (ORCPT + 99 others); Sun, 22 Mar 2020 20:12:22 -0400 Received: from smtp-fw-33001.amazon.com ([207.171.190.10]:7237 "EHLO smtp-fw-33001.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726896AbgCWAMW (ORCPT ); Sun, 22 Mar 2020 20:12:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1584922341; x=1616458341; h=from:to:cc:date:message-id:references:in-reply-to: content-id:content-transfer-encoding:mime-version:subject; bh=wkLzgaemTYtdnyKrfE6L47vGd0PmufiVQnmzzOdR9m0=; b=CgoYaLWptdMycQV2VM4+z8RxD/9DiFMI65ZIn0HTGX12Aq/QF9lPOqF0 Gn8TZ1ukrN8igN6D0eyFkRzhrCYPwpJtPsOW2o1qt8/qp6HN/I69yTpQw uCvECUfY+quXEM8TIg+O+x1EnKE/GXtypSInyueSzfenbS4fkpC7z/WnZ Q=; IronPort-SDR: 30NsRcnARozR/Uc6WsKhPAFuJyxy+t/RSpGuBL644DYcwN95dwD2oleBbREdwozQROzaDzkK6r 17gBenfr+dNA== X-IronPort-AV: E=Sophos;i="5.72,294,1580774400"; d="scan'208";a="34177979" Subject: Re: [RFC PATCH] arch/x86: Optionally flush L1D on context switch Thread-Topic: [RFC PATCH] 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; 23 Mar 2020 00:12:19 +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 DA0411A2690; Mon, 23 Mar 2020 00:12:18 +0000 (UTC) Received: from EX13D21UWB001.ant.amazon.com (10.43.161.108) by EX13MTAUWB001.ant.amazon.com (10.43.161.249) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Mon, 23 Mar 2020 00:12:18 +0000 Received: from EX13D01UWB002.ant.amazon.com (10.43.161.136) by EX13D21UWB001.ant.amazon.com (10.43.161.108) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 23 Mar 2020 00:12:18 +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, 23 Mar 2020 00:12:18 +0000 From: "Singh, Balbir" To: "Herrenschmidt, Benjamin" , "luto@amacapital.net" CC: "tglx@linutronix.de" , "linux-kernel@vger.kernel.org" , "keescook@chromium.org" , "x86@kernel.org" Thread-Index: AQHWAAfovHet9Ckh+EOPVKUzEeayuKhUt/uAgACXYAA= Date: Mon, 23 Mar 2020 00:12:18 +0000 Message-ID: References: <99ef5eec8502a7b53eee362063b9b2252a5a47da.camel@amazon.com> In-Reply-To: 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.176] Content-Type: text/plain; charset="utf-8" Content-ID: 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 T24gU3VuLCAyMDIwLTAzLTIyIGF0IDA4OjEwIC0wNzAwLCBBbmR5IEx1dG9taXJza2kgd3JvdGU6 DQo+IA0KPiA+IEkgc3RpbGwgdGhpbmsgZmx1c2hpbmcgdGhlICJoaWdoIHZhbHVlIiBwcm9jZXNz IEwxRCBvbiBzd2l0Y2hfbW0gb3V0IGlzDQo+ID4gdGhlIHdheSB0byBnbyBoZXJlLi4uDQo+IA0K PiBMZXQgbWUgdHJ5IHRvIHVuZGVyc3RhbmQgdGhlIGlzc3VlLiBUaGVyZSBpcyBzb21lIGhpZ2gt dmFsdWUgZGF0YSwgYW5kIHRoYXQNCj4gZGF0YSBpcyBvd25lZCBieSBhIGhpZ2gtdmFsdWUgcHJv Y2Vzcy4gQXQgc29tZSBwb2ludCwgdGhlIGRhdGEgZW5kcyB1cCBpbg0KPiBMMUQuICBMYXRlciBp biwgZXZpbCBjb2RlIHJ1bnMgYW5kIG1heSBhdHRlbXB0IHRvIGV4ZmlsdHJhdGUgIHRoYXQgZGF0 YSBmcm9tDQo+IEwxRCB1c2luZyBhIHNpZGUgY2hhbm5lbC4gKFRoZSBldmlsIGNvZGUgaXMgbm90 IG5lY2Vzc2F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