From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mx.groups.io with SMTP id smtpd.web09.5861.1668434904047382034 for ; Mon, 14 Nov 2022 06:08:24 -0800 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=g+NVEBsO; spf=pass (domain: intel.com, ip: 192.55.52.93, mailfrom: ray.ni@intel.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1668434904; x=1699970904; h=from:to:subject:date:message-id:references:in-reply-to: content-transfer-encoding:mime-version; bh=Bl8+e4USLIMU248Eb/2sCzK/Zp+7ecTiFSL0nITbo9I=; b=g+NVEBsO2zxjbNGnZ1A3BKzDMhEKOPHVC4/srkZprpWC9FotqAjft+5D DqsLhwHIvBf+VpI+Jrve7gT42/utFbln2gvrc8FqQaiDwOC7UIKTLQUFA VQAL4KAntQdOcoQ4zpVK49aPASwoxzRsNd6FLMiVGdQl2i2WYlLotIWKy YNUxCBxkLtpBVLItzYIoCT/0EtD+hw1E1FUSbWZX8+5AlfcTHOlHqTQU1 M4pkqQb+z0uls10gDseNsPSvVbFrrC7iW/81fWPZUU+FkutVmYKB4imZw zwFf9VIJ1yiVULKn95FElGuS2pd4rAdYYRoQYLrQrNokSnPAK5xw5X66b A==; X-IronPort-AV: E=McAfee;i="6500,9779,10531"; a="309601784" X-IronPort-AV: E=Sophos;i="5.96,161,1665471600"; d="scan'208";a="309601784" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Nov 2022 06:08:23 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10531"; a="671570602" X-IronPort-AV: E=Sophos;i="5.96,161,1665471600"; d="scan'208";a="671570602" Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by orsmga001.jf.intel.com with ESMTP; 14 Nov 2022 06:08:23 -0800 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Mon, 14 Nov 2022 06:08:22 -0800 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31 via Frontend Transport; Mon, 14 Nov 2022 06:08:22 -0800 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (104.47.58.168) by edgegateway.intel.com (192.55.55.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2375.31; Mon, 14 Nov 2022 06:08:22 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ddZcJFNa/pNHm2rwVmq3qH642BlmsY80R5IUyy0MtkAGgJBwzzYSKWmneYXWkC+/vPlzMCzJrPgjqYifYozlFiiXJWlrp1/Lrn9zGgDxz6eRJ7TY7C/MhTP6Y8iKmNFXnpoycOFpxLu9IbYxgSVYjmBWs7JJaR6/LdxkHqtrSbiKMYcHHcyW+dTb34cD6+pByPR1E09NfGB7GzfLp9t4zn0Jzvg2BTKXJaax1C3G/Tg8byBp/ezFmVRgyoi4G48SXdk1ORb60GyPK4DJCdG2OPSWdFWO32blpVgjP45deJUD/LWTMyiYfi0WWLr3Q+LLfANk2B4smYHh/BYwOuINow== 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=vWJXODZnAtI3zbk2djEDpol4ThpJdLi7kFpfCvd8FaQ=; b=Ea3bMeSMJxHry+GrVu8gzALX6pcAtNavFvkks4xV+/LGhDAz6JFxZVPc6vg2akchYiDFEFiboVZInt4CvcaWHJRDit7NOi7ScGbojPkPHeXSkwh21Gg/BYylftPx7Fj/jM9vsP+3SP5G7iZ6buFUA8dEOdqOk3H8SO9Dcb3501Zy98Qyj09PSREbkCwhzHsEyRp8G/s8bXjUTEDmQVszCg5bc9q4Ra1lgU77uCweZnKPi3ZKxWPJi4FYmA1uXT6PDaEWcu8kPFVAqbDJA4+8OgkBzS/WbnUG/iMPszVux4E0Sw49hwy9kH9kG+FfL9DCzyLVSlHqFy+Iaxe4NM9M3w== 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 MWHPR11MB1631.namprd11.prod.outlook.com (2603:10b6:301:10::10) by SN7PR11MB6601.namprd11.prod.outlook.com (2603:10b6:806:273::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5813.13; Mon, 14 Nov 2022 14:08:20 +0000 Received: from MWHPR11MB1631.namprd11.prod.outlook.com ([fe80::2c28:e02b:3dc0:b817]) by MWHPR11MB1631.namprd11.prod.outlook.com ([fe80::2c28:e02b:3dc0:b817%12]) with mapi id 15.20.5813.017; Mon, 14 Nov 2022 14:08:20 +0000 From: "Ni, Ray" To: "devel@edk2.groups.io" , "Xie, Yuanhao" Subject: Re: [edk2-devel] [PATCH 0/3] Remove the redundent Mp initialization Thread-Topic: [edk2-devel] [PATCH 0/3] Remove the redundent Mp initialization Thread-Index: AQHY70Z2coZvyC65nEq3QtX4tI1d364+hoAA Date: Mon, 14 Nov 2022 14:08:20 +0000 Message-ID: References: <20221103053747.289-1-yuanhao.xie@intel.com> In-Reply-To: <20221103053747.289-1-yuanhao.xie@intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: MWHPR11MB1631:EE_|SN7PR11MB6601:EE_ x-ms-office365-filtering-correlation-id: 173dd8e2-9aff-435e-9371-08dac649af55 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: YTac7pzlJHv+clqRTYIno8bWypmrWMsjX1PDpcmCOM/Ahz/4L6zwG3YkZiqvQmM9i/E4CJFzpsuNfG+pV7Jrpna7vqb4AGWi91kdZ9fyFmlLuuRFniZaENRm5OQKFGFygM+mNsdBBUFffjux7+9k3nVT/jabRc5/cdCxaZ51aTLZYMsKHNAfoYwYXlSXnByc3VfXygKmesd5go9evkV2plijjN5uVyhj2QZeBIfwUUHTx3DaN9O5VfGUtOqWTAeWr7FuUILnRNtEdelE/dQksJXrpE7GjCgJO+7t1zvzV6z2h0/s8ZaiVTnbAnb2MYquo+bD2UuT65dZkvMwfEbiGOeULq8XZektSrhZzRPA/LYgtSM02f4Gf2zrXBcBvWsHrnDQNAfQyH9b1VJZr5iYXgvHwSl/WQ7IYI2D700FAB6wWgiFkUp+o/dGunRp6wq23VFncEglmyfLgm0+SwFmML+PnsfApaCvJLRliZ+EsVduUvaBTytqrj8KBjcJjNQQDG3Sd+D1Vjy+SANAMU2yl4an1yLwwgSZhric+KPcpn/1mGp66vl6yCaaPI5H+uqn+5AcdOGgXqb5q19QVTYOfsLuHb0RpoeWLciSb3dC+/NFtytxXbcnqRNguT9XlOM7ispFN8MBM7zVkI6Pna4qxzcUT8bGiZo10/y+vZy21HffiYq6/u2RvTCAIupguwAZ7kaOUKGTY1+dXdqDamG1cwgda0GWAvuocwV+z2rTEKOzCo+xiCPK5OMmap9bXWj/t/8k0TXpJbxLXzxMqeDv7Ekut9rC5Cy2zrrOKdCQYcTX/4dyJxMRQH5is9eZpIqAjrbEf0TpLZMNsUjYrnNG9Q== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:MWHPR11MB1631.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(396003)(39860400002)(376002)(366004)(346002)(136003)(451199015)(122000001)(478600001)(2906002)(86362001)(316002)(82960400001)(110136005)(6636002)(966005)(38070700005)(66946007)(66476007)(53546011)(5660300002)(52536014)(76116006)(66556008)(41300700001)(66446008)(38100700002)(186003)(64756008)(71200400001)(83380400001)(8936002)(26005)(7696005)(6506007)(55016003)(8676002)(9686003)(33656002)(66899015);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?9s3+e4UTwK1R1qsMIxjjjP29AdPuaNFrNStUiaEr0zGdSEh7IMB+MPQZC89b?= =?us-ascii?Q?3i8uS570euYUnQNRlHxoVHaTDvN+6IZtEAC6Vjxpaxipqm+gjlvHnXnnudF3?= =?us-ascii?Q?twA/LWs6w3kSyNzhK/WOgkIeMAzpri1aAP+lqE1cxeLEN/eO8+KEp89GIQjK?= =?us-ascii?Q?+OL8jfv/cD/5caJk35RCkDedrGTVifCDLGFIgQIojEIIrzSS4jOm+NrKaDqR?= =?us-ascii?Q?7ypIxuwfH4HFXVUptv4H3LrpYj+Gb/kaO/nUWXN2xURv7ViF7FnJcO+U/tAu?= =?us-ascii?Q?WQOF+rH0FMlqKLHIzlhHT8oD2zdmpSeTZ7pN2s35ZgCmb9EGxr7J0mQCWeFF?= =?us-ascii?Q?DygZUR/6+iCZgl3TFKkkwJm9VdMwQ/MP5tWOHtw5Grj16fSOHgM/3Qds5Ruj?= =?us-ascii?Q?LAQof3QxyhAsx7KQTOooQQCuCZahPyMmNBrVRtW/h9hwtAsgIVmlU99wUbhj?= =?us-ascii?Q?sZyn3o7oW7sQAw9Uc0fz2cyIWsIfMJ23AD0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vyHBSJEm42/lXenoX9+c0ovHQkZYkzjulMoPL+wqwJOga+N4XB?= =?us-ascii?Q?xtVKTgffBaxfb1+pa+VRFuxAuUqeNpZ/7DL2KGx4ISjtZnryb4VLbllF5DcV?= =?us-ascii?Q?3tkYe/4dWwfXxjUZhZ1VBPdCtdSjvTDGWvAdq0Sy3OgsWhIm0Lv8y6KTIDdV?= =?us-ascii?Q?UvEPUfmmRa4SndPtvgqkD+wd9in4OEfNTwiaza2D?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MWHPR11MB1631.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 173dd8e2-9aff-435e-9371-08dac649af55 X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Nov 2022 14:08:20.2723 (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: AS+zs+++Dloz1r1I/tSlwhhxiGjQBIr6palVAvclBcB4Y/3aL/CvbO2/tMC1DJztvmhyewVKmxnJilnRh2hsHQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN7PR11MB6601 Return-Path: ray.ni@intel.com X-OriginatorOrg: intel.com Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Ray Ni > -----Original Message----- > From: devel@edk2.groups.io On Behalf Of Yuanhao Xi= e > Sent: Thursday, November 3, 2022 1:38 PM > To: devel@edk2.groups.io > Subject: [edk2-devel] [PATCH 0/3] Remove the redundent Mp initialization >=20 > 1. Removed the duplicated loading of microcode in DXE phase. > 2. emoved repeated Mp initialization, taking into account the > different bit mode (32bit/64bit) combinations of PEI and DXE stages. > 3. Removed the unused MpLock. >=20 > Yuanhao (3): > UefiCpuPkg: Remove the duplicate loading of microcode in DXE stage > UefiCpuPkg: Skip Mp initialization in DXE phase > UefiCpuPkg: Removed the unused MpLock >=20 > UefiCpuPkg/Library/MpInitLib/MpLib.c | 177 > +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++= ++++++++++++++++++++ > ++++++++++++++++++++++++++++++++-----------------------------------------= ----------- > UefiCpuPkg/Library/MpInitLib/MpLib.h | 2 +- > 2 files changed, 126 insertions(+), 53 deletions(-) >=20 > -- > 2.36.1.windows.1 >=20 >=20 >=20 >=20 >=20