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 64A8E74004C for ; Wed, 20 Mar 2024 08:43:03 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=Qy1L1r6T2C6HjnGkbIq7Q1CFHWCx4Uasg5frH7YsgEY=; c=relaxed/simple; d=groups.io; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Resent-Date:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Transfer-Encoding; s=20240206; t=1710924182; v=1; b=WOfVSDG3xy5DNPftmtkOvPrcmLCkaRll1eEmLI9oUQmFBM8Ug2Yn5C5/WvX5zcdlvMCN/ML4 eUigLqJm2DQbbyTMZBVBTF6f9htMH/FSBP0T7Ok6AsxWJr09bQJWZnUEW88vmvsYvzQkjD2DJ1o m30wyWuF2QLT0EIc0EvCr6gDQwYC/zBHVZ9q2Ai61PJwQUyzx9duORF9JhElctzd/ptjVb7nRcE MFPJnUeEY3ZUAbtjL4hM4S158ot0ya+Nn3CIZRHUq/dJwZLFZQBM/UW9lT4nXEPtleKlOD1JmSJ 3vDjcVCYPsbXVSNDFuw3hrh4r56oQEqY5Cshh3I5uYDBg== X-Received: by 127.0.0.2 with SMTP id MLXQYY7687511xGTfmgPnviJ; Wed, 20 Mar 2024 01:43:02 -0700 X-Received: from mail.loongson.cn (mail.loongson.cn [114.242.206.163]) by mx.groups.io with SMTP id smtpd.web11.39139.1710924178358435211 for ; Wed, 20 Mar 2024 01:43:01 -0700 X-Received: from loongson.cn (unknown [10.2.9.245]) by gateway (Coremail) with SMTP id _____8DxWPCOofpl+iwbAA--.64616S3; Wed, 20 Mar 2024 16:42:54 +0800 (CST) X-Received: from code-server.gen (unknown [10.2.9.245]) by localhost.localdomain (Coremail) with SMTP id AQAAf8CxZMyLofpl4D9eAA--.57598S2; Wed, 20 Mar 2024 16:42:51 +0800 (CST) From: "Chao Li" To: devel@edk2.groups.io Cc: Ray Ni , Rahul Kumar , Gerd Hoffmann Subject: [edk2-devel] [PATCH v2 03/13] UefiCpuPkg/MpInitLib: Reorder the INF files alphabetically Date: Wed, 20 Mar 2024 16:42:49 +0800 Message-Id: <20240320084249.276127-1-lichao@loongson.cn> In-Reply-To: <20240320084152.268323-1-lichao@loongson.cn> References: <20240320084152.268323-1-lichao@loongson.cn> MIME-Version: 1.0 X-CM-TRANSID: AQAAf8CxZMyLofpl4D9eAA--.57598S2 X-CM-SenderInfo: xolfxt3r6o00pqjv00gofq/1tbiAQACCGX5TOgKgAAMs1 X-Coremail-Antispam: 1Uk129KBjDUn29KB7ZKAUJUUUUU529EdanIXcx71UUUUU7KY7 ZEXasCq-sGcSsGvfJ3UbIjqfuFe4nvWSU5nxnvy29KBjDU0xBIdaVrnUUvcSsGvfC2Kfnx nUUI43ZEXa7xR_UUUUUUUUU== 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 Resent-Date: Wed, 20 Mar 2024 01:43:01 -0700 Reply-To: devel@edk2.groups.io,lichao@loongson.cn List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: kGk7L5xfYRRTviakVWtnG7gEx7686176AA= Content-Transfer-Encoding: 8bit X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20240206 header.b=WOfVSDG3; dmarc=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 Some of the order is not in alphabetical, reorder. BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=4726 Cc: Ray Ni Cc: Rahul Kumar Cc: Gerd Hoffmann Signed-off-by: Chao Li Acked-by: Gerd Hoffmann --- UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf | 29 ++++++++++--------- UefiCpuPkg/Library/MpInitLib/PeiMpInitLib.inf | 25 ++++++++-------- 2 files changed, 28 insertions(+), 26 deletions(-) diff --git a/UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf b/UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf index 55e46d4a1f..7ef4c0d4db 100644 --- a/UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf +++ b/UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf @@ -23,21 +23,21 @@ [Defines] [Sources.IA32] Ia32/AmdSev.c - Ia32/MpFuncs.nasm Ia32/CreatePageTable.c + Ia32/MpFuncs.nasm [Sources.X64] X64/AmdSev.c - X64/MpFuncs.nasm X64/CreatePageTable.c + X64/MpFuncs.nasm [Sources.common] AmdSev.c - MpEqu.inc DxeMpLib.c + Microcode.c + MpEqu.inc MpLib.c MpLib.h - Microcode.c MpHandOff.h [Packages] @@ -47,17 +47,18 @@ [Packages] [LibraryClasses] BaseLib + CcExitLib + CpuLib + DebugAgentLib + HobLib LocalApicLib MemoryAllocationLib - HobLib + MicrocodeLib MtrrLib - CpuLib - UefiBootServicesTableLib - DebugAgentLib - SynchronizationLib PcdLib - CcExitLib - MicrocodeLib + SynchronizationLib + UefiBootServicesTableLib + [LibraryClasses.X64] CpuPageTableLib @@ -70,6 +71,9 @@ [Guids] gEdkiiMicrocodePatchHobGuid ## SOMETIMES_CONSUMES ## HOB [Pcd] + gEfiMdeModulePkgTokenSpaceGuid.PcdCpuStackGuard ## CONSUMES + gEfiMdeModulePkgTokenSpaceGuid.PcdGhcbBase ## CONSUMES + gEfiMdePkgTokenSpaceGuid.PcdConfidentialComputingGuestAttr ## CONSUMES gUefiCpuPkgTokenSpaceGuid.PcdCpuMaxLogicalProcessorNumber ## CONSUMES gUefiCpuPkgTokenSpaceGuid.PcdCpuBootLogicalProcessorNumber ## CONSUMES gUefiCpuPkgTokenSpaceGuid.PcdCpuApInitTimeOutInMicroSeconds ## SOMETIMES_CONSUMES @@ -82,6 +86,3 @@ [Pcd] gUefiCpuPkgTokenSpaceGuid.PcdGhcbHypervisorFeatures ## CONSUMES gUefiCpuPkgTokenSpaceGuid.PcdSevEsWorkAreaBase ## SOMETIMES_CONSUMES gUefiCpuPkgTokenSpaceGuid.PcdFirstTimeWakeUpAPsBySipi ## CONSUMES - gEfiMdeModulePkgTokenSpaceGuid.PcdCpuStackGuard ## CONSUMES - gEfiMdeModulePkgTokenSpaceGuid.PcdGhcbBase ## CONSUMES - gEfiMdePkgTokenSpaceGuid.PcdConfidentialComputingGuestAttr ## CONSUMES diff --git a/UefiCpuPkg/Library/MpInitLib/PeiMpInitLib.inf b/UefiCpuPkg/Library/MpInitLib/PeiMpInitLib.inf index bc3d716aa9..599ca36bc2 100644 --- a/UefiCpuPkg/Library/MpInitLib/PeiMpInitLib.inf +++ b/UefiCpuPkg/Library/MpInitLib/PeiMpInitLib.inf @@ -31,31 +31,34 @@ [Sources.X64] [Sources.common] AmdSev.c + Microcode.c MpEqu.inc - PeiMpLib.c MpLib.c MpLib.h - Microcode.c MpHandOff.h + PeiMpLib.c + [Packages] MdePkg/MdePkg.dec - UefiCpuPkg/UefiCpuPkg.dec MdeModulePkg/MdeModulePkg.dec + UefiCpuPkg/UefiCpuPkg.dec [LibraryClasses] BaseLib + CcExitLib + CpuLib + HobLib LocalApicLib MemoryAllocationLib - HobLib + MicrocodeLib MtrrLib - CpuLib - SynchronizationLib - PeiServicesLib PcdLib - CcExitLib - MicrocodeLib + PeiServicesLib + SynchronizationLib [Pcd] + gEfiMdeModulePkgTokenSpaceGuid.PcdGhcbBase ## CONSUMES + gEfiMdePkgTokenSpaceGuid.PcdConfidentialComputingGuestAttr ## CONSUMES gUefiCpuPkgTokenSpaceGuid.PcdCpuMaxLogicalProcessorNumber ## CONSUMES gUefiCpuPkgTokenSpaceGuid.PcdCpuBootLogicalProcessorNumber ## CONSUMES gUefiCpuPkgTokenSpaceGuid.PcdCpuApInitTimeOutInMicroSeconds ## SOMETIMES_CONSUMES @@ -66,9 +69,7 @@ [Pcd] gUefiCpuPkgTokenSpaceGuid.PcdCpuApTargetCstate ## SOMETIMES_CONSUMES gUefiCpuPkgTokenSpaceGuid.PcdSevEsWorkAreaBase ## SOMETIMES_CONSUMES gUefiCpuPkgTokenSpaceGuid.PcdGhcbHypervisorFeatures ## CONSUMES - gUefiCpuPkgTokenSpaceGuid.PcdFirstTimeWakeUpAPsBySipi ## CONSUMES - gEfiMdeModulePkgTokenSpaceGuid.PcdGhcbBase ## CONSUMES - gEfiMdePkgTokenSpaceGuid.PcdConfidentialComputingGuestAttr ## CONSUMES + gUefiCpuPkgTokenSpaceGuid.PcdFirstTimeWakeUpAPsBySipi ## CONSUMES [Ppis] gEdkiiPeiShadowMicrocodePpiGuid ## SOMETIMES_CONSUMES -- 2.27.0 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#116919): https://edk2.groups.io/g/devel/message/116919 Mute This Topic: https://groups.io/mt/105041089/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-