From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mx.groups.io with SMTP id smtpd.web11.13520.1583153738368952436 for ; Mon, 02 Mar 2020 04:55:38 -0800 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 134.134.136.126, mailfrom: liming.gao@intel.com) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 02 Mar 2020 04:55:37 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,507,1574150400"; d="scan'208";a="440125610" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by fmsmga006.fm.intel.com with ESMTP; 02 Mar 2020 04:55:37 -0800 Received: from shsmsx605.ccr.corp.intel.com (10.109.6.215) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 2 Mar 2020 04:55:36 -0800 Received: from shsmsx606.ccr.corp.intel.com (10.109.6.216) by SHSMSX605.ccr.corp.intel.com (10.109.6.215) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Mon, 2 Mar 2020 20:55:34 +0800 Received: from shsmsx606.ccr.corp.intel.com ([10.109.6.216]) by SHSMSX606.ccr.corp.intel.com ([10.109.6.216]) with mapi id 15.01.1713.004; Mon, 2 Mar 2020 20:55:34 +0800 From: "Liming Gao" To: "devel@edk2.groups.io" , "lersek@redhat.com" , "Dong, Eric" , "Wu, Hao A" , "Wang, Jian J" , "Ni, Ray" CC: Ard Biesheuvel , Igor Mammedov , "Yao, Jiewen" , "Justen, Jordan L" , "Kinney, Michael D" , =?utf-8?B?UGhpbGlwcGUgTWF0aGlldS1EYXVkw6k=?= Subject: Re: [edk2-devel] [PATCH v2 01/16] MdeModulePkg/PiSmmCore: log SMM image start failure Thread-Topic: [edk2-devel] [PATCH v2 01/16] MdeModulePkg/PiSmmCore: log SMM image start failure Thread-Index: AQHV7PHS7LwvTIDyIEKEG7fLeV+WuKg0wWSAgACIKaA= Date: Mon, 2 Mar 2020 12:55:34 +0000 Message-ID: References: <20200226221156.29589-1-lersek@redhat.com> <20200226221156.29589-2-lersek@redhat.com> <7b5978a1-7127-f000-c655-31cf9097a80a@redhat.com> In-Reply-To: <7b5978a1-7127-f000-c655-31cf9097a80a@redhat.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-version: 11.2.0.6 dlp-product: dlpe-windows dlp-reaction: no-action x-originating-ip: [10.239.127.36] MIME-Version: 1.0 Return-Path: liming.gao@intel.com Content-Language: en-US Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 TGFzemxvOg0KICBUaGUgY2hhbmdlIHJlZmVycyB0byB0aGUgc2FtZSBsb2dpYyBpbiBEeGVNYWlu IGxvZ2ljLiBTbywgaXQgbWFrZXMgc2Vuc2UuIFJldmlld2VkLWJ5OiBMaW1pbmcgR2FvIDxsaW1p bmcuZ2FvQGludGVsLmNvbT4NCg0KVGhhbmtzDQpMaW1pbmcNCj4gLS0tLS1PcmlnaW5hbCBNZXNz YWdlLS0tLS0NCj4gRnJvbTogZGV2ZWxAZWRrMi5ncm91cHMuaW8gPGRldmVsQGVkazIuZ3JvdXBz LmlvPiBPbiBCZWhhbGYgT2YgTGFzemxvIEVyc2VrDQo+IFNlbnQ6IE1vbmRheSwgTWFyY2ggMiwg MjAyMCA4OjQ3IFBNDQo+IFRvOiBEb25nLCBFcmljIDxlcmljLmRvbmdAaW50ZWwuY29tPjsgV3Us IEhhbyBBIDxoYW8uYS53dUBpbnRlbC5jb20+OyBXYW5nLCBKaWFuIEogPGppYW4uai53YW5nQGlu dGVsLmNvbT47IE5pLCBSYXkNCj4gPHJheS5uaUBpbnRlbC5jb20+DQo+IENjOiBlZGsyLWRld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gICAgICAgICBnQlMtPkZyZWVQb29sIChEcml2ZXJFbnRyeS0+TG9h ZGVkSW1hZ2UpOw0KPiA+ICAgICAgICAgIH0NCj4gPiAgICAgICAgICBTdGF0dXMgPSBTbW1Vbmlu c3RhbGxQcm90b2NvbEludGVyZmFjZSAoDQo+ID4gICAgICAgICAgICAgICAgICAgICBEcml2ZXJF bnRyeS0+U21tSW1hZ2VIYW5kbGUsDQo+ID4gICAgICAgICAgICAgICAgICAgICAmZ0VmaUxvYWRl ZEltYWdlUHJvdG9jb2xHdWlkLA0KPiA+ICAgICAgICAgICAgICAgICAgICAgJkRyaXZlckVudHJ5 LT5TbW1Mb2FkZWRJbWFnZQ0KPiA+ICAgICAgICAgICAgICAgICAgICAgKTsNCj4gPiAgICAgICAg ICBpZiAoIUVGSV9FUlJPUihTdGF0dXMpKSB7DQo+ID4NCj4gDQo+IA0KPiANCg0K