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.111.1611240294041632986 for ; Thu, 21 Jan 2021 06:44:54 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@intel.onmicrosoft.com header.s=selector2-intel-onmicrosoft-com header.b=g4MnygM7; spf=pass (domain: intel.com, ip: 134.134.136.126, mailfrom: star.zeng@intel.com) IronPort-SDR: Ry1bfCOxIr5i9C0smECgi3OnccVtO5Orwlg+jHfFkCqmwJOM1D2f92TNfqn/Sd6ytggLtTeExg AWxJxsrHtVHg== X-IronPort-AV: E=McAfee;i="6000,8403,9870"; a="166948999" X-IronPort-AV: E=Sophos;i="5.79,364,1602572400"; d="scan'208";a="166948999" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Jan 2021 06:44:51 -0800 IronPort-SDR: Pr2bKvt2SDtkzfiZOS+/Da0aV8ujWXy8k+6WekdumCrjFAC1Z9u6o6Juh7IsI0h4rbQHqcc2XM Nt6smm5urCpQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.79,364,1602572400"; d="scan'208";a="354793218" Received: from fmsmsx605.amr.corp.intel.com ([10.18.126.85]) by orsmga006.jf.intel.com with ESMTP; 21 Jan 2021 06:44:51 -0800 Received: from fmsmsx608.amr.corp.intel.com (10.18.126.88) 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:44:50 -0800 Received: from fmsmsx609.amr.corp.intel.com (10.18.126.89) by fmsmsx608.amr.corp.intel.com (10.18.126.88) 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:44:50 -0800 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) by fmsmsx609.amr.corp.intel.com (10.18.126.89) 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:44:50 -0800 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (104.47.66.43) 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:44:50 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bbVouKztjqRXAUHrMxAgXn+R4ziV95GoMwtFdlqr/3hMMVQB/db/h3p9NFGdm1JEmQnFWRVP7jv6jhEqjZzOrdQaLQrgZnGxltDacTjco7mR9NHgVA+slbW63UCAsxuxo2TlrwBc/zxU3N0UWxKWq8kclgxe6MB5xv3DZQImxJxjTzyiU+aynIuXMdO/XXUFGT6MGLBjtYS3riEg1hu5mUize7jRzOGuHMYH16UqkN6BR4bxMkC2yYMt4hHbheJQpXe6UMyVf+HFMyEvXR3JBjnb7UWB97hPO23k2ZpDguJe7mezeVe8GyQUCyd2oSEpSopHAKql3mOczm1voIGWJA== 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=U9+bsp/fmu/Dk1YrpDOIMpMilDjPIFn2WR7ER7nVPAI=; b=G2qlwBYefsy1hLI3f/kV9OkfuNLWmFtactm/lkUgkGQxQEJuOk4R03B0wi/It3DEu7UPiO3hIR34nXspmyQxLFpjrN1DrMSLF53c2fr6XvHKVQebCXGI5ZGJ5o7pGqevV5RG4yk+hR/czIYTynD7/KthiT9fLjoAlbAA7vLzMRcxgIB4JId05qGByTldZlGoytmqvVUOYADxIVI0bRixRR+IionBKBgOjNde1INMMqCzBwxWc+aybFXyzd22PeDZ83cCosGwuIieJWhhb8efrtEKvUypdAeaBVNLCy5Let0PkNPxUFUESU1tFfmJ8nuH4lIXwTWjXVBxQJA4Gowa6w== 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=U9+bsp/fmu/Dk1YrpDOIMpMilDjPIFn2WR7ER7nVPAI=; b=g4MnygM7vfNW3hpuaQEsc4ygCxeBkOw/ciBlhoxcbL2+qOYBP+tIgNJdWnRG3tjIDM5dw0pwNkZqTIyjxBnuo1cppa9zB7HSIO+VbCSPXegY2N6SnfvXU5npJj9/C3w82rCh4UKgWUhbrYtkIf/AASOqn9dhWfsro+8Ceaz46ng= Received: from DM6PR11MB4058.namprd11.prod.outlook.com (2603:10b6:5:193::13) by DM6PR11MB2555.namprd11.prod.outlook.com (2603:10b6:5:c5::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3763.11; Thu, 21 Jan 2021 14:44:48 +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:44:48 +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+gZzzSfhKoyJnCAgAAA+wA= Date: Thu, 21 Jan 2021 14:44:48 +0000 Message-ID: References: <20210121093944.1621-1-star.zeng@intel.com> <739d840f-eacb-c76d-1342-3457e6775d67@redhat.com> In-Reply-To: <739d840f-eacb-c76d-1342-3457e6775d67@redhat.com> 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: 0115d8b3-ab05-4db9-3b2b-08d8be1b19f8 x-ms-traffictypediagnostic: DM6PR11MB2555: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:3968; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: mWBFKl7OYgnyYsOYgr8R69GbEK1Di6W677/AjiJvNbBzA/hKCTzHJWXtxaeI0fQ2hUZqrv2JeNgA9VeHYllUuMYThTrkeMXhqCpVjZgKQfw7QAiil3jW+1uiRHFttUaLvym20YYhCG6xNXgmpAmRNLkpXGdJQ3gt90LAaawObZENML0pxmMlujbCkE5GtItWcK3T1YBSBFMVe0wieA0Sq/YpEhQqxDIEs+doLr8xeVg+FAI6xeqb50OQyL4l5xqqcHjCh2dAOky9laCRp5/GKAgJIDfhllyy1Gukyzdw1fFoZUeiudezcXLSM8/4fsEyR3I2BGQ6a0kRayPQBGagB+db38g+rX5GKKly2pOp54iv62bYKgMGz64ZNuGKjx7c2+PE7rAtxZcD1dhNVjN9kT7OpH5bIlsq5kT6v1jfySxqVc2PDBOZeS0Z9hO1NV9gD23tRmAPlk6BOOeEwJfaMw== 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)(366004)(136003)(396003)(346002)(39860400002)(7696005)(83380400001)(5660300002)(6506007)(478600001)(53546011)(4326008)(186003)(86362001)(71200400001)(26005)(52536014)(76116006)(2906002)(66556008)(66446008)(8936002)(110136005)(316002)(107886003)(33656002)(54906003)(64756008)(66946007)(66476007)(9686003)(8676002)(55016002);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata: =?utf-8?B?YzJPdEtBRmdMTGFwQkRxZTh4NThMZElsOTZGRmt6NG5UTDFZT3lyQUh3Y3NX?= =?utf-8?B?VXA5di9mUVhsbzZobWlFcnIvL0kzV1ZPWHdlOGN2SjhJd3IwdHpqMFhhUTJO?= =?utf-8?B?WmJ1TGdXNUpDeXNoSmNMNnhPeXR0MVdwbXNObXR0T2tlRlRvSmJGWlo5bDNm?= =?utf-8?B?T3BCRzNudVFuSlA2MHBsci8yWlVPRDhwckd6ZFRENkpMVUU0MEhwQkw0N3dy?= =?utf-8?B?cmxTcnJYenYwQWVrS0Y2dXVxdEE4Z2RSZ2ZGb1RIcjE2N0JROXF1citGckVz?= =?utf-8?B?ZmcrYXhjd3dqTnh4U3lueE1RZXNZeWt5T2hSTEFQaHlhaTdJelZwcGQwQVJh?= =?utf-8?B?UXR5akhXL3lBN1VRNjQvZDNWS2FhVk9kdzdoejZrenUzV1BLYVI5b2llSzd6?= =?utf-8?B?V1VHbXFuTUNSTTNNTTR5TkdnNmZreUJSajZma1hOTnRjQkhoWlpzTnY2cWFr?= =?utf-8?B?eGpaUHJUUEJEOUh6TzIwdzRlNnpCdlhzQ1FhZThkeEh3Q29ZSVVUV2xoZzBq?= =?utf-8?B?LzdMaTlma1dpU2FlcnQvWVFqS2lTbGIwRkFuMVViek9ZMHBrU0gwbDJRLzdk?= =?utf-8?B?RG5WTW1jMXBUWE1CWkdwcnFkL1JMcHkxa1lFTUVHTHhoMzZsRkFmalhkVVhp?= =?utf-8?B?L1NPYUFBQ1RNSzl5c0NEWG1BOFFTMENDSGk0d25YZGYxazFvYmFFWFNvTGNv?= =?utf-8?B?TlY2aFRkOTBwUmx4WWluamZDWlNaN094TjhRT29tOGdzTmtrWEhpQWR4MlEr?= =?utf-8?B?Qll6TWFsRC9ScUFsaFhMSkhoV2NRdlEyUlVoZjd6THovU0Y3L2w5QTVJZFZk?= =?utf-8?B?RkI0amNBdnRvNkVSUTg3UU42Qk9USHhqZngxb2F6WFVHak5aaGhuZURlR0Rn?= =?utf-8?B?SmFFTnphVVZOWXB3Y0NQb0pPMldnZjlpcHJsSE5zdk5KeEJvOGYwbWJWSitz?= =?utf-8?B?TEY4MjBZR3BCd3ZQcm9TYVQrSGFpSlVJVGtzOXhxVWEwM2pRUE1McXRPMUdy?= =?utf-8?B?WGY4dXh2Vno0ODV5bytuS20zR1BWQksraVRyUnZGOWtRNWg1MFpoUkxlSi9F?= =?utf-8?B?ZWRoY1B1VmhyS0ZLcElsaGQ0UytZSnRSNDFWbDl3QVNtWlQ2QzNhU2xRUWk5?= =?utf-8?B?U05zKytaa2xheWdKVWUySEU0OC90blAxeWpZQ3BidHZFb2M5TmI0Y2gxQ1Qr?= =?utf-8?B?ejN0dysydm1wYm16K3hNNjdlZmVUYmZuUDJubDV1SUs4cytQc3g1ODJEVG9M?= =?utf-8?B?MlN0eTc1T3JzdzNacitvK1lZMTBxZURQU0UzNkRnVWRIcTJ1Zzg4bW5yWjlN?= =?utf-8?Q?x6DYHOaKmQGVk=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: 0115d8b3-ab05-4db9-3b2b-08d8be1b19f8 X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Jan 2021 14:44:48.0838 (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: 32ksX6m3Qxqz1a47KIZ6XYcHDgvROwU11hyVcCho0mVpKRxQAIV31HzfEndM6ivsvqkMilWRaDHC7BCwlfhH/A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR11MB2555 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 a0ByZWRoYXQuY29tPg0KPiBTZW50OiBUaHVyc2RheSwgSmFudWFyeSAyMSwgMjAyMSAxMDozOCBQ TQ0KPiBUbzogZGV2ZWxAZWRrMi5ncm91cHMuaW87IFplbmcsIFN0YXIgPHN0YXIuemVuZ0BpbnRl bC5jb20+DQo+IENjOiBEb25nLCBFcmljIDxlcmljLmRvbmdAaW50ZWwuY29tPjsgTmksIFJheSA8 cmF5Lm5pQGludGVsLmNvbT4NCj4gU3ViamVjdDogUmU6IFtlZGsyLWRldmVsXSBbUEFUQ0hdIFVl ZmlDcHVQa2cgUmVnaXN0ZXJDcHVGZWF0dXJlc0xpYjoNCj4gTnVtYmVyT2ZDcHVzIG1heSBiZSB1 bmluaXRpYWxpemVkDQo+IA0KPiBPbiAwMS8yMS8yMSAxMDozOSwgWmVuZywgU3RhciB3cm90ZToN Cj4gPiBOdW1iZXJPZkNwdXMgbG9jYWwgdmFyaWFibGUgaW4gR2V0QWNwaUNwdURhdGEgd2lsbCBi ZSB1bmluaXRpYWxpemVkDQo+ID4gd2hlbiBDcHVTM0RhdGFEeGUgcnVucyBiZWZvcmUgRHhlUmVn aXN0ZXJDcHVGZWF0dXJlc0xpYiAobGlua2VkIGJ5DQo+ID4gQ3B1RmVhdHVyZ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