From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id E4DC0740047 for ; Wed, 28 Feb 2024 08:52:51 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=1mjYoflPEv0YUlky1dTQ7hQDIxEriqSpUZ7y6A4PkCY=; c=relaxed/simple; d=groups.io; h=ARC-Seal:ARC-Message-Signature:ARC-Authentication-Results:From:To:CC:Subject:Thread-Topic:Thread-Index:Date:Message-ID:References:In-Reply-To:Accept-Language:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Language:Content-Type:Content-Transfer-Encoding; s=20140610; t=1709110370; v=1; b=sk5+oHZqTDklMdA11H0IR3FVmIVATpKvQBWOC0Y1ivIO8GFu5a9lk2zQJF082LpZsN+iX80C 92hrGQNRlF5EZX34gLCzvi//mNSEhIUuHNAOaSaC4Q0V/FdJakvFwBv0Lx7lhJbv9KGV6VOO1gT OyTDMIHHods3lo130s1T1KLY= X-Received: by 127.0.0.2 with SMTP id EL2qYY7687511xjNmlEbi3qK; Wed, 28 Feb 2024 00:52:50 -0800 X-Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.15]) by mx.groups.io with SMTP id smtpd.web11.9232.1709110369823194737 for ; Wed, 28 Feb 2024 00:52:50 -0800 X-IronPort-AV: E=McAfee;i="6600,9927,10996"; a="7314281" X-IronPort-AV: E=Sophos;i="6.06,190,1705392000"; d="scan'208";a="7314281" X-Received: from fmviesa008.fm.intel.com ([10.60.135.148]) by orvoesa107.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Feb 2024 00:52:49 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.06,190,1705392000"; d="scan'208";a="7480902" X-Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by fmviesa008.fm.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 28 Feb 2024 00:52:46 -0800 X-Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Wed, 28 Feb 2024 00:52:43 -0800 X-Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35 via Frontend Transport; Wed, 28 Feb 2024 00:52:43 -0800 X-Received: from NAM12-BN8-obe.outbound.protection.outlook.com (104.47.55.168) by edgegateway.intel.com (192.55.55.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.35; Wed, 28 Feb 2024 00:52:41 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=IDuwJWV5g/IuDy6ElYxD2l7sXUmwxdlQmd9WNZWguIE+O3bD2QhUsoKjqdjiRW21hKTcM4eKruIY41LfqZ2O+izMFWNbBctwRemrFoi75cteR9gUteFaV4NdF+CmfC5u1o6aZelYhyS+oUQohFdqhANW6VnCgaWw984Bn6UV6PmcDs3BflcKMoAsYX+BTTAThII9QER//VI6O9+QAELYF/ARN8fd8SJahYkJwhQyZ/7EpPR5Taq1UQChtNPR33FChM5j7xRyBUOP1OMeaZ+1a99uCIIzSk+zeu8khbaJaRbq1SVZeN68VDwB82YRl12/Xu6Y/67URUvhC+qH1m4ptQ== 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=X6iYQsK1VakuL4lXxEIiXnIPiyW0u3Ych6ydcUbhNnw=; b=aX+fVylagGwhYrD2zCpGtaOGdLFKKtvtyI2U4O77yp+TK38KgEbFq63qUA4jdbVAJTw6g6oC/oCUJeoiMOLztfuL6bjXrgOb7uhf6T+o/urg4U84bq4/pIDFhrkGLsuc6sdajSYz5lnAuKJ48mKd2Wb/FCrel4E1q0uhweOs1T8SHRq+1bMivXPmiUkup7Muej0wqxzi4wQwm9dW+7OmUS/i5LZir/8PDFC/ru4EItMXL57ZCEcHnc/qHUnorBYFC/K+2gSqgyWfFtQfrFOW5F5aub/iujGaQVloJBpmCLp+6kye8iaOscnlMRSO+t/h0A9kaMypkjsIUwqrEDR/9g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none X-Received: from PH0PR11MB5048.namprd11.prod.outlook.com (2603:10b6:510:3d::14) by CY8PR11MB7948.namprd11.prod.outlook.com (2603:10b6:930:7f::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7362.12; Wed, 28 Feb 2024 08:52:40 +0000 X-Received: from PH0PR11MB5048.namprd11.prod.outlook.com ([fe80::a667:587f:2daf:7aa8]) by PH0PR11MB5048.namprd11.prod.outlook.com ([fe80::a667:587f:2daf:7aa8%6]) with mapi id 15.20.7339.024; Wed, 28 Feb 2024 08:52:39 +0000 From: "Zhiguang Liu" To: Laszlo Ersek , "devel@edk2.groups.io" CC: Liming Gao , "Wu, Jiaxin" , "Ni, Ray" Subject: Re: [edk2-devel] [PATCH v2 2/4] MdeModulePkg/SMM: Disallow unregister SMI handler in other SMI handler Thread-Topic: [edk2-devel] [PATCH v2 2/4] MdeModulePkg/SMM: Disallow unregister SMI handler in other SMI handler Thread-Index: AQHaae3O4+bzIQQGyUeuXUH6UF/yFLEfcQkAgAABzrA= Date: Wed, 28 Feb 2024 08:52:39 +0000 Message-ID: References: <20240228022750.873-1-zhiguang.liu@intel.com> <20240228022750.873-3-zhiguang.liu@intel.com> <7e5bff6c-04b0-4c91-3fa1-514e10e14481@redhat.com> In-Reply-To: <7e5bff6c-04b0-4c91-3fa1-514e10e14481@redhat.com> Accept-Language: en-US, zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: PH0PR11MB5048:EE_|CY8PR11MB7948:EE_ x-ms-office365-filtering-correlation-id: 53bdd439-e9cd-4e3a-14c8-08dc383a9e81 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam-message-info: xtAabqJzVx7CuNv5+dZryJAzUpAJzszqKARTJ8dg502OH2LJQGwbB+1jR1DrHsrRC09c/tfHqlho3eKJfbFKB9RxcH5dPs4hWdvjFIcqgZ2Og6HjaFVUcgP+hwrWxXLqmn3tWz7xD2NLKk5v+8Jt7X64g5NbpFmSg2eJHUvuJGdJzalfqZMaw8yMGYHgr9+KbIuYWBZRc40gOqI3JH5mcqbNUFFZrFoICCEGHUTPfq6Z5aEl2AOoD1QAeObb+2dhCrPP7hK+Q0oxhEfcpFysU2fuFbXHmWySw8BCxmaClximXltjDf6cYDG3zAYHaHL4wEPuSy13YboriZUrQ03qh/4GuZvNa1PT2TKKA3x5AJhIK+EY1CjtO+NxtSAm/CtyrX9xNJ2Pmh6MMgeCAqysCqPq8puvdYcWKSKQqegN3ecM1RBFHML69lzPuEm987P4rRCU6ER7/majTHpeAE9UVMHB/tifoutRSj4psGn8UOlqAiN182eP81M/FgHyaA7xgFsRhexNwQLDj0/sRaB5SRUGSMRheRzjkba01pp1IbyKojN3+hemfCz5qEkImyTJRRpmHeN+pXJNEw/6mGEY5Vl/BOWvB6/YbwAHXBIxsDFSx+64krhf9XHak1gXg2lphr5UPFtGOT1e/o0eJH5TnDlFndxnLk3uF9B1SYbMvloE+7B+9Jw1t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QxbUtoQ2FYZWVGbTFGK1hKRUpZdUc4WXNpOFZTZDFEdTVPWG95?= =?utf-8?B?aHJNaEYxemRBeGN5ZVd1a2sxM2FjTmlINlJ5Y0M1OEZNWjF5dXZYeHR1d3dz?= =?utf-8?B?MFRZSFlyM2JRbER0UEg1ZWtFZFB2Vm4xeTJPcmxCME5RY3hmUWhua3Z3aWZJ?= =?utf-8?B?Y1BkeEdnYndTZTdVM2hCNFZtL2VoMVAwRWRtcklBcEFjWjR5TGhKUFFicnVl?= =?utf-8?B?WnF4Q2ltUDFNS0Q2dUw4Z0lhLzNHZVJHSWNkeGVDaC9yMVhXOGt1TFJLSjZk?= =?utf-8?B?Uk1yZXNXVE8xUm5yNDM5Q2V0Y2lRZTBNVmZRU0JkRnI2RnZFemN2R1NEanVV?= =?utf-8?B?eEp5MVYvaTV0aDYvSlhKVFRDbDZwUFFsYnVDSUJiZjYvS2FxTm9IYWdkUXRu?= =?utf-8?Q?j1Z2FMuDKg1+5zEXb7hQAXcgb?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: PH0PR11MB5048.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 53bdd439-e9cd-4e3a-14c8-08dc383a9e81 X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Feb 2024 08:52:39.8272 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: Qf+dn1WItIN2Mp1aK0dh6DixPS2ivl7c2mb4RwAJAy/JDCkh1lZDRkEQjOsEE36JT7U2oFyKJoBukDghlhbHiQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY8PR11MB7948 X-OriginatorOrg: intel.com Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,zhiguang.liu@intel.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: 3GNSq7ng2dXAp4gC6A78zyJLx7686176AA= Content-Language: en-US Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=sk5+oHZq; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=intel.com (policy=none); spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io; arc=reject ("signature check failed: fail, {[1] = sig:microsoft.com:reject}") VGhhbmtzIExhc3psby4gQm90aCBhcmUgZ29vZCBjb21tZW50cy4gSSB3aWxsIGZvbGxvdyBpbiBu ZXh0IHZlcnNpb24NCg0KVGhhbmtzDQpaaGlndWFuZw0KDQo+IC0tLS0tT3JpZ2luYWwgTWVzc2Fn ZS0tLS0tDQo+IEZyb206IExhc3psbyBFcnNlayA8bGVyc2VrQHJlZGhhdC5jb20+DQo+IFNlbnQ6 IFdlZG5lc2RheSwgRmVicnVhcnkgMjgsIDIwMjQgNDo0NSBQTQ0KPiBUbzogZGV2ZWxAZWRrMi5n cm91cHMuaW87IExpdSwgWmhpZ3VhbmcgPHpoaWd1YW5nLmxpdUBpbnRlbC5jb20+DQo+IENjOiBM aW1pbmcgR2FvIDxnYW9saW1pbmdAYnlvc29mdC5jb20uY24+OyBXdSwgSmlheGluDQo+IDxqaWF4 aW4ud3VAaW50ZWwuY29tPjsgTmksIFJheSA8cmF5Lm5pQGludGVsLmNvbT4NCj4gU3ViamVjdDog UmU6IFtlZGsyLWRldmVsXSBbUEFUQ0ggdjIgMi80XSBNZGVNb2R1bGVQa2cvU01NOiBEaXNhbGxv dw0KPiB1bnJlZ2lzdGVyIFNNSSBoYW5kbGVyI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250ZXh0LA0KPiA+IC0gICAgICAg ICAgICAgICAgICAgICAgICAgICBDb21tQnVmZmVyLA0KPiA+IC0gICAgICAgICAgICAgICAgICAg ICAgICAgICBDb21tQnVmZmVyU2l6ZQ0KPiA+IC0gICAgICAgICAgICAgICAgICAgICAgICAgICAp Ow0KPiA+ICsgICAgLy8NCj4gPiArICAgIC8vIEFzc2lnbiBnQ3VycmVudFNtaUhhbmRsZSBiZWZv cmUgY2FsbGluZyB0aGUgU01JIGhhbmRsZXIgYW5kDQo+ID4gKyAgICAvLyBzZXQgdG8gTlVMTCB3 aGVuIGl0IHJldHVybnMuDQo+ID4gKyAgICAvLw0KPiA+ICsgICAgZ0N1cnJlbnRTbWlIYW5kbGVy ID0gU21pSGFuZGxlcjsNCj4gPiArICAgIFN0YXR1cyAgICAgICAgICAgICA9IFNtaUhhbmRsZXIt PkhhbmRsZXIgKA0KPiA+ICsgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAo RUZJX0hBTkRMRSlTbWlIYW5kbGVyLA0KPiA+ICsgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICBDb250ZXh0LA0KPiA+ICsgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICBDb21tQnVmZmVyLA0KPiA+ICsgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICBDb21tQnVmZmVyU2l6ZQ0KPiA+ICsgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICApOw0KPiA+ICsgICAgZ0N1cnJlbnRTbWlIYW5kbGVyID0gTlVMTDsNCj4gPg0K PiA+ICAgICAgc3dpdGNoIChTdGF0dXMpIHsNCj4gPiAgICAgICAgY2FzZSBFRklfSU5URVJSVVBU X1BFTkRJTkc6DQo+ID4gQEAgLTMyOCw2ICszMzQsMTYgQEAgU21pSGFuZGxlclVuUmVnaXN0ZXIg KA0KPiA+ICAgICAgcmV0dXJuIEVGSV9JTlZBTElEX1BBUkFN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