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.web08.15919.1667453877740586469 for ; Wed, 02 Nov 2022 22:37:57 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=ITZOyo6T; spf=pass (domain: intel.com, ip: 192.55.52.93, mailfrom: yuanhao.xie@intel.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1667453877; x=1698989877; h=from:to:subject:date:message-id:mime-version: content-transfer-encoding; bh=xH2ftSJJhh4awy5pz1GGvB4qfOLvvcC6Zz4Qj35b7jQ=; b=ITZOyo6TywsPpUsVjX27FDCUY/XGyeWS6+OjSorUYdRsIZ+sYl7bL7k0 wk1Uaazgq2aZkjsvOBWI9Wqkg039trsRMgkrGuI2Qm3rJcyL4CCmLEHM0 dwvooz+Ln1y+x1h7+EZOAeZBR1R3KWWV3alH4iHmkCfod0dWW3+WX4u+F l5GRfae5gWJaTfyjmyPuEoD77zh4xiHpGIJWcig954OLtz83rKV/CwqwY FYQRGg8buz6uPcFCJX7pSI5X69TDWYzU/4IKnsMeoA9mzIiQ/pc8SR5kH UyHa1pfnY49/HZKaEpaeI4yL3eVwk4lP1Dudw1fP3zNqrgeH1/zBAWyWD w==; X-IronPort-AV: E=McAfee;i="6500,9779,10519"; a="307207580" X-IronPort-AV: E=Sophos;i="5.95,235,1661842800"; d="scan'208";a="307207580" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Nov 2022 22:37:56 -0700 X-IronPort-AV: E=McAfee;i="6500,9779,10519"; a="963805666" X-IronPort-AV: E=Sophos;i="5.95,235,1661842800"; d="scan'208";a="963805666" Received: from shwdeopenlab705.ccr.corp.intel.com ([10.239.56.33]) by fmsmga005-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Nov 2022 22:37:55 -0700 From: "Yuanhao Xie" To: devel@edk2.groups.io Subject: [PATCH 0/3] Remove the redundent Mp initialization Date: Thu, 3 Nov 2022 13:37:44 +0800 Message-Id: <20221103053747.289-1-yuanhao.xie@intel.com> X-Mailer: git-send-email 2.36.1.windows.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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. Yuanhao (3): UefiCpuPkg: Remove the duplicate loading of microcode in DXE stage UefiCpuPkg: Skip Mp initialization in DXE phase UefiCpuPkg: Removed the unused MpLock UefiCpuPkg/Library/MpInitLib/MpLib.c | 177 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---------------------------------------------------- UefiCpuPkg/Library/MpInitLib/MpLib.h | 2 +- 2 files changed, 126 insertions(+), 53 deletions(-) -- 2.36.1.windows.1