From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mx.groups.io with SMTP id smtpd.web11.5816.1652234443257197066 for ; Tue, 10 May 2022 19:00:46 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=Z5Urzn+W; spf=pass (domain: intel.com, ip: 192.55.52.88, mailfrom: min.m.xu@intel.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1652234443; x=1683770443; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=GFEjecPmUC/w2pv5Md7Y0jOqQeVtp/WmVFjD2bAsxsY=; b=Z5Urzn+WhvB2j9GOsaH7/+ZxwMB2RiyDCZfCIk/5IXm8pt2MtTIc1ZM5 iG7KMwg/Ho/pRWRM7i3ze9nh2b/V8VEQb16TWTgSVI251qCgpHod6PM65 Cfa0C8h4eOQR5ojn10Vm7GnJ2+HwirFmXor9eM5eQNJ7lD3XSdwoTubPL ljqV/q21d3RKYgXaP5jGsktGG/pYWZhXzFSJCVVShw0K7U4zV63VlpCsI biqEPXZnsWl12q9JbxpLV2f5Hwy58hdFUiQUcaSPI5zbFT1Jy1CFcZ6Km 4WvAHVdSvoOIVYUpyME6euDaCz9zVuT2XEGx1fIWk5Dj/TZdn4mKaeI5X w==; X-IronPort-AV: E=McAfee;i="6400,9594,10343"; a="294792238" X-IronPort-AV: E=Sophos;i="5.91,215,1647327600"; d="scan'208";a="294792238" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 May 2022 19:00:34 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,215,1647327600"; d="scan'208";a="670158026" Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by fmsmga002.fm.intel.com with ESMTP; 10 May 2022 19:00:34 -0700 Received: from orsmsx602.amr.corp.intel.com (10.22.229.15) by ORSMSX603.amr.corp.intel.com (10.22.229.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27; Tue, 10 May 2022 19:00:33 -0700 Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) by orsmsx602.amr.corp.intel.com (10.22.229.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27 via Frontend Transport; Tue, 10 May 2022 19:00:33 -0700 Received: from NAM12-DM6-obe.outbound.protection.outlook.com (104.47.59.175) by edgegateway.intel.com (134.134.137.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2308.27; Tue, 10 May 2022 19:00:33 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nwU3FtpbMTrtQ4mEl4dSbX3AJQYybJav9OIJWsKWXSyhUqIzEqrdCfqZeB4ZRchTv6sZerNBqDAvgdEgVYZ6ghTzAVzTsXO6p5DGNmBSZpcQZs14l7wbfIFQrlNAyBIpivw3FG09OVSxZn17UNXw3Z1KWp+ZdLcS9ERUWIGc30z6purs7xEYofXuwRoDTASDEXSwe6WssVheF8el2rnpvgb4s9YEGet+2tBBhevQsenMC1gox6qdbHXRa2ZrXjoGLzpcbM/wvWHpN6ecp8UeQtdaSkx7AiKFkIGBjzsebz23zhn9nnB97yX6ZZe4Tyy5TzAC/VRDb22/yvnyELJvLw== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=GFEjecPmUC/w2pv5Md7Y0jOqQeVtp/WmVFjD2bAsxsY=; b=ayNlUtLkWPMleU/PQM0wKVUV+HHetzDv/veN5Bbv9UWKyLH31XLjMrkBMK3jXj9UUjCQAC/tQ4AUzZBUMASRN2nXl6y+oIry7QzNrnGEyHN7r8C/iOnnctVeelyYiOmkY6lAlHbqP/Bi0RFq0Qtcx+FvNSQ5vWY7UqU7NCNvI7xqiCalOU+Cs8WhehI1M3WlvKRhmwAllDdmsam7gnspfik9g0hVybKFMEY6yPySjFyl09ZHQ0YiH1FQexu+hI3Lz5PggAJCRrd6snm8IbARpb5Z6NQ5NNV3z7br6ctwzztOJYCuqkt9O438mZoIflpOT6DCCRfBznPRhUooEP6BYQ== 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 Received: from PH0PR11MB5064.namprd11.prod.outlook.com (2603:10b6:510:3b::15) by BN9PR11MB5532.namprd11.prod.outlook.com (2603:10b6:408:105::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5227.20; Wed, 11 May 2022 02:00:31 +0000 Received: from PH0PR11MB5064.namprd11.prod.outlook.com ([fe80::1844:3fca:639e:7c56]) by PH0PR11MB5064.namprd11.prod.outlook.com ([fe80::1844:3fca:639e:7c56%6]) with mapi id 15.20.5227.023; Wed, 11 May 2022 02:00:31 +0000 From: "Min Xu" To: Tom Lendacky , "devel@edk2.groups.io" , "Ni, Ray" CC: "Yao, Jiewen" , Gerd Hoffmann , Anthony Perard , Julien Grall , "Dong, Eric" Subject: Re: [edk2-devel] [PATCH V7 36/37] UefiCpuPkg: Setting initial-count register as the last step Thread-Topic: [edk2-devel] [PATCH V7 36/37] UefiCpuPkg: Setting initial-count register as the last step Thread-Index: AQHYLHQQ1VFm9pNOdUOhtuRZI37TdK0ZAJsAgABTFyA= Date: Wed, 11 May 2022 02:00:31 +0000 Message-ID: References: <2d6f5751-e7de-3c1d-3985-849a9ae16462@amd.com> In-Reply-To: <2d6f5751-e7de-3c1d-3985-849a9ae16462@amd.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-reaction: no-action dlp-version: 11.6.401.20 authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 853273d3-297c-4681-2261-08da32f207b8 x-ms-traffictypediagnostic: BN9PR11MB5532:EE_ x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: f0c3xIZSxqPdt3uUNvRFMYTpK7fpwnHPVJqiIobC5O8up1xEkRxj0j4qs23yO5CtF3OU9myQDJ5zbZdd05mbozaJqpJt647/8aBub7nSE0jr++Nq1F760jMAZab4nNPT8RGkJraFCze6/NHLNJOVZLpqse7Eo/5y5RTWk1DjPCG4El9E1iA/rZ+OpnaPwOOgKU7Vvb63wMeV4zpTLQPqC9aqTtK8jcGRhj2XrjJ9Wf8HNbvUGGUN/45WMO1uMveuBeACggt6jp1TXxfdg7oUdkBayr1PSVVCoFCZXzUzVJkJonGLe/uNnv1gXIaPwzHwK9mSaolcP0VOIEFD9RDLqWHRKuk8hQFBASboN9o9aNwi54qca4zoFay5WD1hJcc/qSMX4hbeLMoAjM0BZLPIiyJa1vP7lHr9vftVRf8/pDGSLIntn+ZZMUAcXPGWjNrm6UXkLfqmM8CWvbor4cEcDTNQrjkQeCccWKPYcang6opgP4dmwep4v/ogceYY6CgApeSKDHk70216pXeBY1A+jc2PzYeKiblwEClhOg82wftSvyVJL6wkWj9LYHxQEF1NO+VwT+/gOjj4NYVo/P1anagzEAQe3bkA9217z3xq6bHirkYLinv7aJFClgGjzf+tYDXuGZdEnwWHiC9yJFGJj1CIzoI5LVZgido6kzVSWl3qFC4C+vo2ZfLkyH+1hp/gL1tly/JiX146cfZzWqCesJWm3MoIsILKL3Dyd2jTf9qg13OKYD03dnUAAWA2LgDMqFxtS/HWwXDjmuPz92/wmnUy+qvBXdAuQE07qjVmg68= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PH0PR11MB5064.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230001)(366004)(64756008)(316002)(66446008)(52536014)(54906003)(66946007)(86362001)(66476007)(38070700005)(4326008)(8936002)(6636002)(107886003)(66556008)(110136005)(966005)(82960400001)(122000001)(9686003)(53546011)(6506007)(26005)(7696005)(71200400001)(508600001)(38100700002)(2906002)(83380400001)(55016003)(33656002)(5660300002)(186003)(8676002)(76116006);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?TzBFdDFBdjZwMEE1L1hMOGNuRGhYZXEvaEs0R3owWGY0SDBIMVBTbWQvSVA3?= =?utf-8?B?NTRsSloxS01hWHdORDBVclNWZW9OUW81NlpTbG1OTUJOcVhvNHJYYS9IdGVE?= =?utf-8?B?OVVvZFVsSUFTQ0hVYW5COENwbEpZR1NQY1YxN3gwOUdoK1RMWHlVcDN0R2pF?= =?utf-8?B?TjdOdkFPcWF4Q0d5NXNycjF0ZklmU3R4UWVseEZLZ045a0dCbVpuVFhlMTF5?= =?utf-8?B?TnR2d2VLWkh6TFdDdUNWTXRUekFFZkp6Mms4di8xbm56UmtETDRjTk1LeWFG?= =?utf-8?B?bW9aVkwraFJ3NGwwcy9CK0lUeVYyVWNiYnhVdmNvTUh5Q2xCbFlTcmJ2MFFD?= =?utf-8?B?ZkgvcWRLNlFOd0M1OU50eTd4MnZXbG9aSkxwUzFHRlREdkFCQzI2c2xBU0dS?= =?utf-8?B?ZldDMVdEOWpzaVQyanhibXN2Qk5oYWIzYkx6TUo4ZTNidTI2RHVuemNsSHFy?= =?utf-8?B?Qm1yVkxRL2YrdXJxe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mZjd1Ew?= =?utf-8?B?S2lIU0RyUVF0MkpOcnBodWZKbVVjbDBNVEQwSGNRVldOODFqaTI4dz09?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: PH0PR11MB5064.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 853273d3-297c-4681-2261-08da32f207b8 X-MS-Exchange-CrossTenant-originalarrivaltime: 11 May 2022 02:00:31.8860 (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: siR1DWC4Q3ERf8I/zK+0l0gjVA//ka6o8uQ4P6PKZWgO3ANtjjifFgfj1gDpcyhMIJCg4O1l4hCR2jvS6V99lQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN9PR11MB5532 Return-Path: min.m.xu@intel.com X-OriginatorOrg: intel.com Content-Language: en-US Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 T24gTWF5IDExLCAyMDIyIDQ6MzAgQU0sIFRvbSBMZW5kYWNreSB3cm90ZToNCj4gT24gMi8yOC8y MiAwMToyMSwgTWluIFh1IHZpYSBncm91cHMuaW8gd3JvdGU6DQo+ID4gQlo6IGh0dHBzOi8vYnVn emlsbGEudGlhbm9jb3JlLm9yZy9zaG93X2J1Zy5jZ2k/aWQ9MzcxMQ0KPiA+DQo+ID4gUGVyIFNE TSwgY2hhbmdpbmcgdGhlIG1vZGUgb2YgQVBJQyB0aW1lciAoZnJvbSBvbmUtc2hvdCB0byBwZXJp b2RpYyBvcg0KPiA+IHZpY2UgdmVyc2EpIGJ5IHdyaXRpbmcgdG8gdGhlIHRpbWVyIExWVCBlbnRy eSBkb2VzIG5vdCBzdGFydCB0aGUgdGltZXIuDQo+ID4gVG8gc3RhcnQgdGhlIHRpbWVyLCBpd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