Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp2419278ybb; Sat, 21 Mar 2020 22:11:31 -0700 (PDT) X-Google-Smtp-Source: ADFU+vsf+wRLrI6N82qH3O3mXGSMYk3CGeggXw/cM3OkKmJJ6tkCratrXzmsmoo9Kernc3j7o+RX X-Received: by 2002:a9d:6a91:: with SMTP id l17mr13544306otq.29.1584853891148; Sat, 21 Mar 2020 22:11:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584853891; cv=none; d=google.com; s=arc-20160816; b=dXNFqKuMTEUSC+UcAmshOKRh/fmHXLw17P65xqQtH+UQ9g21hkN3325YoDkKv+i0wx xMpC7H3RlhjribjClFtk+wH2DuIKgif8C57C78D9GWU13zWwPGz8JNxNB1Qizt9Mgqv3 od8YRBnxLSzmdC0BLSiCyEjArY4Sysc0NyjLnRWuW2m1xJFNDfrU8tUQbt9TwrUOInjk b+QbjaZoIye2/PZmfSFaL+GcXT4RZPJAFJQj69a6oZlCErpGqPPnak+Ld7HltaKI8OLx ehfbzdDNBkkMTMjW1D8ic6bCXDd2Amz4v9bJCc6ejRb56JZPj0o8XnXbZuCGz77ydNGv VWeg== 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=PV6KYFeVnmstLw8roPdI+/D3tpcTHK2VCOwAUhB6pDU=; b=dYb6JK+00yGotsI4wwrkjoAIutOFRsyClzEW9/Nj7Pm6ixVz474n2dq9HrQpwLSDOw /xT68jMUgidlQxjVyUJTke+GSMvj6c80N5zQgx+iwaE/0HdfOn138f4cKYodx0hqXbhl IbK2adIYoVt/fMe5z2oW7Irk8dDKNEQFg19uaAxe2beJbdtBO0tREb/4V+uhjUit75ZK NMceqZ/hkrXN9ZCG/Z3sabP0CPYvHXhO0QnYuE1jzB0i+sNjstOtwl993pz+ltvUMKSx bbOHWottyHlZpHInHsRYEKcCL20OXiwXa4bn6yn/R9/YToNvTVfkwO3TNMtdFb3bSsgD ca5w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=dKGLxWTO; 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 c11si7808241ots.150.2020.03.21.22.11.18; Sat, 21 Mar 2020 22:11:31 -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=dKGLxWTO; 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 S1726151AbgCVFKs (ORCPT + 99 others); Sun, 22 Mar 2020 01:10:48 -0400 Received: from smtp-fw-2101.amazon.com ([72.21.196.25]:21526 "EHLO smtp-fw-2101.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725765AbgCVFKr (ORCPT ); Sun, 22 Mar 2020 01:10:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1584853847; x=1616389847; h=from:to:cc:date:message-id:references:in-reply-to: content-id:content-transfer-encoding:mime-version:subject; bh=PV6KYFeVnmstLw8roPdI+/D3tpcTHK2VCOwAUhB6pDU=; b=dKGLxWTO8EWTmIkqt7ZI5k1+CWGKm+VbmT5rFsLO3nuGqA7X08RdbMrX mKtOcT7fOsBpxuolzNyfzxY0WBoBLPPlYL5ZG/8YP/1kLOVhbcsBE8Ajj uVOP0rV0MOG4Ry9ebJ/YdL/zGulb2xbTkKRofPFEeW3m37qpfMegElJkk A=; IronPort-SDR: T/CdMhn+cVgER0l9iQISzUgY7XuNnwdqybo+GYjpFxLOFU0KWjmKcykDqK7+HrqHslhCNEn0Yt I3GeMxlXtnLw== X-IronPort-AV: E=Sophos;i="5.72,291,1580774400"; d="scan'208";a="22620519" 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 iad12-co-svc-p1-lb1-vlan2.amazon.com (HELO email-inbound-relay-1d-9ec21598.us-east-1.amazon.com) ([10.43.8.2]) by smtp-border-fw-out-2101.iad2.amazon.com with ESMTP; 22 Mar 2020 05:10:46 +0000 Received: from EX13MTAUWB001.ant.amazon.com (iad55-ws-svc-p15-lb9-vlan3.iad.amazon.com [10.40.159.166]) by email-inbound-relay-1d-9ec21598.us-east-1.amazon.com (Postfix) with ESMTPS id BC811A2069; Sun, 22 Mar 2020 05:10:44 +0000 (UTC) Received: from EX13D01UWB003.ant.amazon.com (10.43.161.94) by EX13MTAUWB001.ant.amazon.com (10.43.161.249) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Sun, 22 Mar 2020 05:10:43 +0000 Received: from EX13D21UWB003.ant.amazon.com (10.43.161.212) by EX13d01UWB003.ant.amazon.com (10.43.161.94) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Sun, 22 Mar 2020 05:10:43 +0000 Received: from EX13D21UWB003.ant.amazon.com ([10.43.161.212]) by EX13D21UWB003.ant.amazon.com ([10.43.161.212]) with mapi id 15.00.1497.006; Sun, 22 Mar 2020 05:10:43 +0000 From: "Herrenschmidt, Benjamin" To: "tglx@linutronix.de" , "linux-kernel@vger.kernel.org" , "Singh, Balbir" CC: "keescook@chromium.org" , "x86@kernel.org" Thread-Index: AQHV+YNf0XL+89Yus02bM+oWtkWm5qhPGnoAgAGi3QCAAKrMAIAA6NIAgACMhwCAAT/2gA== Date: Sun, 22 Mar 2020 05:10:43 +0000 Message-ID: References: <20200313220415.856-1-sblbir@amazon.com> <87imj19o13.fsf@nanos.tec.linutronix.de> <97b2bffc16257e70b8aa98ee86622dc4178154c4.camel@amazon.com> <8736a3456r.fsf@nanos.tec.linutronix.de> <034a2c0e2cc1bb0f4f7ff9a2c5cbdc269a483a71.camel@amazon.com> <87d096rpjn.fsf@nanos.tec.linutronix.de> In-Reply-To: <87d096rpjn.fsf@nanos.tec.linutronix.de> Accept-Language: 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.180] 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 T24gU2F0LCAyMDIwLTAzLTIxIGF0IDExOjA1ICswMTAwLCBUaG9tYXMgR2xlaXhuZXIgd3JvdGU6 DQo+IHZpY3RpbTENCj4gIHN0b3JlIHNlY3JpdA0KPiAgICAgICAgICAgICAgICAgICAgICAgICB2 aWN0aW0yDQo+IGF0dGFja2VyICAgICAgICAgICAgICAgICAgcmVhZCBzZWNyaXQNCj4gDQo+IE5v dyBpZiBMMUQgaXMgZmx1c2hlZCBvbiBDUFUwIGJlZm9yZSBhdHRhY2tlciByZWFjaGVzIHVzZXIg c3BhY2UsDQo+IGkuZS4gcmVhY2hlcyB0aGUgYXR0YWNrIGNvZGUsIHRoZW4gdGhlcmUgaXMgbm90 aGluZyB0byBzZWUuIEZyb20gdGhlDQo+IGxpbms6DQo+IA0KPiAgIFNpbWlsYXIgdG8gdGhlIEwx VEYgVk1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