From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=40.92.3.11; helo=nam02-bl2-obe.outbound.protection.outlook.com; envelope-from=vanjeff_919@hotmail.com; receiver=edk2-devel@lists.01.org Received: from NAM02-BL2-obe.outbound.protection.outlook.com (mail-oln040092003011.outbound.protection.outlook.com [40.92.3.11]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id DF61B21D2BEF7 for ; Mon, 22 Jan 2018 01:30:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=eeVJngljr8iIY4Ahyssf1x1Tbqh0HzJzCZjrV+qvjvc=; b=MRPGE4fwiHpHSJegxQVvvSzrI3C003ZghOpF8Y2ZIuJ4qT8CQCjgbkZVtlxRj+RIipry8E280XVxWpDkXMpvq5BUltwvZfyC+QpBrlJqSOcXctGUMyWUD/M6DW4rIc0zyTF2pepawIVE03RloCFZYW0vH3WYeHt+M7BEyICJ/iocil3sQlfrv3IXLRnMvyEJtbgY48mM6xttcWTHmNHeEIfU+2bhIwqUCt9omg5D5Jnz9PXgGpahIVspORMKxjRn6x12hUZwHN8cWZMgFgMl0tSLRj39rcKbwjvDVhgbY65GPq3lvgJlQL4VZIO3G3RgxbwqEy9i2UeE+sJFb7Z9eg== Received: from BL2NAM02FT063.eop-nam02.prod.protection.outlook.com (10.152.76.57) by BL2NAM02HT108.eop-nam02.prod.protection.outlook.com (10.152.77.128) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.20.428.12; Mon, 22 Jan 2018 09:36:04 +0000 Received: from CO2PR19MB0137.namprd19.prod.outlook.com (10.152.76.52) by BL2NAM02FT063.mail.protection.outlook.com (10.152.77.121) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.20.428.12 via Frontend Transport; Mon, 22 Jan 2018 09:36:04 +0000 Received: from CO2PR19MB0137.namprd19.prod.outlook.com ([10.161.82.25]) by CO2PR19MB0137.namprd19.prod.outlook.com ([10.161.82.25]) with mapi id 15.20.0428.019; Mon, 22 Jan 2018 09:36:04 +0000 From: Fan Jeff To: Ruiyu Ni , "edk2-devel@lists.01.org" CC: Eric Dong , Star Zeng Thread-Topic: [edk2] [PATCH] UefiCpuPkg/PeiMpLib: Fix a system hang-in-pei issue. Thread-Index: AQHTk2HGf1xpTre3BkyoYhJINImoOaN/oas5 Date: Mon, 22 Jan 2018 09:36:04 +0000 Message-ID: References: <20180122091659.283656-1-ruiyu.ni@intel.com> In-Reply-To: <20180122091659.283656-1-ruiyu.ni@intel.com> Accept-Language: zh-CN, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-incomingtopheadermarker: OriginalChecksum:870EE6E883360C412CB0D79363B8A54D508420F435E912D7E6497A8328C49ED1; UpperCasedChecksum:F387461EFC9F43385CCC72BC9C003BA1560A1CCAABDA7A56C538FE386C58A8A5; SizeAsReceived:7167; Count:47 x-ms-exchange-messagesentrepresentingtype: 1 x-tmn: [WgiKPozfduI/yajKPcfCG52dUDKacBdV] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; BL2NAM02HT108; 6:Bfdt160xKMo7CRUhMt3SPjHmkELkaPijhc6GepGzYKpohTF/MM3HS1iR7herLGiSoZJ4pluD24Bw2CcyBY/EO9f9Q+CL5sFW4WDwaRwr9lT+AfucRvFlAsQ9bdieht8fDibIwhP6Vf4XS6DC+J9XAnikZSbN0oFT7u8zHGf/g5JpRPpfdUKaML7x/TxXtXoKnki4KmdKuJuHRxLgAO66GWKZZw12t15DrQkyftd6jCD86en0C0DyTjrdMYRc5yQD9vYNtOfBRQWum0pEzOXFUcsL+v9NmVhYk49qC8Di0XTuUTUWJk7m/vJPKXIq1PpDeJ1zKWtLvo3mXOdlUJEM4Yt0ld6jzPGevXH9bSmjjus=; 5:DtbQnKfds7y5XYLj8JwVIbWmEzh//7v9ywJUSlM8XYiwCY32zl2LgnFuqLHZ2rKwgKWuFn3DSEnKjchAFvFbpJmdp+TPM3B699XTgXGVto7i63PNKcgGjEZQoWrHr6iiufP4Vlt62L+I7lWDDQjhjjc/QvLy9Ee2QG4j9Enanw0=; 24:VHTjH6dhGBakb2e83LAxlH/J2f7Hts6IfwsgIyPE7oWhFvHkTbWNBVRbPSnvcQfQhonueEZlBA5AVZPMi+qin+EcO2LLIpABDW+Y9TIRlAE=; 7:IphopJP3WGOMZoj1GX1OPQ3WPdwpILlGyuzhC1R2Pf76+r7g6EVn1Howz9EU/1QgOg4HO09AlzdqY4CfFTOK2w1DeAX3OT4owYVoOgigBfaWk67Mc3zwQOY6F+l1WUgCQYfZ9T+TSlR+Tr0VGHTDKZ1U1veb5UjIJ7usaOkEbvoWt/iwHoGhN/t1kt1hFSDMb77PxSjhOCVWi7gIevR3xN4l99P2XLbQpYViVVHjyIJ4tDqRbTz78IQnKI0Ys3bC x-incomingheadercount: 47 x-eopattributedmessage: 0 x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(201702061074)(5061506573)(5061507331)(1603103135)(2017031320274)(2017031324274)(2017031323274)(2017031322404)(1603101448)(1601125374)(1701031045); SRVR:BL2NAM02HT108; x-ms-traffictypediagnostic: BL2NAM02HT108: x-ms-office365-filtering-correlation-id: e1617d69-7e23-4af3-d754-08d5617b8eba x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(444000031); SRVR:BL2NAM02HT108; BCL:0; PCL:0; RULEID:(100000803101)(100110400095); SRVR:BL2NAM02HT108; x-forefront-prvs: 0560A2214D x-forefront-antispam-report: SFV:NSPM; SFS:(7070007)(98901004); DIR:OUT; SFP:1901; SCL:1; SRVR:BL2NAM02HT108; H:CO2PR19MB0137.namprd19.prod.outlook.com; FPR:; SPF:None; LANG:; spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: hotmail.com X-MS-Exchange-CrossTenant-Network-Message-Id: e1617d69-7e23-4af3-d754-08d5617b8eba X-MS-Exchange-CrossTenant-originalarrivaltime: 22 Jan 2018 09:36:04.5493 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL2NAM02HT108 X-Content-Filtered-By: Mailman/MimeDel 2.1.23 Subject: =?UTF-8?B?562U5aSNOiBbUEFUQ0hdIFVlZmlDcHVQa2cvUGVpTXBMaWI6IEZpeCBhIHN5c3RlbSBoYW5nLWluLXBlaSBpc3N1ZS4=?= X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Jan 2018 09:30:41 -0000 Content-Language: zh-CN Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: base64 UmV2aWV3ZWQtYnk6IEplZmYgRmFuIDx2YW5qZWZmXzkxOUBob3RtYWlsLmNvbT4NCg0Kt6K8/sjL OiBSdWl5dSBOaTxtYWlsdG86cnVpeXUubmlAaW50ZWwuY29tPg0Kt6LLzcqxvOQ6IDIwMTjE6jHU wjIyyNUgMTc6MTcNCsrVvP7IyzogZWRrMi1kZXZlbEBsaXN0cy4wMS5vcmc8bWFpbHRvOmVkazIt ZGV2ZWxAbGlzdHMuMDEub3JnPg0Ks63LzTogRXJpYyBEb25nPG1haWx0bzplcmljLmRvbmdAaW50 ZWwuY29tPjsgU3RhciBaZW5nPG1haWx0bzpzdGFyLnplbmdAaW50ZWwuY29tPg0K1vfM4jogW2Vk azJdIFtQQVRDSF0gVWVmaUNwdVBrZy9QZWlNcExpYjogRml4IGEgc3lzdGVt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ItPlBoeXNpY2FsU3RhcnQgKyBIb2Iu UmVzb3VyY2VEZXNjcmlwdG9yLT5SZXNvdXJjZUxlbmd0aDsNCiAgICAgICAgIGlmIChXYWtldXBC dWZmZXJFbmQgPiBCQVNFXzFNQikgew0KICAgICAgICAgICAvLw0KICAgICAgICAgICAvLyBXYWtl dXAgYnVmZmVyIHNob3VsZCBiZSB1bmRlciAxTUINCkBAIC0xNzQsNyArMTczLDcgQEAgR2V0V2Fr ZXVwQnVmZmVyICgNCiAgICAgICAgICAgfQ0KICAgICAgICAgICBERUJVRyAoKERFQlVHX0lORk8s ICJXYWtldXBCdWZmZXJTdGFydCA9ICV4LCBXYWtldXBCdWZmZXJTaXplID0gJXhcbiIsDQogICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgIFdha2V1cEJ1ZmZlclN0YXJ0LCBXYWtldXBCdWZm ZXJTaXplKSk7DQotICAgICAgICAgIHJldHVybiBXYWtldXBCdWZmZXJTdGFydDsNCisgICAgICAg ICAgcmV0dXJuIChVSU5UTilXYWtldXBCdWZmZXJTdGFydDsNCiAgICAgICAgIH0NCiAgICAgICB9 DQogICAgIH0NCi0tDQoyLjE1LjEud2luZG93cy4yDQoNCl9fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fDQplZGsyLWRldmVsIG1haWxpbmcgbGlzdA0KZWRrMi1k ZXZlbEBsaXN0cy4wMS5vcmcNCmh0dHBzOi8vbGlzdHMuMDEub3JnL21haWxtYW4vbGlzdGluZm8v ZWRrMi1kZXZlbA0KDQo=