Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp1207665ybz; Fri, 17 Apr 2020 18:35:27 -0700 (PDT) X-Google-Smtp-Source: APiQypL1eyvbHD8dZcwFZo48FG+FIVgHx5GQghllBYWQaqTn2PbJMJELV2O56XwCRGeRX3qJGKuJ X-Received: by 2002:a17:906:d18e:: with SMTP id c14mr6001686ejz.120.1587173727270; Fri, 17 Apr 2020 18:35:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587173727; cv=none; d=google.com; s=arc-20160816; b=BA5hbeNF9fBllAQQog1vgXx7Yg/gBoTxhPofrQ3Erpjl/8tl7a8KWJrzbxmFnQwj31 fC3nJd3o72YR+dexMrjJB8zmSJEONTJ4c7L7gIyIFn2fcEn6lI2typ+sJtOan3CYjUSD Y3XfsBmv228lZokV4+Vaf42VHpQDqji+kHX1ILyoAA2IQQ6QQdkkqFiEYKn+2nCmHt4B 8Ny7Aavy1QKyKPB4yBAGuOvP0+RD7etg4EjZrbKz3Ymd1/g/VDhISANP88AfBTvKwr99 +/1g9luqKRf+1euGLg7c7daqrFIL474EklwyopGaPKCs+mFadBZ7v6Sb3VO+zVynNFAD G9Uw== 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=TgLOQP4KFPcpmO+XO0e5x6r7C5oHSSaPX8vPL0lmB6I=; b=aAotHVX3qZ40dmr8UwZcDC5avjcmcl8Zxjszhdp36TZqK9S/L/niU3/zSLpfbGDBdP TR1M38lOfbHCCxvxUFNB2yn2j9kPCAiMFxuLA/GSm6kwgY/ahSTr2pOhgK0sJ/sUgZNT lfEvHPjyfiA15FN8RtEkizd+woXEGOb3DF53j+8SoPB0wxQs8BCskx2p3bQqCGZrLL1o IFmS8vJva7BllcOCPbm5zOJ927Z8i5AfGiIgpKCHbsO342PAanZ866Yq3/sMVbyEr9hK SwAApcRvocR+iLhlA/WZVPNplx8EINIZy41bJk7AQss+U8UH1PDtHZMyDuMvgbP/eK9Q XNng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b="E/BPFBUg"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id d11si16320188edo.105.2020.04.17.18.35.04; Fri, 17 Apr 2020 18:35:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b="E/BPFBUg"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1725873AbgDRBaM (ORCPT + 99 others); Fri, 17 Apr 2020 21:30:12 -0400 Received: from smtp-fw-9102.amazon.com ([207.171.184.29]:46746 "EHLO smtp-fw-9102.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725784AbgDRBaM (ORCPT ); Fri, 17 Apr 2020 21:30:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1587173410; x=1618709410; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=TgLOQP4KFPcpmO+XO0e5x6r7C5oHSSaPX8vPL0lmB6I=; b=E/BPFBUgrQC+9CCoNC8kNx/eWdnBnpgUPi2mJ/4QFybC56h1WYoCP52b VWkgeBLAhaqbUdKHv0kGzSDYSG1TyLEGDgQ6/cqYIoag2P6bKwQEaMsUm ojU30wcJE4ZcPSDH8ITjVYHJEh0nbDNKInZwRjRYEXVjhFbYSnXoFEO2F 0=; IronPort-SDR: kmPzObV1aAY0fdgWl51VsWfHHXMDs4RQtEEFNupq43spAvkeUH+w4uhfkzb6l+xWZE7G0PlU2r SaoK67iW8NuA== X-IronPort-AV: E=Sophos;i="5.72,397,1580774400"; d="scan'208";a="37818996" Received: from sea32-co-svc-lb4-vlan3.sea.corp.amazon.com (HELO email-inbound-relay-1e-c7c08562.us-east-1.amazon.com) ([10.47.23.38]) by smtp-border-fw-out-9102.sea19.amazon.com with ESMTP; 18 Apr 2020 01:30:08 +0000 Received: from EX13MTAUWB001.ant.amazon.com (iad55-ws-svc-p15-lb9-vlan2.iad.amazon.com [10.40.159.162]) by email-inbound-relay-1e-c7c08562.us-east-1.amazon.com (Postfix) with ESMTPS id 73C55240F92; Sat, 18 Apr 2020 01:30:05 +0000 (UTC) Received: from EX13D01UWB003.ant.amazon.com (10.43.161.94) by EX13MTAUWB001.ant.amazon.com (10.43.161.207) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Sat, 18 Apr 2020 01:30:04 +0000 Received: from EX13D01UWB002.ant.amazon.com (10.43.161.136) by EX13d01UWB003.ant.amazon.com (10.43.161.94) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Sat, 18 Apr 2020 01:30:03 +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; Sat, 18 Apr 2020 01:30:03 +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" , "jpoimboe@redhat.com" , "x86@kernel.org" , "dave.hansen@intel.com" Subject: Re: [PATCH v3 4/5] arch/x86: Optionally flush L1D on context switch Thread-Topic: [PATCH v3 4/5] arch/x86: Optionally flush L1D on context switch Thread-Index: AQHWFSDiILymQ2sO/kG+/tLaFrB+SA== Date: Sat, 18 Apr 2020 01:30:03 +0000 Message-ID: References: <20200408090229.16467-1-sblbir@amazon.com> <20200408090229.16467-5-sblbir@amazon.com> <87mu7akwdx.fsf@nanos.tec.linutronix.de> In-Reply-To: <87mu7akwdx.fsf@nanos.tec.linutronix.de> 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.239] Content-Type: text/plain; charset="utf-8" Content-ID: <7A44EE0D884B5844B68DA397B9CE9C7F@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 T24gRnJpLCAyMDIwLTA0LTE3IGF0IDE2OjQxICswMjAwLCBUaG9tYXMgR2xlaXhuZXIgd3JvdGU6 DQo+IA0KPiBCYWxiaXIgU2luZ2ggPHNibGJpckBhbWF6b24uY29tPiB3cml0ZXM6DQo+IA0KPiA+ ICtzdGF0aWMgdm9pZCAqbDFkX2ZsdXNoX3BhZ2VzOw0KPiA+ICtzdGF0aWMgREVGSU5FX01VVEVY KGwxZF9mbHVzaF9tdXRleCk7DQo+ID4gKw0KPiA+ICtpbnQgZW5hYmxlX2wxZF9mbHVzaF9mb3Jf dGFzayhzdHJ1Y3QgdGFza19zdHJ1Y3QgKnRzaykNCj4gDQo+IHN0YXRpYyA/DQo+IA0KPiA+ICt7 DQo+ID4gKyAgICAgc3RydWN0IHBhZ2UgKnBhZ2U7DQo+ID4gKyAgICAgaW50IHJldCA9IDA7DQo+ ID4gKw0KPiA+ICsgICAgIGlmIChzdGF0aWNfY3B1X2hhcyhYODZfRk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