From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id B0246941026 for ; Fri, 24 Nov 2023 03:45:16 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=tH7ug7GjilPFuQv62FserHYJDjcmaPbeRTgdjIO9wCY=; c=relaxed/simple; d=groups.io; h=ARC-Seal:ARC-Message-Signature:ARC-Authentication-Results:From:To:Subject:Thread-Topic:Thread-Index:Date:Message-ID:References:In-Reply-To:Accept-Language:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Language:Content-Type:Content-Transfer-Encoding; s=20140610; t=1700797515; v=1; b=KTWrldbvN2Oaxj5dafqZ+DO6ZSecuoOnoxiieQBq/LltzsPq+LZudBI1ZS1GOoYipE8vmfc5 Ua2qlCRj4XgQ/dWLUaNutYmlzACqmQG0ATtIdm8zaSU9t6KKY8XO1gYaFkCte0LNEvac7uq3qEI FV2fWGZn1vPan5PPASBqdRs0= X-Received: by 127.0.0.2 with SMTP id 837VYY7687511x3017twqBJB; Thu, 23 Nov 2023 19:45:15 -0800 X-Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.10]) by mx.groups.io with SMTP id smtpd.web10.128898.1700797514298593600 for ; Thu, 23 Nov 2023 19:45:14 -0800 X-IronPort-AV: E=McAfee;i="6600,9927,10902"; a="5576556" X-IronPort-AV: E=Sophos;i="6.04,223,1695711600"; d="scan'208";a="5576556" X-Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orvoesa102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Nov 2023 19:45:14 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10902"; a="858247733" X-IronPort-AV: E=Sophos;i="6.04,223,1695711600"; d="scan'208";a="858247733" X-Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by FMSMGA003.fm.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 23 Nov 2023 19:45:13 -0800 X-Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.34; Thu, 23 Nov 2023 19:45:13 -0800 X-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.2507.34 via Frontend Transport; Thu, 23 Nov 2023 19:45:13 -0800 X-Received: from NAM11-DM6-obe.outbound.protection.outlook.com (104.47.57.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.2507.34; Thu, 23 Nov 2023 19:45:12 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NjpfYssU9x0QYSsfV0T9kpXefTLztZUVl6MAkh2ubs6cJYOZte5TyxUTP60Zn18WGeTMhM24f3CBM6bSP6KB4Ucoe1qY5fFiWPC/dsgLQ9QSZnxKqIV2rcBhfCj4o/+SglfSEOYRkJXoGdz8qlnnIQ7hXRNeJyi3eLa67o4I4eV0D3gbyrgnmYI7GBxWzPPzm+zwWMCtk7YOUYpoAx3/33RObUYkvhyTAZxzfSrpBWmE6j0ADXB9PgrOfm606qkyq7aW2+F5xU+AidowZrl/Lz9r/G2wBd8hvp6UFezKDpw6S1nrT2ZP85jfDIvjgUyc11JUepmv27Y11WUekjBepw== 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=IFlOyEUZxR9D2tMJv0+Gv3gMKklK3pKWnUlpU75ZNEI=; b=MCZe3hXMLWHFYJTWrLyATnTRv36zoX5ws3KbOwwYhRXoERuwhD0R78TdOrVKEayd6eAZ5ZQAgUqzvbvvcQTEhM1hdwRSbYqx2eLnPJxfppegylI3QPwD0xb2BxK0QrMi6QojVwDHGScOBaU+OV3z5eAjS0YCDerZryfsYIuCqJisw3GHESSqtQReaz2pfby4IKl7YX6HI8uY32EZX+pxKo6pmqVZ/xIZll/6U3pdn+WDjQ3P02cN6B4oM6oc3qZnhdQRULoD87LAhOlj28jolFNI5cMcTBE2phZVAGUC1KoCLa0ED6SS3G9a0y7m4HwwdJml56CyoB/tgvgrnLZndA== 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 X-Received: from MN6PR11MB8244.namprd11.prod.outlook.com (2603:10b6:208:470::14) by CO1PR11MB4802.namprd11.prod.outlook.com (2603:10b6:303:94::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7025.20; Fri, 24 Nov 2023 03:45:10 +0000 X-Received: from MN6PR11MB8244.namprd11.prod.outlook.com ([fe80::b614:1f5e:8b0c:9858]) by MN6PR11MB8244.namprd11.prod.outlook.com ([fe80::b614:1f5e:8b0c:9858%4]) with mapi id 15.20.7025.020; Fri, 24 Nov 2023 03:45:02 +0000 From: "Ni, Ray" To: "devel@edk2.groups.io" , "Xie, Yuanhao" Subject: Re: [edk2-devel] [Patch V4 0/3] UefiCpuPkg/MpInitLib: Eliminate redundant microcode loading in DXE. Thread-Topic: [edk2-devel] [Patch V4 0/3] UefiCpuPkg/MpInitLib: Eliminate redundant microcode loading in DXE. Thread-Index: AQHaHoHj2ORHRTSu7UW9RBry07lvRrCI0/nw Date: Fri, 24 Nov 2023 03:45:02 +0000 Message-ID: References: <20231124025635.3629-1-yuanhao.xie@intel.com> In-Reply-To: <20231124025635.3629-1-yuanhao.xie@intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: MN6PR11MB8244:EE_|CO1PR11MB4802:EE_ x-ms-office365-filtering-correlation-id: 07759a3f-dc49-4fe8-7f7c-08dbec9fbd7c x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam-message-info: J/T1rNssxYfGSiCjYsG/01fIRaAIOHxf5Aq4Wq43dwJUJb2xoVELvq11R71R4fyEk/NyeDDrSb4+ixD3NObY9FaMLE9p7Rgp6qzFRGtuzdcpflbzBnX2avVxzL14ZLaIjpm0l/4yEAZHOu379ES9JEdr+vy/t9E9drwmkdF4hk8tZJZO+8/AzqQa5Yq1HucBQjlZjt5HpgRDRE1eio/F2F4Z0wDjJjdF24Y6uPxKJc7mp/+riefsT1tANdqHKwxQ7ygGIFWsSNtcyLSKl+UtiKmh/UfqTU9DjMTE+hnUX7ynkqh8hQ3rxYxvzCkKyVB3wyysGuFeNivztWCl6nGFnua+xbejHJwqwqYbUySZ9vR45pZt1ru4a2WM8SE+pnMKT28iooXK1woG42UGXtE/sx/gsL32qT1UD2vF7mDhmOwgoZ/LwFKmvaG5rAVPgmnCCRpTCtrrSF4V7auOvpcNyNp0OfC3ovUJaabnCuwTyAHwo84oiwuLHhsZP7KOWlV6X97gDDk7TSVWWkYyrKS1bOtzCC848Ku6ALlPVFwSEi4XIh0I8GNP3t9fDC1HacDVLt58ZUmh3hW7BANgbJa8c/bHOvp9kWmKPyttJvgP/TC8H4iN4PBp8cpj5exlt7XKP7GVJJhNNMZ7oCziPPvhvw== x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?aBYAaMBjrSk58t+jVFcGActtsfdlIbrwgP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-ascii?Q?ss/sbSkazhSPt8U/w4Kmpg5IzONqeM4xlgDRQo2T1SZR9MiIFE4MBoPI87kH?= =?us-ascii?Q?m0ykF14wez/kSvKZADnrlTei5RR+K21samuYhxrPwdUXwV0nqW1odBZJMc3B?= =?us-ascii?Q?TRyEGqqeWDTryyQ00hj5FVF+qRb7ExsAMYu7KOXjdIhl0I2rkq9vDMCLA+gh?= =?us-ascii?Q?TlquT52PIlGRaEngTbPxu4hGNBWKmYwi78gOaW8D7VEy1Y8Xvtc2QYUhkbxf?= =?us-ascii?Q?pyl3MrGf03E6CEDRfQtmU0ZNi8gEfrkn24JoVF5M/wNVKLu/n6nY3kI1Ks87?= =?us-ascii?Q?BgGEeCHnEl+YdDvNt57yCOy62yq8AVxfGb7bmajQyhtsfUriQhdb8BwZtxJT?= =?us-ascii?Q?XXVOKqlnWjgGZKfn80BBox7UEDkHZOxFnvnFJgxg71PMbiqQ9kRUcxQMFXFH?= =?us-ascii?Q?TZbegeV/ozNlp3F8DxpM8vJv9CgwxjCG/XSz7oCfF7gTx3d6IwSmoIs2w1YW?= =?us-ascii?Q?xiaJZ05ZWelINWcaMO2dVBfOZV/6z2MgmOQ7i6cRlKJRFgx7eT7kPoQerhWl?= =?us-ascii?Q?T7vSzFZfs7ILcCvXe+JjC6Gdrf0GWPx8hH1CxGf0xm7Kg9liNp6B+1/2Jdhj?= =?us-ascii?Q?F+38Dzgn6I2UzfWdvxVJFMy2FAGxgKVmldJe95wOranaNHDwOSPq13UV0e4h?= =?us-ascii?Q?A/GoXx0XXj1Fuihlwuk=3D?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MN6PR11MB8244.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 07759a3f-dc49-4fe8-7f7c-08dbec9fbd7c X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Nov 2023 03:45:02.5613 (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: I3Z9F69dNW3p5fUYKBd4TqQuOUcOKdAQWit8ZVjY3HgxuWoV7O0dDLW5CSue7ADiP4KHpRJED+l/qbatQR3jnw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO1PR11MB4802 X-OriginatorOrg: intel.com Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,ray.ni@intel.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: ppTG0dAgjc4w9x0VYTZUqvD6x7686176AA= Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=KTWrldbv; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=intel.com (policy=none); spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io Reviewed-by: Ray Ni Thanks, Ray > -----Original Message----- > From: devel@edk2.groups.io On Behalf Of Yuanhao > Xie > Sent: Friday, November 24, 2023 10:57 AM > To: devel@edk2.groups.io > Cc: Xie, Yuanhao > Subject: [edk2-devel] [Patch V4 0/3] UefiCpuPkg/MpInitLib: Eliminate > redundant microcode loading in DXE. >=20 > The DXE stage's Microcode loading process has been eliminated. > Store BSP's MTRR setting only when CpuCount>1. > Extract Dump Microcode Revision as a function >=20 > Compare with V3, this version updates the comments, > Move GetMicrocodePatchInfoFromHob removal from patch 3 to patch 1 >=20 > on > xieyuanh (3): > UefiCpuPkg/MpInitLib: Eliminate redundant microcode loading in DXE. > UefiCpuPkg/MpInitLib: Store MTRRs settings only when CpuCount>1 > UefiCpuPkg/MpInitLib: Extract Dump Microcode Revision as function. >=20 > UefiCpuPkg/Library/MpInitLib/Microcode.c | 85 > +++++++++++++++++++++++++++++++++++++++----------------------------------= ---- > -------- > UefiCpuPkg/Library/MpInitLib/MpLib.c | 81 > ++++++++++++++++++++++++++++++++-----------------------------------------= -------- > UefiCpuPkg/Library/MpInitLib/MpLib.h | 31 > ++++++++++--------------------- > 3 files changed, 81 insertions(+), 116 deletions(-) >=20 > -- > 2.39.1.windows.1 >=20 >=20 >=20 >=20 >=20 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#111693): https://edk2.groups.io/g/devel/message/111693 Mute This Topic: https://groups.io/mt/102775770/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/leave/12367111/7686176/19134562= 12/xyzzy [rebecca@openfw.io] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-