From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail05.groups.io (mail05.groups.io [45.79.224.7]) by spool.mail.gandi.net (Postfix) with ESMTPS id 3E401AC0BA2 for ; Wed, 7 Aug 2024 06:50:35 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=pFuNVf1bUq9HT8OJDUeYgYAjZDA1mWnoi2Wx0TgUHmE=; 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:Resent-From:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Transfer-Encoding:Content-Type; s=20240206; t=1723013435; v=1; b=uXdvyT7PdJjRcTkEh1ahj0eIDBS1xG1TGDEoF7GT3sppKj6RqZWlVYsNFxgGR9KTFmVRbm3Z /ZNRF4Jg1D0TQSZToB4hZ7//82ORopaqAj/5kbqURLWs1DLwzojwb27ucPMlIVue+TS8TOhxqhb naZAluMmsblVTvLeSet7PQ5a9j3sWVweQtIdoxtRtYAlI386TQEWaXVzZyvk5sF8ovG6ilsl4FP OJfNUfx0LVmc1I3pNDzt5SQLafRfUKR/NMI/X9FXIynVioK2DmBLvhs4NPczXRTRHssT9nC+UdE sx13nWn5QarWyNR2CS08aZLNRGCMNEIX73erh4H08/Yvg== X-Received: by 127.0.0.2 with SMTP id 0pgqYY7687511xkfIOnP4WIj; Tue, 06 Aug 2024 23:50:33 -0700 X-Received: from NAM12-MW2-obe.outbound.protection.outlook.com (NAM12-MW2-obe.outbound.protection.outlook.com [40.107.244.121]) by mx.groups.io with SMTP id smtpd.web11.27789.1723013431121324156 for ; Tue, 06 Aug 2024 23:50:31 -0700 X-Received: from PH0PR01MB7287.prod.exchangelabs.com (2603:10b6:510:10a::21) by DS7PR01MB7664.prod.exchangelabs.com (2603:10b6:8:7b::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7849.13; Wed, 7 Aug 2024 06:50:29 +0000 X-Received: from PH0PR01MB7287.prod.exchangelabs.com ([fe80::fc79:e629:93aa:8b8f]) by PH0PR01MB7287.prod.exchangelabs.com ([fe80::fc79:e629:93aa:8b8f%3]) with mapi id 15.20.7807.026; Wed, 7 Aug 2024 06:50:29 +0000 From: "Nhi Pham via groups.io" To: devel@edk2.groups.io CC: quic_llindhol@quicinc.com, chuong@os.amperecomputing.com, rebecca@os.amperecomputing.com, nhi@os.amperecomputing.com Subject: [edk2-devel] [edk2-platforms][PATCH v2 5/5] Ampere/Jade: Enable IPMI SSIF Date: Wed, 7 Aug 2024 13:47:31 +0700 Message-ID: <20240807064731.4049764-6-nhi@os.amperecomputing.com> In-Reply-To: <20240807064731.4049764-1-nhi@os.amperecomputing.com> References: <20240807064731.4049764-1-nhi@os.amperecomputing.com> X-ClientProxiedBy: SG3P274CA0010.SGPP274.PROD.OUTLOOK.COM (2603:1096:4:be::22) To PH0PR01MB7287.prod.exchangelabs.com (2603:10b6:510:10a::21) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PH0PR01MB7287:EE_|DS7PR01MB7664:EE_ X-MS-Office365-Filtering-Correlation-Id: 6266bd33-ac2e-4e20-b7d7-08dcb6ad397a X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?WqeO0VHRn6bGQ7T2Y08f4uw6uhIhPo/5oWMoa1HbeZZ6sOYMgO3PEN6FVmNO?= =?us-ascii?Q?x2fJ0akAGdU0Mv5aHNWJBlpaFIL19h6QA9WvekMMuRhFjaYkJ+cA8WTQJEe2?= =?us-ascii?Q?jel6fcfvLIFSs9gf2UgfmkJiME987IaISYV9uw8tA2fstZ51lrI7hJWJYBQL?= =?us-ascii?Q?NYsK8J877h+btjuJuk8RgnNU6U5OZCYY1oje9++rhyVZVVPs4AXuOyrAQfgK?= =?us-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XQFfG8y?= =?us-ascii?Q?m5lsfsbseaiFr8DI2Q8lCy28y7PVXlKj0moMLOhOzL+o1wLnucd+AHTiPE1f?= =?us-ascii?Q?ND6o2ujUnWuoCe2qnklRuSgXgymuryfb+Bi+I71xq4N3bTf9HkeVsn5nWjV5?= =?us-ascii?Q?AZKKJPhyUIDtobwJAcjnfw6AYgYVkLhXr4jNI4TbMO2iLB0QYqkdq0S0L62P?= =?us-ascii?Q?Uxs0OBY0G8mIRH3eY6LXkk+1Zfon9FVic2l/JXZeTDzzqN8VB13aS0hQcLcn?= =?us-ascii?Q?bVNTygSjUu+Nr78UAjnVPIgI1SY2NCjN5ujiJdW1yg5KQNjF6Q=3D=3D?= X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?xvw7s2z2jtvYa4gvLdUd3sFkgQ8RU8IMXKMJHlFypr2psdO+ySBl5/MVVj5i?= =?us-ascii?Q?LNARCWjZlMCy09hW0EezSIwTO6vlp3kYpnXH2/BumY5b6gfiJpfKfuobH+4r?= =?us-ascii?Q?X05/tHqyxWoy0NDLFXe+wNLeGnD0AiNgo6vvHBhGnvaTw6IFDz4Ky9D4r5gU?= =?us-ascii?Q?IXOGa1DQUyS1+5xTI8nn3WmSMe9gu+0vfiwEBaHl+d0nA1jUExsAME4QatLf?= =?us-ascii?Q?VYT2IcVbA3z7e+Djx88yKWQqyHE+tW4JA+N8ahPdaSy3LVgeW3uBTz+7w8+/?= =?us-ascii?Q?eD2DjhMHJXJJxylnnvTv4Fle+ED/PNR4Sx7+Hp9lNVLFyBKIFvyRIkR4IBvC?= =?us-ascii?Q?adoFsTkahrdWS3XYchXo+WWY+AImFZRrW1M17xY286F58aVRXBkxdJ3kMmNA?= =?us-ascii?Q?7UQtDoaO0WGeDAV3vXeraZpFHSKeqftvskTnnwUr48PuWbhjoVnaXhnyBG0z?= =?us-ascii?Q?pGXWOLWxyJ/EY8WbPmemvBEYv15VmimfR80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jADRZg+6khdgVJ1UDpesdP8Rd0p/XLirAd3VsDMggSLDA8f+t?= =?us-ascii?Q?k8J67syiTOrV4+8qPA5N4TxFV4x0ofgHdxTGCaUn8nO6o0HSCMnUG1IKQpXW?= =?us-ascii?Q?dOZd9fKrMSc36+VTO0lJZ2kTxSaUABgWgHQb+X82LqWGMHY21bSkEJNoeI7G?= =?us-ascii?Q?jrUYUqIPhhPbmnoJRfFJrM3s8mHkLm/yUYqZTucZgRnTPwLME22OxVDq3rEa?= =?us-ascii?Q?9vmFqbogMUlA9IAZiHh7iiA=3D?= X-OriginatorOrg: os.amperecomputing.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6266bd33-ac2e-4e20-b7d7-08dcb6ad397a X-MS-Exchange-CrossTenant-AuthSource: PH0PR01MB7287.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Aug 2024 06:50:29.2321 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3bc2b170-fd94-476d-b0ce-4229bdc904a7 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: WqcJgpdq76UBa2xRt0CO4dCPbQntQUc+Uc3GDXFijhkvda48ImYfJSBuNvy+2qabrN7AQ03ypb9XB/eI5/Z3XkGNbH8gyCdQzt+2YwXpyA4= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS7PR01MB7664 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: Tue, 06 Aug 2024 23:50:31 -0700 Resent-From: nhi@os.amperecomputing.com Reply-To: devel@edk2.groups.io,nhi@os.amperecomputing.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: amzwwHdX9hO07oPiVplogHt9x7686176AA= Content-Transfer-Encoding: quoted-printable Content-Type: text/plain X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20240206 header.b=uXdvyT7P; dmarc=pass (policy=none) header.from=groups.io; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 45.79.224.7 as permitted sender) smtp.mailfrom=bounce@groups.io This adds the building of IPMI SSIf and associated modules. Signed-off-by: Nhi Pham --- Silicon/Ampere/AmpereAltraPkg/AmpereAltraPkg.dsc.inc | 23 ++++++++++++++++= ++++ Platform/Ampere/JadePkg/Jade.dsc | 2 ++ Platform/Ampere/JadePkg/Jade.fdf | 17 +++++++++++++++ 3 files changed, 42 insertions(+) diff --git a/Silicon/Ampere/AmpereAltraPkg/AmpereAltraPkg.dsc.inc b/Silicon= /Ampere/AmpereAltraPkg/AmpereAltraPkg.dsc.inc index 71a33f9ff36a..ba18e75d531d 100644 --- a/Silicon/Ampere/AmpereAltraPkg/AmpereAltraPkg.dsc.inc +++ b/Silicon/Ampere/AmpereAltraPkg/AmpereAltraPkg.dsc.inc @@ -91,6 +91,7 @@ [LibraryClasses.common] GpioLib|Silicon/Ampere/AmpereAltraPkg/Library/DwGpioLib/DwGpioLib.inf MmCommunicationLib|Silicon/Ampere/AmpereAltraPkg/Library/MmCommunication= Lib/MmCommunicationLib.inf FlashLib|Silicon/Ampere/AmpereAltraPkg/Library/FlashLib/FlashLib.inf + ManageabilityTransportHelperLib|ManageabilityPkg/Library/BaseManageabili= tyTransportHelperLib/BaseManageabilityTransportHelper.inf =20 # # ARM PL011 UART Driver @@ -211,6 +212,10 @@ [LibraryClasses.common.PEIM] ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExt= ractGuidedSectionLib.inf PeiServicesTablePointerLib|ArmPkg/Library/PeiServicesTablePointerLib/Pei= ServicesTablePointerLib.inf =20 + SmbusLib|MdePkg/Library/PeiSmbusLibSmbus2Ppi/PeiSmbusLibSmbus2Ppi.inf + IpmiLib|MdeModulePkg/Library/PeiIpmiLibIpmiPpi/PeiIpmiLibIpmiPpi.inf + ManageabilityTransportLib|ManageabilityPkg/Library/ManageabilityTranspor= tSsifLib/Pei/PeiManageabilityTransportSsif.inf + [LibraryClasses.common.SEC, LibraryClasses.common.PEIM] MemoryInitPeiLib|Silicon/Ampere/AmpereAltraPkg/Library/MemoryInitPeiLib/= MemoryInitPeiLib.inf BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf @@ -264,6 +269,12 @@ [LibraryClasses.common.DXE_RUNTIME_DRIVER] AmpereCpuLib|Silicon/Ampere/AmpereAltraPkg/Library/AmpereCpuLib/RuntimeA= mpereCpuLib.inf FlashLib|Silicon/Ampere/AmpereAltraPkg/Library/FlashLib/RuntimeFlashLib.= inf =20 +[LibraryClasses.common.UEFI_DRIVER, LibraryClasses.common.UEFI_APPLICATION= , LibraryClasses.common.DXE_RUNTIME_DRIVER, LibraryClasses.common.DXE_DRIVE= R] + SmbusLib|MdePkg/Library/DxeSmbusLib/DxeSmbusLib.inf + IpmiLib|MdeModulePkg/Library/DxeIpmiLibIpmiProtocol/DxeIpmiLibIpmiProtoc= ol.inf + IpmiCommandLib|ManageabilityPkg/Library/IpmiCommandLib/IpmiCommandLib.in= f + ManageabilityTransportLib|ManageabilityPkg/Library/ManageabilityTranspor= tSsifLib/Dxe/DxeManageabilityTransportSsif.inf + [LibraryClasses.ARM,LibraryClasses.AARCH64] # # It is not possible to prevent the ARM compiler for generic intrinsic f= unctions. @@ -547,6 +558,12 @@ [Components.common] MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.inf Silicon/Ampere/AmpereAltraPkg/Drivers/BootProgress/BootProgressPeim/Boot= ProgressPeim.inf =20 + # + # IPMI SSIF + # + Silicon/Ampere/AmpereAltraPkg/Drivers/SmbusHc/SmbusHcPei.inf + ManageabilityPkg/Universal/IpmiProtocol/Pei/IpmiPpiPei.inf + # # DXE Phase modules # @@ -689,6 +706,12 @@ [Components.common] # Silicon/Ampere/AmpereAltraPkg/Drivers/RngDxe/RngDxe.inf =20 + # + # IPMI SSIF + # + Silicon/Ampere/AmpereAltraPkg/Drivers/SmbusHc/SmbusHcDxe.inf + ManageabilityPkg/Universal/IpmiProtocol/Dxe/IpmiProtocolDxe.inf + # # Bds # diff --git a/Platform/Ampere/JadePkg/Jade.dsc b/Platform/Ampere/JadePkg/Jad= e.dsc index 1bd9f2ec1583..29d43f0d4a49 100644 --- a/Platform/Ampere/JadePkg/Jade.dsc +++ b/Platform/Ampere/JadePkg/Jade.dsc @@ -89,6 +89,8 @@ [LibraryClasses] =20 OemMiscLib|Platform/Ampere/JadePkg/Library/OemMiscLib/OemMiscLib.inf =20 + PlatformBmcReadyLib|Platform/Ampere/JadePkg/Library/PlatformBmcReadyLib/= PlatformBmcReadyLib.inf + ##########################################################################= ###### # # Specific Platform Pcds diff --git a/Platform/Ampere/JadePkg/Jade.fdf b/Platform/Ampere/JadePkg/Jad= e.fdf index 4091e4c06300..c1889f4a13dd 100644 --- a/Platform/Ampere/JadePkg/Jade.fdf +++ b/Platform/Ampere/JadePkg/Jade.fdf @@ -146,6 +146,11 @@ [FV.FVMAIN_COMPACT] INF MdeModulePkg/Universal/PCD/Pei/Pcd.inf INF MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRo= uterPei.inf INF MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.in= f + INF Silicon/Ampere/AmpereAltraPkg/Drivers/ATFHobPei/ATFHobPeim.inf + INF Silicon/Ampere/AmpereAltraPkg/Drivers/SmbusHc/SmbusHcPei.inf + INF ManageabilityPkg/Universal/IpmiProtocol/Pei/IpmiPpiPei.inf + INF Silicon/Ampere/AmpereAltraPkg/Drivers/FlashPei/FlashPei.inf + INF MdeModulePkg/Universal/Variable/Pei/VariablePei.inf } =20 INF ArmPlatformPkg/Sec/Sec.inf @@ -164,6 +169,12 @@ [FV.FVMAIN_COMPACT] INF MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.in= f INF Silicon/Ampere/AmpereAltraPkg/Drivers/PcieInitPei/PcieInitPei.inf =20 + # + # IPMI SSIF + # + INF Silicon/Ampere/AmpereAltraPkg/Drivers/SmbusHc/SmbusHcPei.inf + INF ManageabilityPkg/Universal/IpmiProtocol/Pei/IpmiPpiPei.inf + # # Print platform information before passing control into the Driver Exec= ution Environment (DXE) phase # @@ -311,6 +322,12 @@ [FV.FvMain] # INF Silicon/Ampere/AmpereAltraPkg/Drivers/RngDxe/RngDxe.inf =20 + # + # IPMI SSIF + # + INF Silicon/Ampere/AmpereAltraPkg/Drivers/SmbusHc/SmbusHcDxe.inf + INF ManageabilityPkg/Universal/IpmiProtocol/Dxe/IpmiProtocolDxe.inf + # # UEFI application (Shell Embedded Boot Loader) # --=20 2.25.1 -=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 (#120266): https://edk2.groups.io/g/devel/message/120266 Mute This Topic: https://groups.io/mt/107765357/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-