Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp14209437rwb; Sun, 27 Nov 2022 19:58:33 -0800 (PST) X-Google-Smtp-Source: AA0mqf6Iht0GmaUTd9PIQkW9ThSFDx50jvvPIwguZ2WCqioBTX6DlVUsuD0G418O2Nriy6+XNb6b X-Received: by 2002:a17:902:ee55:b0:176:a16a:417d with SMTP id 21-20020a170902ee5500b00176a16a417dmr32821878plo.46.1669607913211; Sun, 27 Nov 2022 19:58:33 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1669607913; cv=pass; d=google.com; s=arc-20160816; b=PfDT/kG3Tuq32V6FpBQbqauOtxRwFXDeOaw//1cspZEn5FJVGtRadDNYZe/U2IcGEZ G5uWI3jrtql1UpIOzLlK6vnf9RjWToxRkuFraY7vUXfZ4ulrDBDVO6rz/CI6Qu+O30oQ hUjI+lk0f4gTjYZgEIy52IvQ2FzVqyv+j3gY5JpzyRrFasscfGUBLSuHgk//JVjeijKp 3V0Dc86NHHCV9EL0FU67e3nL8oRSAhvzbL/GRCQko4GNYcGLfdaJWk4W293Ce7JuHA24 ZDIwu6f2HWPzcRAuvd/Rz2v7Eel3YG5YIXlvXZJ3X5YAQ9CUXLylXzukx+gDa5EqhlyP ignQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :msip_labels:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:to:from :dkim-signature; bh=PDH55LsbVGWl7BXMrjYAUf+ehcqMzT7uVdBSFrsfrxA=; b=I+uCXBsboCGETnaBaPefdMCjsdD+OdepHkTNNK8VVDODxZ9h2NJHK8nDFNTLi3PBrs e4OTzuIK5lNQZquHA79us52wABUxWFJhvoFff9k2ldYJM0g8cB2lLP7Fh3blXSlgq0xb TrTOAlAxvWxepPYInanpdLw+XKCc1kkdjY5+mkWt9QO/enYd/m0jNzRVKeferzz3XrB8 3Umg3GK5UiW7M/TALkcPIH3XTerJfLBhujCBZvw7kz7hpr3NLi88xmmtWvGz0Lx/Rmfg CfgnGm1xCqWrJzQNC3zzHOZX+fjLocatKqXMnYn9zB85K8N2J0eMjjzCd5PnGe3c1LIA VN/Q== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector2 header.b=eixiAOmy; arc=pass (i=1 spf=pass spfdomain=microsoft.com dkim=pass dkdomain=microsoft.com dmarc=pass fromdomain=microsoft.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=microsoft.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m33-20020a634c61000000b00477ca030f2esi10755921pgl.239.2022.11.27.19.58.21; Sun, 27 Nov 2022 19:58:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector2 header.b=eixiAOmy; arc=pass (i=1 spf=pass spfdomain=microsoft.com dkim=pass dkdomain=microsoft.com dmarc=pass fromdomain=microsoft.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=microsoft.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229965AbiK1Cwg (ORCPT + 84 others); Sun, 27 Nov 2022 21:52:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53038 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229953AbiK1Cwd (ORCPT ); Sun, 27 Nov 2022 21:52:33 -0500 Received: from na01-obe.outbound.protection.outlook.com (mail-westus2azon11020027.outbound.protection.outlook.com [52.101.46.27]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0C60CE02; Sun, 27 Nov 2022 18:52:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=X4ohoVkcXtO5OUari+NicZ+mZTku2kEwCnBr329yMaVaZUo+P2rC3YMoSUosfDE3OLDsAEJwv3Z3vteTZtloiPZ3BeyBEaW8gLidHYajQPKmvncFlPJungTeHaaCyNUVdGyqTKb9CmHlFDurkh5ldoE3VjqlMy8/9L1sAHYxN5IcJDiRq3gTDhqf+seVGIeE/3rNM4Gsbv807U5ZginlGMSATzPmwstW7NL02Y04FxwMo2TULINLfv0uMneri+Yqm5yOYmIZWuLw9L/ed/g9XGFTIEmAsOCpLTjPACascsx6hgIM/kAhA/PCbKi5SH4mJ2jXhxK32uk14sbcjyYdeQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=PDH55LsbVGWl7BXMrjYAUf+ehcqMzT7uVdBSFrsfrxA=; b=TWXDeIbgJpposMCEAskMHYJT/iT0kMksaR4pSuQYGA5E+ZFojnt4L9SZNPOVSKCPSbHT27HE7KRVLIsakutDso7Gjk7dup3Bc1ULZ7MIJroZE0FH5cipNIjtkhdB3qxvhk68zmYxF/QkqOFaYjNv3/eTMgMIfivndvebag9J9UyVdoJwUo+PO5BWjjXGytiZMCLqYQXTd+A2CRp2N5XASwPBupXqlIrRH12ljXcvEzUbRGNfmGcf3wusjJMKpZX6owMJkqu36ncBUvBheWMIJHMjJF56h3aso1IJUeO1o+LlbYlepYu8Jp6wLHshD0blgicw8DCKG9fy38jK5dN9LQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=microsoft.com; dmarc=pass action=none header.from=microsoft.com; dkim=pass header.d=microsoft.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=PDH55LsbVGWl7BXMrjYAUf+ehcqMzT7uVdBSFrsfrxA=; b=eixiAOmy7PDOkzTJQhEd5QecC8c55x7bIdxpi99BHi82R1NfKgXvAW1T39moYFdKtRui2mIYl+G5+a82HfNkAjhI1/pLsYEC9WF1h4T7G3yUVdndqan/qjnaUlT1+HnWA8rmoXs5K622vc9WZQ8IN6yTvVQ687jOYb5XZPny5eA= Received: from SA1PR21MB1335.namprd21.prod.outlook.com (2603:10b6:806:1f2::11) by DS7PR21MB3389.namprd21.prod.outlook.com (2603:10b6:8:81::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5880.8; Mon, 28 Nov 2022 02:52:29 +0000 Received: from SA1PR21MB1335.namprd21.prod.outlook.com ([fe80::ac9b:6fe1:dca5:b817]) by SA1PR21MB1335.namprd21.prod.outlook.com ([fe80::ac9b:6fe1:dca5:b817%6]) with mapi id 15.20.5880.008; Mon, 28 Nov 2022 02:52:28 +0000 From: Dexuan Cui To: "Michael Kelley (LINUX)" , Sathyanarayanan Kuppuswamy , "hpa@zytor.com" , KY Srinivasan , Haiyang Zhang , "wei.liu@kernel.org" , "luto@kernel.org" , "peterz@infradead.org" , "davem@davemloft.net" , "edumazet@google.com" , "kuba@kernel.org" , "pabeni@redhat.com" , "lpieralisi@kernel.org" , "robh@kernel.org" , "kw@linux.com" , "bhelgaas@google.com" , "arnd@arndb.de" , "hch@infradead.org" , "m.szyprowski@samsung.com" , "robin.murphy@arm.com" , "thomas.lendacky@amd.com" , "brijesh.singh@amd.com" , "tglx@linutronix.de" , "mingo@redhat.com" , "bp@alien8.de" , "dave.hansen@linux.intel.com" , Tianyu Lan , "kirill.shutemov@linux.intel.com" , "ak@linux.intel.com" , "isaku.yamahata@intel.com" , "Williams, Dan J" , "jane.chu@oracle.com" , "seanjc@google.com" , "tony.luck@intel.com" , "x86@kernel.org" , "linux-kernel@vger.kernel.org" , "linux-hyperv@vger.kernel.org" , "netdev@vger.kernel.org" , "linux-pci@vger.kernel.org" , "linux-arch@vger.kernel.org" , "iommu@lists.linux.dev" Subject: RE: [Patch v3 05/14] x86/mm: Handle decryption/re-encryption of bss_decrypted consistently Thread-Topic: [Patch v3 05/14] x86/mm: Handle decryption/re-encryption of bss_decrypted consistently Thread-Index: AQHY+s4ztxnVbL+L5UCX76A2RK98j65D/NUAgA+0gRA= Date: Mon, 28 Nov 2022 02:52:28 +0000 Message-ID: References: <1668624097-14884-1-git-send-email-mikelley@microsoft.com> <1668624097-14884-6-git-send-email-mikelley@microsoft.com> <01d7c7cc-bd4e-ee9b-f5b2-73ea367e602f@linux.intel.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_ActionId=44062edc-2214-466e-b1b5-eadfe699b503;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_ContentBits=0;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Enabled=true;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Method=Standard;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Name=Internal;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SetDate=2022-11-18T02:41:35Z;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SiteId=72f988bf-86f1-41af-91ab-2d7cd011db47; authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=microsoft.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: SA1PR21MB1335:EE_|DS7PR21MB3389:EE_ x-ms-office365-filtering-correlation-id: ede13aee-46fe-4330-5fb2-08dad0eb9680 x-ld-processed: 72f988bf-86f1-41af-91ab-2d7cd011db47,ExtAddr x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: hsevWlo5/D/U5rBJJ1hLbSXqE7FKumz78crazpU5Qm9nYahVgjywEU0etIJ/zTTYtobK/5pXQMMwgJxGcA9PYDGZD4cnKk/tMZfW1PV+F6S3LOzyHcTuVQh3ixyoHpnXPR2lJOXgt52SYFBOweCFxiK6fgFtbHfYtlEVzm92OK6f2jaQeVVxaXuUDUYnXCXeWHS037/PmUxWK63sAVmftLRAJhNUwy5EhGKxGewmHbPc/p5MwQqbpyS8fU0I+7Xez0Jg2NM1Clpm4LM0QD1y5hKKmKsPnD3tIvkaREZReavTuhEZbHJkgLAzaBlSfONa8F4PXQ3F2cGJVDDNVkx1Upq1B+53nlu3egWXy6tE8FAAoHqIy5ilbpJW/bLbfrUM2yvXK1LIAmz1ey6n+ikSiVipoBBh+Gl8a++VTR6sg49OX6LGuWeM+sw4ySPIyMXpLopJaaXhtLsHCo2Kg7NKIJQ1C3f0ULyGEXip/tGEATMv7baF0asXAQXCWKb2dGXHDZ87M2K+WyMF1O4rtgfX44Cy4FFFTF1/KIZIHSBSCU4yPnElYJx5VWC3tCic6YUnHDWBOsdDgrjnMCoB52M8KlSSeQIp3FkUw5rW0XViO3XHwtqOSHbiphiEH9OBy2KKxLI4/bMNyF35aZmFQy3ViSTTO6QzbL/+rdy+g3KO/2rcQCd1HOuxI2PPix0hK2tUB/6oyuVD+H8JXZZWi5DQrM7z1rAEjcCw4w3lNKWF+lHdOv2tv/h23ucb3dJNE65jID1eXoOGBsWLppD3XreB0Q== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SA1PR21MB1335.namprd21.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(4636009)(396003)(376002)(39860400002)(366004)(136003)(346002)(451199015)(86362001)(33656002)(55016003)(41300700001)(66946007)(5660300002)(66556008)(76116006)(64756008)(6506007)(66446008)(8676002)(66476007)(110136005)(26005)(71200400001)(9686003)(7696005)(83380400001)(186003)(10290500003)(478600001)(921005)(38070700005)(316002)(82950400001)(82960400001)(38100700002)(8936002)(7406005)(7416002)(52536014)(122000001)(8990500004)(2906002);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?ZnZYMm81RVQ5eHZFSjM5S3ZNejYrQlBOUGhneDlKOVgrN0NtUHVOdTNqdWtj?= =?utf-8?B?blFRMGorS3dudEM0bGdML2FCMTZhWWVnMzdpdEFWUjF6U0M0c3lmYXBtS2k5?= =?utf-8?B?NkVBRXRVcmJ4VE5qVm5NTkxSV1lNeWQ2bk1OeEFYZFlZY2E5bzRlRXlKVnJl?= =?utf-8?B?WGgzS0ZGbnlQblFxZE51UnBTZE9GYStYTjk2OE5wNERxcHFGb1JCVXFUUlFD?= =?utf-8?B?OThqSVpXdnNoajk2ZnhjYzFCcXpMR2gxRmp2bjVJVDBnRjBtRFYvV3hBK3dr?= =?utf-8?B?MkxmRUg0S2kxZUkyWk9xOS9IQnNvWHgrNzFKY0ErQ3E2QUpBVHdvaXRaN0Jl?= =?utf-8?B?SEhxR1phLzJvOTkvUlBhWWJwZ2ZTRjM3NjJreWcyV1lQSGdnRzhEL000L2Qy?= =?utf-8?B?ek1DaXRIc3hsUmh3MmgwdmJueVFLNFVuaGc0SVhZb202S1lPK0piMWJublJ3?= =?utf-8?B?aGlqMC9IWXNqbVVWVzVMWWRtKzFabXdEcFhJRjc3cFVsMVFvZFFlUmYwOHhJ?= =?utf-8?B?UitMV0FRRS9YVXgwUUg5TVJYTm9lclhnVkNiK2RacHBnTEFwV2pHbmp5TnVT?= =?utf-8?B?ZzFtOElhL1lDM1B0ZitWdS82MmJERXFBOE9qRmpKVXlUN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kZwdFNwTXlKMWdPeDJjeE4vNkJLa2hwZzJ3NGpF?= =?utf-8?B?ZEh6TFFRbk9ULzNZZ2M2a2FGZFBuQUhCcHhrcCsvSUE2VEFFcFUzdU1raWpI?= =?utf-8?B?STNOOWQvZFRVM2FEdy9VWUNHU2xQdHlPMjFNVzQ1WEVFNk53MisvR05OblJ6?= =?utf-8?B?VXNjaVVZdzRCMk1Ed0l2N2s3SEF6dVo4QmxOZ1ZkRDhudndNTzQzckg3a1pZ?= =?utf-8?B?WVRBV3ZyNFQ2b3AzclVkaXFnWk93VFgzaVpjb1ZzVTQ5eUNZUEVtcDNpdG1w?= =?utf-8?B?QWRaYkowWkcrc1VwdVhtU2xyUHlYNUh5ZEs3dEdNQlF6NDZ0OWMxa0F4UFR0?= =?utf-8?B?QUZSRXRYM3dmaGgrdGFaYmM4b0xYWnBXV3JnVWY1OGl6Yy9Qa285Nnp5MnRG?= =?utf-8?B?ajBnMjFkL2N4djFrRXhBZUg5alhXUktqQXFZY0ZDeGdtbmhhZWNCaXZqZmtI?= =?utf-8?B?VHNqdFdONUJPYko1cTBPejhpTHA3Q2RHUmlMcm1ZYlVoOWFVRTd1Njl0U1o0?= =?utf-8?B?MSsrYXlXM1pWQkU3M2pBSlBkUldVZWJZZU5LTHZkZWQ2a3A5QWQ0bUVVUmRN?= =?utf-8?Q?McXbheOBp63UvI/SLXlgidsDP?= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SA1PR21MB1335.namprd21.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: ede13aee-46fe-4330-5fb2-08dad0eb9680 X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Nov 2022 02:52:28.6921 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: lr8zDb1AGU1hiWaDKJRIAUZs+ClVuybdtAI0Dq/a7Y5YJkLtStCQXF3UMGPTF/yAUVIdv9zKCWUW6cSGQAIWmA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS7PR21MB3389 X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FORGED_SPF_HELO, RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_NONE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org PiBGcm9tOiBNaWNoYWVsIEtlbGxleSAoTElOVVgpIDxtaWtlbGxleUBtaWNyb3NvZnQuY29tPg0K PiBTZW50OiBUaHVyc2RheSwgTm92ZW1iZXIgMTcsIDIwMjIgNjo1NiBQTQ0KPiBbLi4uXQ0KPiAN Cj4gQnV0IEkgaGFkIG5vdCB0aG91Z2h0IGFib3V0IFREWC4gIEluIHRoZSBURFggY2FzZSwgaXQg YXBwZWFycyB0aGF0DQo+IHNtZV9wb3N0cHJvY2Vzc19zdGFydHVwKCkgd2lsbCBub3QgZGVjcnlw dCB0aGUgYnNzX2RlY3J5cHRlZCBzZWN0aW9uLg0KPiBUaGUgY29ycmVzcG9uZGluZyBtZW1fZW5j cnlwdF9mcmVlX2RlY3J5cHRlZF9tZW0oKSBpcyBhIG5vLW9wIHVubGVzcw0KPiBDT05GSUdfQU1E X01FTV9FTkNSWVBUIGlzIHNldC4gIEJ1dCBtYXliZSBpZiBzb21lb25lIGJ1aWxkcyBhDQo+IGtl cm5lbCBpbWFnZSB0aGF0IHN1cHBvcnRzIGJvdGggVERYIGFuZCBBTUQgZW5jcnlwdGlvbiwgaXQg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