From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=40.92.10.58; helo=nam04-co1-obe.outbound.protection.outlook.com; envelope-from=vanjeff_919@hotmail.com; receiver=edk2-devel@lists.01.org Received: from NAM04-CO1-obe.outbound.protection.outlook.com (mail-oln040092010058.outbound.protection.outlook.com [40.92.10.58]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 9598B210D5137 for ; Thu, 21 Jun 2018 23:52:27 -0700 (PDT) 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:X-MS-Exchange-SenderADCheck; bh=CePCISaP9T8hCWmyfTjw4W0cKK7mm8aQM+QEsTXN6G4=; b=jEUIn4ghsDM3Q0q1p0cQneK1LQkPkrF3vWeJwWbsg151dxzX/LutgRbE8Givt3A77sKB6+cDpVMfAzVFPq2115jNQpqI7YF/BGDzsg7+/qBO9aClQaAHa7jRIIry3oa5AXHLcO8y0vVWFTbqwBhAnLsW1jf0f8PpaIseZguzpdnQllzLyyHxfCNOZnCqx/ezSB+kjwbNikpkN2u8jL6IZcOwBgrAdmG4JNDYdgAYSVyUcEPstukLFOV+QM2DIo+4BzgOf+g+h3ZcDlmPb4lvwoWpLsLkusRpuT43HTZuEBAeDlsSd2ebFGiA1y7BTYQbdActO3ndk97Bjz12HX8wLw== Received: from CO1NAM04FT051.eop-NAM04.prod.protection.outlook.com (10.152.90.55) by CO1NAM04HT155.eop-NAM04.prod.protection.outlook.com (10.152.91.215) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.20.884.17; Fri, 22 Jun 2018 06:52:25 +0000 Received: from SN6PR19MB2269.namprd19.prod.outlook.com (10.152.90.59) by CO1NAM04FT051.mail.protection.outlook.com (10.152.90.255) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.20.884.17 via Frontend Transport; Fri, 22 Jun 2018 06:52:25 +0000 Received: from SN6PR19MB2269.namprd19.prod.outlook.com ([fe80::dde3:de07:2612:9df2]) by SN6PR19MB2269.namprd19.prod.outlook.com ([fe80::dde3:de07:2612:9df2%2]) with mapi id 15.20.0863.016; Fri, 22 Jun 2018 06:52:25 +0000 From: Fan Jeff To: Andrew Fish , "Ni, Ruiyu" CC: edk2-devel Thread-Topic: [edk2] Is the PEI Core MP Safe? UefiCpuPkg seems to think so calling GetFirstGuidHob on the APs? Thread-Index: AQHUCLtdr2JgOJv1aU6eNPc49PhJAqRqCCUAgAAFPgCAAcqmYw== Date: Fri, 22 Jun 2018 06:52:25 +0000 Message-ID: References: <31C6D3FB-91D3-491B-8059-4B6DEA11BDF9@apple.com> <734D49CCEBEEF84792F5B80ED585239D5BD3F73E@SHSMSX104.ccr.corp.intel.com>, <1800C800-ED89-4C23-89CB-E8E5E1CCE672@apple.com> In-Reply-To: <1800C800-ED89-4C23-89CB-E8E5E1CCE672@apple.com> Accept-Language: zh-CN, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-incomingtopheadermarker: OriginalChecksum:FD72F5B2D4631174C68BD0EA0A40D179ED4A023AFA62DEF4C8D02F0B9037D404; UpperCasedChecksum:1DC40796E86365FFE19D566B1177D186B7C6A71DA0C5FC90C3167F00CD1DF0D6; SizeAsReceived:7397; Count:47 x-ms-exchange-messagesentrepresentingtype: 1 x-tmn: [w//2h89RUdjDnAVWJ5ZM+jPMa/6cCGTk] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; CO1NAM04HT155; 7:hMTN6zrLbe3db+eNmUU1pt/00WY0Amplpt0O8bSG8yY1yo4zo8Tn8Bh6lexeL8eS/t8KSVzFH6TBNZpfTVIh68Ipl5x49JAdwPOAGvw+8ZrDukL7aeoRqWlZUOa3iQJcD7idnJINolGEIQFLJ7LWvf7tgtWAqfYrlwfjr+c7IHctYoZUKfk8mFpu6Not0yLJjnW6jP2PEq6Sl54TPB1IouRvPtCTg8a4ZvaGo84QX0jMgGQGvgpoXb3n2HqAY/Rz x-incomingheadercount: 47 x-eopattributedmessage: 0 x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(201702061078)(5061506573)(5061507331)(1603103135)(2017031320274)(2017031324274)(2017031323274)(2017031322404)(1603101448)(1601125500)(1701031045); SRVR:CO1NAM04HT155; x-ms-traffictypediagnostic: CO1NAM04HT155: x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(444000031); SRVR:CO1NAM04HT155; BCL:0; PCL:0; RULEID:; SRVR:CO1NAM04HT155; x-forefront-prvs: 071156160B x-forefront-antispam-report: SFV:NSPM; SFS:(7070007)(189003)(199004)(13464003)(224303003)(105586002)(73972006)(87572001)(110136005)(8936002)(5250100002)(81156014)(102836004)(6506007)(53546011)(99286004)(5660300001)(606006)(83332001)(54896002)(26005)(16234385003)(6306002)(106356001)(7696005)(97736004)(74316002)(446003)(6346003)(104016004)(3280700002)(8666007)(25786009)(14454004)(6436002)(3660700001)(33656002)(476003)(4326008)(86362001)(486006)(76176011)(20460500001)(68736007)(9686003)(11346002)(2900100001)(236005)(82202002)(966005)(55016002)(15852004); DIR:OUT; SFP:1901; SCL:1; SRVR:CO1NAM04HT155; H:SN6PR19MB2269.namprd19.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:; received-spf: None (protection.outlook.com: hotmail.com does not designate permitted sender hosts) authentication-results: spf=none (sender IP is ) smtp.mailfrom=vanjeff_919@hotmail.com; x-microsoft-antispam-message-info: jkMMOScTo2B8yzTHknXmpF8tbPTYCtNLewDqH3s9sVXbn+OZ/BYsVxay4xaN9wg7RHNyDs+ofGz8h2SGnXSZKvkuxaLFjIT+XHSQIULpR2CDcHxTT9RulcFtFK3chC1b+zhCGqm3CzwzCvpXeVtLhh561ZTp9tUJvRp7JIx3JKlQx17FlAALwER4/tCPjkll MIME-Version: 1.0 X-OriginatorOrg: hotmail.com X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: d4d70346-2c10-4f39-8c00-e767963926d9 X-MS-Exchange-CrossTenant-Network-Message-Id: e2e0b759-f18f-444e-f69a-08d5d80cb6a8 X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: d4d70346-2c10-4f39-8c00-e767963926d9 X-MS-Exchange-CrossTenant-originalarrivaltime: 22 Jun 2018 06:52:25.7606 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO1NAM04HT155 X-Content-Filtered-By: Mailman/MimeDel 2.1.26 Subject: =?UTF-8?B?562U5aSNOiBJcyB0aGUgUEVJIENvcmUgTVAgU2FmZT8gVWVmaUNwdVBrZyBzZWVtcyB0byB0aGluayBzbyBjYWxsaW5nIEdldEZpcnN0R3VpZEhvYiBvbiB0aGUgQVBzPw==?= X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jun 2018 06:52:27 -0000 Content-Language: zh-CN Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: base64 QW5kcmV3LA0KDQpOb3QgYWxsIHNlcnZpY2VzIGFyZSBwZXJtaXR0ZWQgZm9yIEFQIHJvdXRpbmVz LiBGb3IgZXhhbXBsZSwgTVAtPldob0FtSSgpIGNvdWxkIGJlIGludm9rZWQgYnkgQVAgYnkgc3Bl Y2lmaWVkDQoNCkN1cnJlbnQgaW1wbGVtZW50YXRpb24gc2hvdWxkIGJlIHNhZmUuIEkgYWxzbyBh Z3JlZSB3aXRoIElEVCBlbnRyeSBzb2x1dGlvbiwgYXMgd2UgZGlkIG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