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.web10.65.1611239558592494769 for ; Thu, 21 Jan 2021 06:32:38 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@intel.onmicrosoft.com header.s=selector2-intel-onmicrosoft-com header.b=WNMRliGT; spf=pass (domain: intel.com, ip: 134.134.136.126, mailfrom: star.zeng@intel.com) IronPort-SDR: VnIz2MXm5idho5hBTEUKP2cWYkbe2c102Eq4Z74zHaylgxo49tKS7ZwcYk0HuG4M44jYcrBtMW OJEGg2LHD3ZQ== X-IronPort-AV: E=McAfee;i="6000,8403,9870"; a="166947453" X-IronPort-AV: E=Sophos;i="5.79,364,1602572400"; d="scan'208";a="166947453" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Jan 2021 06:32:36 -0800 IronPort-SDR: vS1bYUjQ1kIxe+aga5YkgRYU633GxYHjhwZQ4E9ZhYwkP3hxJB4oeZrJM0y2KgJks2+eN7tkTZ g9koFKWYiL9w== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.79,364,1602572400"; d="scan'208";a="351469223" Received: from fmsmsx605.amr.corp.intel.com ([10.18.126.85]) by orsmga003.jf.intel.com with ESMTP; 21 Jan 2021 06:32:36 -0800 Received: from fmsmsx611.amr.corp.intel.com (10.18.126.91) by fmsmsx605.amr.corp.intel.com (10.18.126.85) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Thu, 21 Jan 2021 06:32:34 -0800 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) by fmsmsx611.amr.corp.intel.com (10.18.126.91) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5 via Frontend Transport; Thu, 21 Jan 2021 06:32:34 -0800 Received: from NAM12-BN8-obe.outbound.protection.outlook.com (104.47.55.168) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.1713.5; Thu, 21 Jan 2021 06:32:26 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VUQWC5REcJhWtAHkjwH99rLCmf3txGOqZNmsxvumZIXlBVfcRm5KtALBdjvZHF4joYoc41FerHbygJKUMbi2lIr6ZnVW4xNZhF61GvpxmoAxSZtvPxZ/XdVh1kvCgjzF8w4vskz0ZdASsWhgqocCVqzoohuhGp97U2tV/THulpCAQQumcw+Sp8VHekffaQ5jgWY6hy5zO2Yl/4vvcuPazuSiGKiEovRBmkj2jbSQGjVQfUFbdzcAr/9CkkbUHTY4067Cd8iM5do43L6dJxPha9Zv+SQqnBiUUa0pK+drInHHR80LuA6GP2zoyHEopp5DmD7mDZW3rRMMvBn6rPArzg== 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-SenderADCheck; bh=lQ3Pvdgd1fVvzZ93ccxZbs5gJv1goSEwLOk4uToeLDc=; b=b7D27DNcghB6lxysSQGVp5G0EbEnVZ9iR3Yo2ht/3xfPTG3NRpjYhDZHIPuDQHJjDF3ClDNRi+qZWtSxy7ONUpFZMj2X9FL8izbjJYMYLbx4cxT3Mrwi6lEH5YlSTqpejXGX2SeLes9Papjf86PvGRaJhZjq0Jwt0cdE2uVn8h9lrAxqjyle2+dZdiel4I16fyamb1v5rsjPFzqIdrFtI6fvYK0bjRCggDCk0VWPJZpuYRX1SUyyRT8B7vBozw2qvYyLaD6cZR4lHGAy5e8DN2TsmRitlzzxVOL7R7EIOL57UXCV0JUbClaYpAaIXxR4+q7dPdMGpU9yJFSFa4B6oQ== 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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=lQ3Pvdgd1fVvzZ93ccxZbs5gJv1goSEwLOk4uToeLDc=; b=WNMRliGT9lm9A1ed6Rykfa8hrAvkpgrF8xQ6oBnBVmxLuTxXLio4TjLl8qv3EBfmc28gKqr4cT4v6HSEzPbUGrBz8aJFX+D0I/JVF1VWIFsaWsNPfa7dNBYhzk2XIjSpbkz/VsFmFTzWy3oI4eZb3x8mighGYZoNYUX9Cfm00es= Received: from DM6PR11MB4058.namprd11.prod.outlook.com (2603:10b6:5:193::13) by DM6PR11MB3034.namprd11.prod.outlook.com (2603:10b6:5:65::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3784.11; Thu, 21 Jan 2021 14:32:25 +0000 Received: from DM6PR11MB4058.namprd11.prod.outlook.com ([fe80::29e6:77f7:8834:9f88]) by DM6PR11MB4058.namprd11.prod.outlook.com ([fe80::29e6:77f7:8834:9f88%7]) with mapi id 15.20.3784.011; Thu, 21 Jan 2021 14:32:25 +0000 From: "Zeng, Star" To: Laszlo Ersek , "devel@edk2.groups.io" CC: "Dong, Eric" , "Ni, Ray" , "Zeng, Star" Subject: Re: [edk2-devel] [PATCH] UefiCpuPkg RegisterCpuFeaturesLib: NumberOfCpus may be uninitialized Thread-Topic: [edk2-devel] [PATCH] UefiCpuPkg RegisterCpuFeaturesLib: NumberOfCpus may be uninitialized Thread-Index: AQHW79l8IOqcTuKYoECVx+gZzzSfhKoyGE2AgAAL/KA= Date: Thu, 21 Jan 2021 14:32:25 +0000 Message-ID: References: <20210121093944.1621-1-star.zeng@intel.com> In-Reply-To: Accept-Language: zh-CN, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-reaction: no-action dlp-version: 11.5.1.3 authentication-results: redhat.com; dkim=none (message not signed) header.d=none;redhat.com; dmarc=none action=none header.from=intel.com; x-originating-ip: [192.198.147.213] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 8bbfffc9-9622-434d-7105-08d8be195f52 x-ms-traffictypediagnostic: DM6PR11MB3034: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:9508; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: uT9qMPo2RHd/C/v66we7KsE8mWMlQ2Bu/H0clHBsgUXW/dYohr3Gikq0BOdxlfHK5ql4FbcNsyWC88/DUy789rgu3jREbMPbUtNUVbVDdp4NZEd+qvBmgji8vA0aqVO41fPOGLLfaMbywVIVylrpbKy6WgSAEzORCRZMvzbS45ZIl0S2mEPgtyiiwRfppmBgcTLoGspAiNq1IQKald0iZaF0iC19muabDPS6RQGvvZ6gpTvL2IQdE3CGCiUiomYueV718e9UCOhsjKO5DdeDvfEPY+s22b7tFRUo57JrtXpCP/rx1bV4/SpLptR+jByZe9nz78uGuHoZN2PiCOE/6kXJyuibE6j5/Hz1/Wp9to4aZ9AnWkzhafwdRyAUBATQnVz92E/5ls9Eh3gyD6k9p7EYmdtUOpWNjQsb84XW9+1GjW2EeXgcmy5Utm7ncDRmjrDQFHrX3R38R8USxajP3w== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DM6PR11MB4058.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(6029001)(4636009)(376002)(396003)(136003)(366004)(346002)(39860400002)(33656002)(64756008)(66556008)(8936002)(54906003)(66476007)(66446008)(6506007)(83380400001)(66946007)(76116006)(8676002)(4326008)(26005)(53546011)(55016002)(110136005)(86362001)(316002)(71200400001)(9686003)(52536014)(2906002)(478600001)(7696005)(107886003)(5660300002)(186003);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata: =?utf-8?B?MlJSbnM4YmJpL2Yza2ZMZmN0bXVMdnJTbFZVcFV2N2RWZHNTUHVwZWtoaFJL?= =?utf-8?B?MVVVUkF4TVhPaEtCY0lhajByOW84dnlQVGs3QnI4STNGQk5xTTBkUkhGRmV4?= =?utf-8?B?SkJtKzQraVFBRXcwVFBGK29rK1hsazRXNnZrck1LbitIWmtSVGhrdjZsMlRr?= =?utf-8?B?YXkrZ3VkVEJuZ052aE0yN3JIUTVBT2pHSG9VN3NwOTVteUZNM3B2YWpqUFM3?= =?utf-8?B?WE5lMTB4SzVyVzFvK2g5T3p5SDlJWG4rSGNXclB4OVJZbGlIb295M01KRmlr?= =?utf-8?B?REEwTkdndXVVYUk4ZUlPRHlxLzdyNWhBMHY1YXNoRWZsZFB1VzVmKytDL3FN?= =?utf-8?B?dWJqR25saG9sN1RVVUc0NWg2WVlsM2FXS1ppWlkwa0N1aDQ2dUpxcFp3azh1?= =?utf-8?B?U3NYc3hydTJmZVF5RFZtYW1wOFFPLzh4SHZXYmFKNnJiNG9kTEdVQUZqWDAr?= =?utf-8?B?TFZVZ3VkbFg4MFVtWW5zNURGelhsTm9vZGFmUWpDVW15Y2ZGa0N0eG1RR2R4?= =?utf-8?B?RDNCSHp1K0twbnhGN0lrOWxLWDJISGQ1bnl1OG1STWExSTVmdVFMTjk2U0sy?= =?utf-8?B?elJUTHp4bExhYXptcXBBTm5oMGFVaHQ3WXpaYUp4VWQ2ZkV5K00waHBPU241?= =?utf-8?B?Mis1cjNMTEdyZ2Z2ZjhHTGRIYmdIZnRhRjJESHU4a1cwQmZoZTRoSXFnaU1o?= =?utf-8?B?Q3Z3Q0kwUis4TExDb1g3VFI5eXl0RndrWXdIalNubC9nQWc0ZFF1Z2hManpK?= =?utf-8?B?UmxlQ01sem1BZkhKbGVtcjYxbUJaRnNWZGlpUUhSM1AwZDFCbkRoWEN6WVZT?= =?utf-8?B?UHVBY3VXQjdzVHRnT1VqblRQRERESFVrQUJWMmpRWUlqVXNnVy83WFFoVGRP?= =?utf-8?B?WWNaRUxQTzFqQ3pkYVlzVlhkWnM5Mzd6c0FoMVRqc2hWZzlNaE93ZEpveDR1?= =?utf-8?B?cDFSRjFqbWZ5U1ZXVTVmYTNaem9jWkF0RGtmbnVqRXZETlRWS3FHRk5aSDV5?= =?utf-8?B?WXVoNGJWQnloR0NUWjQ2emhuWm5MTGhkeUVqNlo2TkhldGJHNzN3WjNQVmtW?= =?utf-8?B?S1lzZm9ESWtpbFd6Zys3dVB2akZHN3dXN0dLdFJwY3BrbEhrSkE0T25ycysy?= =?utf-8?B?U1NrRmlXWkVyaGZkL1hvc1ZtSlZTdjNmeUtwdzRVWkQ0OTRJUTN6RS9RWlNP?= =?utf-8?B?djNlTytUM2tWTHRJTjlzNmczZ1g0dUdmNThJUXovTW1NZWp5Y216dHFJYy9L?= =?utf-8?B?cmphZjgvbTJjN2VSNWtBNGVxSmJic3E0M2E2U2hvd3NJQkVVTElDT1lIQU90?= =?utf-8?Q?V/ngbUFEHXP98=3D?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM6PR11MB4058.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8bbfffc9-9622-434d-7105-08d8be195f52 X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Jan 2021 14:32:25.3894 (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: rrEs589Vi+qvMY4KOL+Lm1aaLHH7sCnXAIMlsqZy8JPyfIQyMxF6EZ4s0p36AoaoOTO7+3lkG2Q16JUt1VKOyw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR11MB3034 Return-Path: star.zeng@intel.com X-OriginatorOrg: intel.com Content-Language: en-US Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 PiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBMYXN6bG8gRXJzZWsgPGxlcnNl a0ByZWRoYXQuY29tPg0KPiBTZW50OiBUaHVyc2RheSwgSmFudWFyeSAyMSwgMjAyMSA5OjQ4IFBN DQo+IFRvOiBkZXZlbEBlZGsyLmdyb3Vwcy5pbzsgWmVuZywgU3RhciA8c3Rhci56ZW5nQGludGVs LmNvbT4NCj4gQ2M6IERvbmcsIEVyaWMgPGVyaWMuZG9uZ0BpbnRlbC5jb20+OyBOaSwgUmF5IDxy YXkubmlAaW50ZWwuY29tPg0KPiBTdWJqZWN0OiBSZTogW2VkazItZGV2ZWxdIFtQQVRDSF0gVWVm aUNwdVBrZyBSZWdpc3RlckNwdUZlYXR1cmVzTGliOg0KPiBOdW1iZXJPZkNwdXMgbWF5IGJlIHVu aW5pdGlhbGl6ZWQNCj4gDQo+IE9uIDAxLzIxLzIxIDEwOjM5LCBaZW5nLCBTdGFyIHdyb3RlOg0K PiA+IE51bWJlck9mQ3B1cyBsb2NhbCB2YXJpYWJsZSBpbiBHZXRBY3BpQ3B1RGF0YSB3aWxsIGJl IHVuaW5pdGlhbGl6ZWQNCj4gPiB3aGVuIENwdVMzRGF0YUR4ZSBydW5zIGJlZm9yZSBEeGVSZWdp c3RlckNwdUZlYXR1cmVzTGliIChsaW5rZWQgYnkNCj4gPiBDcHVGZWF0dXJlc0R4ZSkgYmVjYXVz ZSB0aGVyZSBpcyBubyBjb2RlIHRvIGluaXRpYWxpemUgaXQgYXQNCj4gPiAoQWNwaUNwdURhdGEg IT0gTlVMTCkgZXhlY3V0aW9uIHBhdGguDQo+ID4NCj4gPiBUaGUgaXNzdWUgaXMgZXhwb3NlZCBh ZnRlciBjZWZhZDI4MmZiMzFhZmYzZTFhNm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