Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp430389ybz; Fri, 24 Apr 2020 02:59:30 -0700 (PDT) X-Google-Smtp-Source: APiQypIaWqJ5phaLZbHMZDl5SKyL/c2MrMkdwA1cFGCFOm9qOMCBzQsEwteXFypgqktk5BHxJZBr X-Received: by 2002:a50:ba83:: with SMTP id x3mr6062352ede.193.1587722370451; Fri, 24 Apr 2020 02:59:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587722370; cv=none; d=google.com; s=arc-20160816; b=EmKtyBzvf+0nuB429KSjz+Wrwj0flGHTy5k7cvKMKRUA+iTHyItM5UOHelhVBO7RQB /JupjER2r3QK4pM1x+QkluM5ErpsD7p1GfZ7OXK7mknOMmtMeKWReLJJTJ3I0IoYYVfl TuyfztcBR2jHjipEi+1Oxp6rrh4GV0M0MU0mqvE4evtgRAzyuo2Vs+PcCEJiYOBsNfCK ABhBDjMpE+xFqXQeAMf5JlT0i/qGxdT5uUJBnK54zdkadppV7RbgmAkSN+eBCMWbLv89 M+uz7gSnsIloUW2fL4wNtZzFYDWrb85vDMhpcC4jHQLbgoiDOhX9SqyPaK0B9WDIy5og KXUQ== 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=RCYAT3eCPrO0l7QcYkxQyQGM1Nkx1oengszxg2gUfps=; b=cdaVdTfKYamgUu044ceKiyzYbpfT2rUCdBBt0KSjnk8jtvB8ZSX7M4oxp09kvZTJZO FYv80gndrT0mc9S8HvlS67rC5rudPnQ/1a0eYTxuWGqvNIZemsjE/Yx2FBDD7lc3VkBF qEOkI68/e/DpFS0jEATqajGhYbC803sTcwoH0ORiqKjmdVSKwupVVpQGOJ+l2zbqNk/i bt+w+bwYzed1td6FQAm6EtKAzIMS4GM7ySA+4hV3DOsQmPLJiOgZVhQGBR9Y7m72KBFT tZUueckBe62yKM/lokpnsFq0N8eyYOteBeoEKinylw2Rk1g5lHDiX3E3onaZonRRF9hr ll0Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=PoyY3WiZ; 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 v5si2835476ejx.10.2020.04.24.02.59.05; Fri, 24 Apr 2020 02:59:30 -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=PoyY3WiZ; 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 S1726860AbgDXJ4z (ORCPT + 99 others); Fri, 24 Apr 2020 05:56:55 -0400 Received: from smtp-fw-2101.amazon.com ([72.21.196.25]:37624 "EHLO smtp-fw-2101.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726667AbgDXJ4y (ORCPT ); Fri, 24 Apr 2020 05:56:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1587722214; x=1619258214; h=from:to:cc:date:message-id:references:in-reply-to: content-id:content-transfer-encoding:mime-version:subject; bh=RCYAT3eCPrO0l7QcYkxQyQGM1Nkx1oengszxg2gUfps=; b=PoyY3WiZ+l5nWB2CiCDOUVXnGJjhikd4BOf/skwCNL7+ccUNGFaWrIUu YKQXAocBMdbfREH4PrghZtaF1SAK+wNDM+neFLwzk2lX2nK4jcfQNr4OO oNSfwBpk1rBl8/NSGyEft+I9+S2DbGTrT2hTIyCabpSnq9rDRUAZFTUur 8=; IronPort-SDR: d9ycl9mSBKVFyEsPylr1himH6lIWdBnVHgyDzBMr/UUuBTPOeihlMEmvx0dpWglHlFpUIQTiQU KwgjgPeuXEVg== X-IronPort-AV: E=Sophos;i="5.73,311,1583193600"; d="scan'208";a="27445645" Subject: Re: [PATCH v4 5/6] Optionally flush L1D on context switch Thread-Topic: [PATCH v4 5/6] Optionally flush L1D on context switch Received: from iad12-co-svc-p1-lb1-vlan2.amazon.com (HELO email-inbound-relay-2a-e7be2041.us-west-2.amazon.com) ([10.43.8.2]) by smtp-border-fw-out-2101.iad2.amazon.com with ESMTP; 24 Apr 2020 09:56:40 +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-e7be2041.us-west-2.amazon.com (Postfix) with ESMTPS id D9888A21F3; Fri, 24 Apr 2020 09:56:39 +0000 (UTC) Received: from EX13D01UWB004.ant.amazon.com (10.43.161.157) by EX13MTAUWB001.ant.amazon.com (10.43.161.249) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Fri, 24 Apr 2020 09:56:39 +0000 Received: from EX13D01UWB002.ant.amazon.com (10.43.161.136) by EX13d01UWB004.ant.amazon.com (10.43.161.157) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Fri, 24 Apr 2020 09:56:39 +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; Fri, 24 Apr 2020 09:56:39 +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: AQHWGXe3cUmOwWoImkqS1xmlEcVBgKiHFWEAgAD0+gA= Date: Fri, 24 Apr 2020 09:56:39 +0000 Message-ID: <5ee183ddd5fd9413353190fe95058a8be74c7d55.camel@amazon.com> References: <20200423140125.7332-1-sblbir@amazon.com> <20200423140125.7332-6-sblbir@amazon.com> <202004231219.9D614F5@keescook> In-Reply-To: <202004231219.9D614F5@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.203] 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 T24gVGh1LCAyMDIwLTA0LTIzIGF0IDEyOjE5IC0wNzAwLCBLZWVzIENvb2sgd3JvdGU6DQo+IENB VVRJT046IFRoaXMgZW1haWwgb3JpZ2luYXRlZCBmcm9tIG91dHNpZGUgb2YgdGhlIG9yZ2FuaXph dGlvbi4gRG8gbm90DQo+IGNsaWNrIGxpbmtzIG9yIG9wZW4gYXR0YWNobWVudHMgdW5sZXNzIHlv dSBjYW4gY29uZmlybSB0aGUgc2VuZGVyIGFuZCBrbm93DQo+IHRoZSBjb250ZW50IGlzIHNhZmUu DQo+IA0KPiANCj4gDQo+IE9uIEZyaSwgQXByIDI0LCAyMDIwIGF0IDEyOjAxOjI0QU0gKzEwMDAs IEJhbGJpciBTaW5naCB3cm90ZToNCj4gPiBJbXBsZW1lbnQgYSBtZWNoYW5pc20gdG8gc2VsZWN0 aXZlbHkgZmx1c2ggdGhlIEwxRCBjYWNoZS4gVGhlIGdvYWwgaXMgdG8NCj4gPiBhbGxvdyB0YXNr cyB0aGF0IGFyZSBwY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