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 CFABD74003E for ; Wed, 22 Nov 2023 06:08:57 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=6YIrnL94NRtxe/cExIjHNQyAl05rWs82WNoyxOFO6Ec=; c=relaxed/simple; d=groups.io; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Transfer-Encoding; s=20140610; t=1700633336; v=1; b=q+HmTU/5b8H94oX20+AJtHsfIWA+m+3ZIv3f2ulFXe8g8Eo8MEVmtimMxxO5T9mxFY4uCAJ2 gkWvMXAa2Ba+dpBzhZreiz2ttWNmYYC/NoQW+Gn1YI0FkkSKOvW8Syct91I/KKUz78BLXmYiqp5 bGaMSIEZ0vm4lQTjqhiV+3+k= X-Received: by 127.0.0.2 with SMTP id mqdDYY7687511xUwKmHqFQzd; Tue, 21 Nov 2023 22:08:56 -0800 X-Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.151]) by mx.groups.io with SMTP id smtpd.web11.13638.1700633335895148945 for ; Tue, 21 Nov 2023 22:08:56 -0800 X-IronPort-AV: E=McAfee;i="6600,9927,10901"; a="372166231" X-IronPort-AV: E=Sophos;i="6.04,217,1695711600"; d="scan'208";a="372166231" X-Received: from fmviesa001.fm.intel.com ([10.60.135.141]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Nov 2023 22:08:55 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.04,217,1695711600"; d="scan'208";a="15129521" X-Received: from shwdeopenlab813.ccr.corp.intel.com ([10.239.55.230]) by fmviesa001.fm.intel.com with ESMTP; 21 Nov 2023 22:08:54 -0800 From: "Yuanhao Xie" To: devel@edk2.groups.io Cc: xieyuanh Subject: [edk2-devel] [Patch V3 0/3] UefiCpuPkg/MpInitLib: Eliminate redundant microcode loading in DXE. Date: Wed, 22 Nov 2023 14:08:31 +0800 Message-Id: <20231122060834.3467-1-yuanhao.xie@intel.com> MIME-Version: 1.0 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,yuanhao.xie@intel.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: WFxsTY3zspcwjA221niBxAxfx7686176AA= Content-Transfer-Encoding: 8bit X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b="q+HmTU/5"; 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 The DXE stage's Microcode loading process has been eliminated. Store BSP's MTRR setting only when CpuCount>1. Compare with V2, V3 also Extract Dump Microcode Revision as function 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. UefiCpuPkg/Library/MpInitLib/Microcode.c | 91 +++++++++++++++++++++++++++++++++++++++++++++---------------------------------------------- UefiCpuPkg/Library/MpInitLib/MpLib.c | 78 +++++++++++++++++++++++++++++------------------------------------------------- UefiCpuPkg/Library/MpInitLib/MpLib.h | 31 ++++++++++--------------------- 3 files changed, 84 insertions(+), 116 deletions(-) -- 2.39.1.windows.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#111594): https://edk2.groups.io/g/devel/message/111594 Mute This Topic: https://groups.io/mt/102744597/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-