From nobody Fri May 17 19:05:50 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+99745+1787277+3901457@groups.io; arc=fail (BodyHash is different from the expected one) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1675786984979361.3346248959691; Tue, 7 Feb 2023 08:23:04 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id QEklYY1788612xSmsyUIIOZF; Tue, 07 Feb 2023 08:23:04 -0800 X-Received: from NAM12-MW2-obe.outbound.protection.outlook.com (NAM12-MW2-obe.outbound.protection.outlook.com [40.107.244.63]) by mx.groups.io with SMTP id smtpd.web11.87913.1675786983718830514 for ; Tue, 07 Feb 2023 08:23:03 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=eeXtJbLQPozlkW305JXvPo3GBsq9w424M44mJOzFnkj/bwtV0/g+lDlGXkCt8qQupDkdMm5YrHEASAadT2eA//fjq2DoerfN3b4IksmC/IuT6EKkg9x0PBgdC75idI6so08CABhbGUc64Jp+AKGqCxVC4dLJB4mDjBn3FB/dlfw/XH5zY1S2UTZ2W6VCUf9UakfZ+Io/tQTlibziKhWBNlKPn+a+uFuFtMY3nRdaWs3zVKGveULr5BO1uHRPMWgyRrpqQVyUg6UhpkUoYt6rnLvjyq2ZZTTm6MlPc5sguRSEws1OI6hjF5AK717HUYEMT8e083wf5sChYAe9GcllFQ== 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=3vw+n8dXK4CTb1VME3Fm5fvihsMqOqyLpwt5eWx+UNM=; b=JLjBLxtd1dapGpn6Uyg16ThrWJL/UAovYqcLkCtSYipTnRUmn2lkVsK7b0J7jksMe6GN3VzjiDPf1d1a5IbUsvXX5DpWts3x3byqjEjHwRcEVgsGiLvFBZwu5sY9eYqeueqNuAV/PEQ/XbyKBpOeU3ZJMeAADQKq2ArAkLDARW0+uzH6jUAG9VrIk1QKFZjxSQSobNF9b7avNIY+FYhcarRPn9EcEg4+rxmSFn8o+XSJEwTSLDjb87TFXDdYjHVlx9AT+4UV01lxQF1srSUMJWS3YAlotUGk8FRJMQSq1pAIG6rT4Sh5eUvlVhA6rXPNkeXv2tXIQ1SzDqNVG/SUfQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=edk2.groups.io smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none X-Received: from MW4P221CA0009.NAMP221.PROD.OUTLOOK.COM (2603:10b6:303:8b::14) by CY8PR12MB7707.namprd12.prod.outlook.com (2603:10b6:930:86::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6064.34; Tue, 7 Feb 2023 16:22:59 +0000 X-Received: from CO1NAM11FT037.eop-nam11.prod.protection.outlook.com (2603:10b6:303:8b:cafe::d2) by MW4P221CA0009.outlook.office365.com (2603:10b6:303:8b::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6064.36 via Frontend Transport; Tue, 7 Feb 2023 16:22:59 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+99745+1787277+3901457@groups.io; helo=mail02.groups.io; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB04.amd.com; pr=C X-Received: from SATLEXMB04.amd.com (165.204.84.17) by CO1NAM11FT037.mail.protection.outlook.com (10.13.174.91) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.6086.16 via Frontend Transport; Tue, 7 Feb 2023 16:22:59 +0000 X-Received: from TPE-L1-ABNCHANG.amd.com (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.34; Tue, 7 Feb 2023 10:22:57 -0600 From: "Chang, Abner via groups.io" To: CC: Liming Gao , Isaac Oram , Nate DeSimone , Nickle Wang , Igor Kulchytskyy , "Abdul Lateef Attar" Subject: [edk2-devel] [edk2-platforms][PATCH 1/7] IpmiFeaturePkg: Rename IpmiSubmitCommand function Date: Wed, 8 Feb 2023 00:22:30 +0800 Message-ID: <20230207162236.1406-2-abner.chang@amd.com> In-Reply-To: <20230207162236.1406-1-abner.chang@amd.com> References: <20230207162236.1406-1-abner.chang@amd.com> MIME-Version: 1.0 X-Originating-IP: [10.180.168.240] X-ClientProxiedBy: SATLEXMB03.amd.com (10.181.40.144) To SATLEXMB04.amd.com (10.181.40.145) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CO1NAM11FT037:EE_|CY8PR12MB7707:EE_ X-MS-Office365-Filtering-Correlation-Id: 672dfd9e-8e61-4a8c-b2c9-08db0927942b X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Message-Info: BT3wjttq52WkuwgOWeF74rfL7/RI278A4VVr0wbCs97WWoihtOiQwHgdNZEInfL1gvgY1tE9/5XGU8+ffTrTuVSloRdBFSl5CKq9JNGEr/EHaKYccgQGC1Iztv2eY6ukaQIvrMoC9TxScb10/bJUoChL9mJdd31Rv7b9tEVbjdPLKp/9TC2NGHA8PYpCnRTaCLXdhAhQj4aERyWA/SmNreQgxLPPGNwvokdbXcU9eX3ND4Pt2SheEQ1gZGFASqg3YwMVNdkLC8Pca0lqzFsFZCrRr0fPmvQCJIgw+EmlE7r2FctG0ayQuC7M70bf3R0ZvHtAfSr54ZhtflaB0QfkvC48wcOAeco1ScLfV1JilRJHqFKq9jMwfZhiv8uBNOukdhu/oQ2WYHXvlQsw/seVd/xDgqvfx8+lv8Wk6n9y07ubf8SymDqqjMZMTHi6B0KUkPERcV8LpLvenW9Glg5k/dFP4xY69u3q7EqXe4HIox0SVuOL06+vJYHG/ntou2cbkdvBgxzNw6+OlIC1AHTLR/Nm8ovzCoqAJVH57m/Z4+yfVbZtBTblwevjPyGvg6OQSeWbQIE0vWDHmaggvbIkAGYldsEEqLNVhyBR/43vOjVglk0rFv8PVUjTJG4XWSIB3Cj/QAHSKFrQWIqZ+9+5q8EnkfdzLnEVFgu6nWYfOtzOb4SHkUv/40F4IdsuMsiiNT5I3ARgzzDJddv1YJcX+tgnCqrH8vXb2aXwI6DkWGw= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Feb 2023 16:22:59.5604 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 672dfd9e-8e61-4a8c-b2c9-08db0927942b X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d;Ip=[165.204.84.17];Helo=[SATLEXMB04.amd.com] X-MS-Exchange-CrossTenant-AuthSource: CO1NAM11FT037.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY8PR12MB7707 Precedence: Bulk List-Unsubscribe: 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,abner.chang@amd.com X-Gm-Message-State: OteAV7IhyaXikNuPDayNAeQKx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1675786984; bh=CG3Nj4VqJmWk6VWfzAPmRW2SywysW2/f7oMRYLoEue8=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=SRnWi6w429OjShTqKgrpg1ac4IPmKFOLTxcf8kJ0y6dWk9h2LSheKEzdC/BXK8eixHd C3VtLy3m4HG1uXrmO3gjAxgUfpFxUQV5vkivOTiqwJLt2vCTbpd3ArGnIFbXnbuPTKtLZ 1SMTtNwvTNwP55h/tc0MSVgjjHFvV7WN5I8= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1675786986754100005 Content-Type: text/plain; charset="utf-8" From: Abner Chang Rename IpmiSubmitCommand to IpmiSendCommand because the naming of this function is confusing with IpmiSubmitCommand defined in IPMI Protocol. Signed-off-by: Abner Chang Cc: Liming Gao Cc: Isaac Oram Cc: Nate DeSimone Cc: Nickle Wang Cc: Igor Kulchytskyy Cc: Abdul Lateef Attar --- .../Include/Library/IpmiBaseLib.h | 2 +- .../Include/Ppi/IpmiTransportPpi.h | 2 +- .../Include/Protocol/IpmiTransportProtocol.h | 2 +- .../IpmiFeaturePkg/GenericIpmi/Dxe/IpmiInit.c | 2 +- .../GenericIpmi/Pei/PeiGenericIpmi.c | 2 +- .../GenericIpmi/Smm/SmmGenericIpmi.c | 2 +- .../Library/IpmiBaseLib/IpmiBaseLib.c | 4 +-- .../Library/IpmiBaseLibNull/IpmiBaseLibNull.c | 2 +- .../IpmiCommandLib/IpmiCommandLibNetFnApp.c | 26 +++++++++---------- .../IpmiCommandLibNetFnChassis.c | 12 ++++----- .../IpmiCommandLibNetFnStorage.c | 24 ++++++++--------- .../IpmiCommandLibNetFnTransport.c | 8 +++--- .../Library/PeiIpmiBaseLib/PeiIpmiBaseLib.c | 4 +-- .../Library/SmmIpmiBaseLib/SmmIpmiBaseLib.c | 4 +-- .../Ipmi/Library/IpmiLibKcs/IpmiLibKcs.c | 12 ++++----- 15 files changed, 54 insertions(+), 54 deletions(-) diff --git a/Features/Intel/OutOfBandManagement/IpmiFeaturePkg/Include/Libr= ary/IpmiBaseLib.h b/Features/Intel/OutOfBandManagement/IpmiFeaturePkg/Inclu= de/Library/IpmiBaseLib.h index 8487ace5ba..9e77bdad8d 100644 --- a/Features/Intel/OutOfBandManagement/IpmiFeaturePkg/Include/Library/Ipm= iBaseLib.h +++ b/Features/Intel/OutOfBandManagement/IpmiFeaturePkg/Include/Library/Ipm= iBaseLib.h @@ -37,7 +37,7 @@ InitializeIpmiBase ( =20 **/ EFI_STATUS -IpmiSubmitCommand ( +IpmiSendCommand ( IN UINT8 NetFunction, IN UINT8 Command, IN UINT8 *CommandData, diff --git a/Features/Intel/OutOfBandManagement/IpmiFeaturePkg/Include/Ppi/= IpmiTransportPpi.h b/Features/Intel/OutOfBandManagement/IpmiFeaturePkg/Incl= ude/Ppi/IpmiTransportPpi.h index 9ecb20f9bf..4bdb5db00b 100644 --- a/Features/Intel/OutOfBandManagement/IpmiFeaturePkg/Include/Ppi/IpmiTra= nsportPpi.h +++ b/Features/Intel/OutOfBandManagement/IpmiFeaturePkg/Include/Ppi/IpmiTra= nsportPpi.h @@ -59,7 +59,7 @@ EFI_STATUS // struct _PEI_IPMI_TRANSPORT_PPI { UINT64 Revision; - PEI_IPMI_SEND_COMMAND IpmiSubmitCommand; + PEI_IPMI_SEND_COMMAND IpmiSendCommand; PEI_IPMI_GET_CHANNEL_STATUS GetBmcStatus; }; =20 diff --git a/Features/Intel/OutOfBandManagement/IpmiFeaturePkg/Include/Prot= ocol/IpmiTransportProtocol.h b/Features/Intel/OutOfBandManagement/IpmiFeatu= rePkg/Include/Protocol/IpmiTransportProtocol.h index 2ee6f98e07..bb17073f06 100644 --- a/Features/Intel/OutOfBandManagement/IpmiFeaturePkg/Include/Protocol/Ip= miTransportProtocol.h +++ b/Features/Intel/OutOfBandManagement/IpmiFeaturePkg/Include/Protocol/Ip= miTransportProtocol.h @@ -63,7 +63,7 @@ EFI_STATUS // struct _IPMI_TRANSPORT { UINT64 Revision; - IPMI_SEND_COMMAND IpmiSubmitCommand; + IPMI_SEND_COMMAND IpmiSendCommand; IPMI_GET_CHANNEL_STATUS GetBmcStatus; EFI_HANDLE IpmiHandle; UINT8 CompletionCode; diff --git a/Features/Intel/OutOfBandManagement/IpmiFeaturePkg/GenericIpmi/= Dxe/IpmiInit.c b/Features/Intel/OutOfBandManagement/IpmiFeaturePkg/GenericI= pmi/Dxe/IpmiInit.c index d788b48867..f1f089b575 100644 --- a/Features/Intel/OutOfBandManagement/IpmiFeaturePkg/GenericIpmi/Dxe/Ipm= iInit.c +++ b/Features/Intel/OutOfBandManagement/IpmiFeaturePkg/GenericIpmi/Dxe/Ipm= iInit.c @@ -396,7 +396,7 @@ InitializeIpmiKcsPhysicalLayer ( mIpmiInstance->Signature =3D SM_IPMI_BMC_SIGNAT= URE; mIpmiInstance->SlaveAddress =3D BMC_SLAVE_ADDRESS; mIpmiInstance->BmcStatus =3D BMC_NOTREADY; - mIpmiInstance->IpmiTransport.IpmiSubmitCommand =3D IpmiSendCommand; + mIpmiInstance->IpmiTransport.IpmiSendCommand =3D IpmiSendCommand; mIpmiInstance->IpmiTransport.GetBmcStatus =3D IpmiGetBmcStatus; =20 // diff --git a/Features/Intel/OutOfBandManagement/IpmiFeaturePkg/GenericIpmi/= Pei/PeiGenericIpmi.c b/Features/Intel/OutOfBandManagement/IpmiFeaturePkg/Ge= nericIpmi/Pei/PeiGenericIpmi.c index 3efb772b68..e9018ca8df 100644 --- a/Features/Intel/OutOfBandManagement/IpmiFeaturePkg/GenericIpmi/Pei/Pei= GenericIpmi.c +++ b/Features/Intel/OutOfBandManagement/IpmiFeaturePkg/GenericIpmi/Pei/Pei= GenericIpmi.c @@ -76,7 +76,7 @@ PeiInitializeIpmiKcsPhysicalLayer ( mIpmiInstance->Signature =3D SM_IPMI_BMC_SIGNAT= URE; mIpmiInstance->SlaveAddress =3D BMC_SLAVE_ADDRESS; mIpmiInstance->BmcStatus =3D BMC_NOTREADY; - mIpmiInstance->IpmiTransportPpi.IpmiSubmitCommand =3D PeiIpmiSendCommand; + mIpmiInstance->IpmiTransportPpi.IpmiSendCommand =3D PeiIpmiSendCommand; mIpmiInstance->IpmiTransportPpi.GetBmcStatus =3D PeiGetIpmiBmcStatu= s; =20 mIpmiInstance->PeiIpmiBmcDataDesc.Flags =3D EFI_PEI_PPI_DESCRIPT= OR_PPI | EFI_PEI_PPI_DESCRIPTOR_TERMINATE_LIST; diff --git a/Features/Intel/OutOfBandManagement/IpmiFeaturePkg/GenericIpmi/= Smm/SmmGenericIpmi.c b/Features/Intel/OutOfBandManagement/IpmiFeaturePkg/Ge= nericIpmi/Smm/SmmGenericIpmi.c index fda215baaa..c1892f5ab8 100644 --- a/Features/Intel/OutOfBandManagement/IpmiFeaturePkg/GenericIpmi/Smm/Smm= GenericIpmi.c +++ b/Features/Intel/OutOfBandManagement/IpmiFeaturePkg/GenericIpmi/Smm/Smm= GenericIpmi.c @@ -166,7 +166,7 @@ Returns: mIpmiInstance->Signature =3D SM_IPMI_BMC_SIGNAT= URE; mIpmiInstance->SlaveAddress =3D BMC_SLAVE_ADDRESS; mIpmiInstance->BmcStatus =3D BMC_NOTREADY; - mIpmiInstance->IpmiTransport.IpmiSubmitCommand =3D IpmiSendCommand; + mIpmiInstance->IpmiTransport.IpmiSendCommand =3D IpmiSendCommand; mIpmiInstance->IpmiTransport.GetBmcStatus =3D IpmiGetBmcStatus; =20 DEBUG ((DEBUG_INFO,"IPMI: Waiting for Getting BMC DID in SMM \n")); diff --git a/Features/Intel/OutOfBandManagement/IpmiFeaturePkg/Library/Ipmi= BaseLib/IpmiBaseLib.c b/Features/Intel/OutOfBandManagement/IpmiFeaturePkg/L= ibrary/IpmiBaseLib/IpmiBaseLib.c index 5df9d861c6..01ff322d27 100644 --- a/Features/Intel/OutOfBandManagement/IpmiFeaturePkg/Library/IpmiBaseLib= /IpmiBaseLib.c +++ b/Features/Intel/OutOfBandManagement/IpmiFeaturePkg/Library/IpmiBaseLib= /IpmiBaseLib.c @@ -91,7 +91,7 @@ InitializeIpmiBase ( =20 **/ EFI_STATUS -IpmiSubmitCommand ( +IpmiSendCommand ( IN UINT8 NetFunction, IN UINT8 Command, IN UINT8 *CommandData, @@ -108,7 +108,7 @@ IpmiSubmitCommand ( return Status; } =20 - Status =3D mIpmiTransport->IpmiSubmitCommand ( + Status =3D mIpmiTransport->IpmiSendCommand ( mIpmiTransport, NetFunction, 0, diff --git a/Features/Intel/OutOfBandManagement/IpmiFeaturePkg/Library/Ipmi= BaseLibNull/IpmiBaseLibNull.c b/Features/Intel/OutOfBandManagement/IpmiFeat= urePkg/Library/IpmiBaseLibNull/IpmiBaseLibNull.c index 7c4c67f6ac..7af21bbaf1 100644 --- a/Features/Intel/OutOfBandManagement/IpmiFeaturePkg/Library/IpmiBaseLib= Null/IpmiBaseLibNull.c +++ b/Features/Intel/OutOfBandManagement/IpmiFeaturePkg/Library/IpmiBaseLib= Null/IpmiBaseLibNull.c @@ -43,7 +43,7 @@ InitializeIpmiBase ( =20 **/ EFI_STATUS -IpmiSubmitCommand ( +IpmiSendCommand ( IN UINT8 NetFunction, IN UINT8 Command, IN UINT8 *CommandData, diff --git a/Features/Intel/OutOfBandManagement/IpmiFeaturePkg/Library/Ipmi= CommandLib/IpmiCommandLibNetFnApp.c b/Features/Intel/OutOfBandManagement/Ip= miFeaturePkg/Library/IpmiCommandLib/IpmiCommandLibNetFnApp.c index 2e34909f3e..dbd154e2a6 100644 --- a/Features/Intel/OutOfBandManagement/IpmiFeaturePkg/Library/IpmiCommand= Lib/IpmiCommandLibNetFnApp.c +++ b/Features/Intel/OutOfBandManagement/IpmiFeaturePkg/Library/IpmiCommand= Lib/IpmiCommandLibNetFnApp.c @@ -24,7 +24,7 @@ IpmiGetDeviceId ( UINT32 DataSize; =20 DataSize =3D sizeof(*DeviceId); - Status =3D IpmiSubmitCommand ( + Status =3D IpmiSendCommand ( IPMI_NETFN_APP, IPMI_APP_GET_DEVICE_ID, NULL, @@ -45,7 +45,7 @@ IpmiGetSelfTestResult ( UINT32 DataSize; =20 DataSize =3D sizeof(*SelfTestResult); - Status =3D IpmiSubmitCommand ( + Status =3D IpmiSendCommand ( IPMI_NETFN_APP, IPMI_APP_GET_SELFTEST_RESULTS, NULL, @@ -66,7 +66,7 @@ IpmiResetWatchdogTimer ( UINT32 DataSize; =20 DataSize =3D sizeof(*CompletionCode); - Status =3D IpmiSubmitCommand ( + Status =3D IpmiSendCommand ( IPMI_NETFN_APP, IPMI_APP_RESET_WATCHDOG_TIMER, NULL, @@ -88,7 +88,7 @@ IpmiSetWatchdogTimer ( UINT32 DataSize; =20 DataSize =3D sizeof(*CompletionCode); - Status =3D IpmiSubmitCommand ( + Status =3D IpmiSendCommand ( IPMI_NETFN_APP, IPMI_APP_SET_WATCHDOG_TIMER, (VOID *)SetWatchdogTimer, @@ -109,7 +109,7 @@ IpmiGetWatchdogTimer ( UINT32 DataSize; =20 DataSize =3D sizeof(*GetWatchdogTimer); - Status =3D IpmiSubmitCommand ( + Status =3D IpmiSendCommand ( IPMI_NETFN_APP, IPMI_APP_GET_WATCHDOG_TIMER, NULL, @@ -131,7 +131,7 @@ IpmiSetBmcGlobalEnables ( UINT32 DataSize; =20 DataSize =3D sizeof(*CompletionCode); - Status =3D IpmiSubmitCommand ( + Status =3D IpmiSendCommand ( IPMI_NETFN_APP, IPMI_APP_SET_BMC_GLOBAL_ENABLES, (VOID *)SetBmcGlobalEnables, @@ -152,7 +152,7 @@ IpmiGetBmcGlobalEnables ( UINT32 DataSize; =20 DataSize =3D sizeof(*GetBmcGlobalEnables); - Status =3D IpmiSubmitCommand ( + Status =3D IpmiSendCommand ( IPMI_NETFN_APP, IPMI_APP_GET_BMC_GLOBAL_ENABLES, NULL, @@ -174,7 +174,7 @@ IpmiClearMessageFlags ( UINT32 DataSize; =20 DataSize =3D sizeof(*CompletionCode); - Status =3D IpmiSubmitCommand ( + Status =3D IpmiSendCommand ( IPMI_NETFN_APP, IPMI_APP_CLEAR_MESSAGE_FLAGS, (VOID *)ClearMessageFlagsRequest, @@ -195,7 +195,7 @@ IpmiGetMessageFlags ( UINT32 DataSize; =20 DataSize =3D sizeof(*GetMessageFlagsResponse); - Status =3D IpmiSubmitCommand ( + Status =3D IpmiSendCommand ( IPMI_NETFN_APP, IPMI_APP_GET_MESSAGE_FLAGS, NULL, @@ -215,7 +215,7 @@ IpmiGetMessage ( { EFI_STATUS Status; =20 - Status =3D IpmiSubmitCommand ( + Status =3D IpmiSendCommand ( IPMI_NETFN_APP, IPMI_APP_GET_MESSAGE, NULL, @@ -237,7 +237,7 @@ IpmiSendMessage ( { EFI_STATUS Status; =20 - Status =3D IpmiSubmitCommand ( + Status =3D IpmiSendCommand ( IPMI_NETFN_APP, IPMI_APP_SEND_MESSAGE, (VOID *)SendMessageRequest, @@ -274,7 +274,7 @@ IpmiGetSystemUuid ( } RequestSize =3D 0; ResponseSize =3D sizeof (IPMI_GET_SYSTEM_UUID_RESPONSE); - Status =3D IpmiSubmitCommand ( + Status =3D IpmiSendCommand ( IPMI_NETFN_APP, IPMI_APP_GET_SYSTEM_GUID, (VOID *)NULL, @@ -323,7 +323,7 @@ IpmiGetChannelInfo ( } =20 *GetChannelInfoResponseSize =3D sizeof (IPMI_GET_CHANNEL_INFO_RESPONSE); - Status =3D IpmiSubmitCommand ( + Status =3D IpmiSendCommand ( IPMI_NETFN_APP, IPMI_APP_GET_CHANNEL_INFO, (UINT8 *)GetChannelInfoRequest, diff --git a/Features/Intel/OutOfBandManagement/IpmiFeaturePkg/Library/Ipmi= CommandLib/IpmiCommandLibNetFnChassis.c b/Features/Intel/OutOfBandManagemen= t/IpmiFeaturePkg/Library/IpmiCommandLib/IpmiCommandLibNetFnChassis.c index 9c19f52ce4..c8c0e90a79 100644 --- a/Features/Intel/OutOfBandManagement/IpmiFeaturePkg/Library/IpmiCommand= Lib/IpmiCommandLibNetFnChassis.c +++ b/Features/Intel/OutOfBandManagement/IpmiFeaturePkg/Library/IpmiCommand= Lib/IpmiCommandLibNetFnChassis.c @@ -23,7 +23,7 @@ IpmiGetChassisCapabilities ( UINT32 DataSize; =20 DataSize =3D sizeof(*GetChassisCapabilitiesResponse); - Status =3D IpmiSubmitCommand ( + Status =3D IpmiSendCommand ( IPMI_NETFN_CHASSIS, IPMI_CHASSIS_GET_CAPABILITIES, NULL, @@ -44,7 +44,7 @@ IpmiGetChassisStatus ( UINT32 DataSize; =20 DataSize =3D sizeof(*GetChassisStatusResponse); - Status =3D IpmiSubmitCommand ( + Status =3D IpmiSendCommand ( IPMI_NETFN_CHASSIS, IPMI_CHASSIS_GET_STATUS, NULL, @@ -66,7 +66,7 @@ IpmiChassisControl ( UINT32 DataSize; =20 DataSize =3D sizeof(*CompletionCode); - Status =3D IpmiSubmitCommand ( + Status =3D IpmiSendCommand ( IPMI_NETFN_CHASSIS, IPMI_CHASSIS_CONTROL, (VOID *)ChassisControlRequest, @@ -88,7 +88,7 @@ IpmiSetPowerRestorePolicy ( UINT32 DataSize; =20 DataSize =3D sizeof(*ChassisControlResponse); - Status =3D IpmiSubmitCommand ( + Status =3D IpmiSendCommand ( IPMI_NETFN_CHASSIS, IPMI_CHASSIS_SET_POWER_RESTORE_POLICY, (VOID *)ChassisControlRequest, @@ -110,7 +110,7 @@ IpmiSetSystemBootOptions ( UINT32 DataSize; =20 DataSize =3D sizeof(*BootOptionsResponse); - Status =3D IpmiSubmitCommand ( + Status =3D IpmiSendCommand ( IPMI_NETFN_CHASSIS, IPMI_CHASSIS_SET_SYSTEM_BOOT_OPTIONS, (VOID *)BootOptionsRequest, @@ -132,7 +132,7 @@ IpmiGetSystemBootOptions ( UINT32 DataSize; =20 DataSize =3D sizeof(*BootOptionsResponse); - Status =3D IpmiSubmitCommand ( + Status =3D IpmiSendCommand ( IPMI_NETFN_CHASSIS, IPMI_CHASSIS_GET_SYSTEM_BOOT_OPTIONS, (VOID *)BootOptionsRequest, diff --git a/Features/Intel/OutOfBandManagement/IpmiFeaturePkg/Library/Ipmi= CommandLib/IpmiCommandLibNetFnStorage.c b/Features/Intel/OutOfBandManagemen= t/IpmiFeaturePkg/Library/IpmiCommandLib/IpmiCommandLibNetFnStorage.c index 2215028089..4e84084605 100644 --- a/Features/Intel/OutOfBandManagement/IpmiFeaturePkg/Library/IpmiCommand= Lib/IpmiCommandLibNetFnStorage.c +++ b/Features/Intel/OutOfBandManagement/IpmiFeaturePkg/Library/IpmiCommand= Lib/IpmiCommandLibNetFnStorage.c @@ -24,7 +24,7 @@ IpmiGetFruInventoryAreaInfo ( UINT32 DataSize; =20 DataSize =3D sizeof(*GetFruInventoryAreaInfoResponse); - Status =3D IpmiSubmitCommand ( + Status =3D IpmiSendCommand ( IPMI_NETFN_STORAGE, IPMI_STORAGE_GET_FRU_INVENTORY_AREAINFO, (VOID *)GetFruInventoryAreaInfoRequest, @@ -45,7 +45,7 @@ IpmiReadFruData ( { EFI_STATUS Status; =20 - Status =3D IpmiSubmitCommand ( + Status =3D IpmiSendCommand ( IPMI_NETFN_STORAGE, IPMI_STORAGE_READ_FRU_DATA, (VOID *)ReadFruDataRequest, @@ -68,7 +68,7 @@ IpmiWriteFruData ( UINT32 DataSize; =20 DataSize =3D sizeof(*WriteFruDataResponse); - Status =3D IpmiSubmitCommand ( + Status =3D IpmiSendCommand ( IPMI_NETFN_STORAGE, IPMI_STORAGE_WRITE_FRU_DATA, (VOID *)WriteFruDataRequest, @@ -89,7 +89,7 @@ IpmiGetSelInfo ( UINT32 DataSize; =20 DataSize =3D sizeof(*GetSelInfoResponse); - Status =3D IpmiSubmitCommand ( + Status =3D IpmiSendCommand ( IPMI_NETFN_STORAGE, IPMI_STORAGE_GET_SEL_INFO, NULL, @@ -110,7 +110,7 @@ IpmiGetSelEntry ( { EFI_STATUS Status; =20 - Status =3D IpmiSubmitCommand ( + Status =3D IpmiSendCommand ( IPMI_NETFN_STORAGE, IPMI_STORAGE_GET_SEL_ENTRY, (VOID *)GetSelEntryRequest, @@ -132,7 +132,7 @@ IpmiAddSelEntry ( UINT32 DataSize; =20 DataSize =3D sizeof(*AddSelEntryResponse); - Status =3D IpmiSubmitCommand ( + Status =3D IpmiSendCommand ( IPMI_NETFN_STORAGE, IPMI_STORAGE_ADD_SEL_ENTRY, (VOID *)AddSelEntryRequest, @@ -155,7 +155,7 @@ IpmiPartialAddSelEntry ( UINT32 DataSize; =20 DataSize =3D sizeof(*PartialAddSelEntryResponse); - Status =3D IpmiSubmitCommand ( + Status =3D IpmiSendCommand ( IPMI_NETFN_STORAGE, IPMI_STORAGE_PARTIAL_ADD_SEL_ENTRY, (VOID *)PartialAddSelEntryRequest, @@ -177,7 +177,7 @@ IpmiClearSel ( UINT32 DataSize; =20 DataSize =3D sizeof(*ClearSelResponse); - Status =3D IpmiSubmitCommand ( + Status =3D IpmiSendCommand ( IPMI_NETFN_STORAGE, IPMI_STORAGE_CLEAR_SEL, (VOID *)ClearSelRequest, @@ -198,7 +198,7 @@ IpmiGetSelTime ( UINT32 DataSize; =20 DataSize =3D sizeof(*GetSelTimeResponse); - Status =3D IpmiSubmitCommand ( + Status =3D IpmiSendCommand ( IPMI_NETFN_STORAGE, IPMI_STORAGE_GET_SEL_TIME, NULL, @@ -220,7 +220,7 @@ IpmiSetSelTime ( UINT32 DataSize; =20 DataSize =3D sizeof(*CompletionCode); - Status =3D IpmiSubmitCommand ( + Status =3D IpmiSendCommand ( IPMI_NETFN_STORAGE, IPMI_STORAGE_SET_SEL_TIME, (VOID *)SetSelTimeRequest, @@ -241,7 +241,7 @@ IpmiGetSdrRepositoryInfo ( UINT32 DataSize; =20 DataSize =3D sizeof(*GetSdrRepositoryInfoResp); - Status =3D IpmiSubmitCommand ( + Status =3D IpmiSendCommand ( IPMI_NETFN_STORAGE, IPMI_STORAGE_GET_SDR_REPOSITORY_INFO, NULL, @@ -262,7 +262,7 @@ IpmiGetSdr ( { EFI_STATUS Status; =20 - Status =3D IpmiSubmitCommand ( + Status =3D IpmiSendCommand ( IPMI_NETFN_STORAGE, IPMI_STORAGE_GET_SDR, (VOID *)GetSdrRequest, diff --git a/Features/Intel/OutOfBandManagement/IpmiFeaturePkg/Library/Ipmi= CommandLib/IpmiCommandLibNetFnTransport.c b/Features/Intel/OutOfBandManagem= ent/IpmiFeaturePkg/Library/IpmiCommandLib/IpmiCommandLibNetFnTransport.c index 30ea84c04b..eec281c5bd 100644 --- a/Features/Intel/OutOfBandManagement/IpmiFeaturePkg/Library/IpmiCommand= Lib/IpmiCommandLibNetFnTransport.c +++ b/Features/Intel/OutOfBandManagement/IpmiFeaturePkg/Library/IpmiCommand= Lib/IpmiCommandLibNetFnTransport.c @@ -26,7 +26,7 @@ IpmiSolActivating ( UINT32 DataSize; =20 DataSize =3D sizeof(*CompletionCode); - Status =3D IpmiSubmitCommand ( + Status =3D IpmiSendCommand ( IPMI_NETFN_TRANSPORT, IPMI_TRANSPORT_SOL_ACTIVATING, (VOID *)SolActivatingRequest, @@ -49,7 +49,7 @@ IpmiSetSolConfigurationParameters ( UINT32 DataSize; =20 DataSize =3D sizeof(*CompletionCode); - Status =3D IpmiSubmitCommand ( + Status =3D IpmiSendCommand ( IPMI_NETFN_TRANSPORT, IPMI_TRANSPORT_SET_SOL_CONFIG_PARAM, (VOID *)SetConfigurationParametersRequest, @@ -70,7 +70,7 @@ IpmiGetSolConfigurationParameters ( { EFI_STATUS Status; =20 - Status =3D IpmiSubmitCommand ( + Status =3D IpmiSendCommand ( IPMI_NETFN_TRANSPORT, IPMI_TRANSPORT_GET_SOL_CONFIG_PARAM, (VOID *)GetConfigurationParametersRequest, @@ -111,7 +111,7 @@ IpmiGetLanConfigurationParameters ( return EFI_INVALID_PARAMETER; } =20 - Status =3D IpmiSubmitCommand ( + Status =3D IpmiSendCommand ( IPMI_NETFN_TRANSPORT, IPMI_TRANSPORT_GET_LAN_CONFIG_PARAMETERS, (UINT8 *)GetLanConfigurationParametersRequest, diff --git a/Features/Intel/OutOfBandManagement/IpmiFeaturePkg/Library/PeiI= pmiBaseLib/PeiIpmiBaseLib.c b/Features/Intel/OutOfBandManagement/IpmiFeatur= ePkg/Library/PeiIpmiBaseLib/PeiIpmiBaseLib.c index 8679cd95db..b97152208a 100644 --- a/Features/Intel/OutOfBandManagement/IpmiFeaturePkg/Library/PeiIpmiBase= Lib/PeiIpmiBaseLib.c +++ b/Features/Intel/OutOfBandManagement/IpmiFeaturePkg/Library/PeiIpmiBase= Lib/PeiIpmiBaseLib.c @@ -48,7 +48,7 @@ InitializeIpmiBase ( =20 **/ EFI_STATUS -IpmiSubmitCommand ( +IpmiSendCommand ( IN UINT8 NetFunction, IN UINT8 Command, IN UINT8 *CommandData, @@ -65,7 +65,7 @@ IpmiSubmitCommand ( ASSERT_EFI_ERROR (Status); return Status; } - Status =3D IpmiTransport->IpmiSubmitCommand ( + Status =3D IpmiTransport->IpmiSendCommand ( IpmiTransport, NetFunction, 0, diff --git a/Features/Intel/OutOfBandManagement/IpmiFeaturePkg/Library/SmmI= pmiBaseLib/SmmIpmiBaseLib.c b/Features/Intel/OutOfBandManagement/IpmiFeatur= ePkg/Library/SmmIpmiBaseLib/SmmIpmiBaseLib.c index 6282adc269..ee1d3d5bed 100644 --- a/Features/Intel/OutOfBandManagement/IpmiFeaturePkg/Library/SmmIpmiBase= Lib/SmmIpmiBaseLib.c +++ b/Features/Intel/OutOfBandManagement/IpmiFeaturePkg/Library/SmmIpmiBase= Lib/SmmIpmiBaseLib.c @@ -96,7 +96,7 @@ InitializeIpmiBase ( =20 **/ EFI_STATUS -IpmiSubmitCommand ( +IpmiSendCommand ( IN UINT8 NetFunction, IN UINT8 Command, IN UINT8 *CommandData, @@ -133,7 +133,7 @@ Returns: return Status; } =20 - Status =3D mIpmiTransport->IpmiSubmitCommand ( + Status =3D mIpmiTransport->IpmiSendCommand ( mIpmiTransport, NetFunction, 0, diff --git a/Platform/Intel/PurleyOpenBoardPkg/Features/Ipmi/Library/IpmiLi= bKcs/IpmiLibKcs.c b/Platform/Intel/PurleyOpenBoardPkg/Features/Ipmi/Library= /IpmiLibKcs/IpmiLibKcs.c index 700e413aa6..2b02ba6a20 100644 --- a/Platform/Intel/PurleyOpenBoardPkg/Features/Ipmi/Library/IpmiLibKcs/Ip= miLibKcs.c +++ b/Platform/Intel/PurleyOpenBoardPkg/Features/Ipmi/Library/IpmiLibKcs/Ip= miLibKcs.c @@ -193,7 +193,7 @@ UpdateBmcStatusOnResponse ( **/ EFI_STATUS EFIAPI -IpmiSubmitCommand ( +IpmiSendCommand ( IN UINT8 NetFunction, IN UINT8 Command, IN UINT8 *RequestData, @@ -222,7 +222,7 @@ IpmiSubmitCommand ( } =20 IpmiInstance->Signature =3D SM_IPMI_BMC_SIGNATURE; - IpmiInstance->KcsTimeoutPeriod =3D PcdGet64(PcdIpmiKcsTi= meoutPeriod);=20 + IpmiInstance->KcsTimeoutPeriod =3D PcdGet64(PcdIpmiKcsTi= meoutPeriod); IpmiInstance->SlaveAddress =3D PcdGet8(PcdIpmiBmcSla= veAddress); IpmiInstance->IpmiIoBase =3D PcdGet16(PcdIpmiIoBas= eAddress); DEBUG((DEBUG_INFO,"IPMI KcsTimeoutPeriod=3D0x%x\n", IpmiInstance->KcsT= imeoutPeriod)); @@ -269,7 +269,7 @@ IpmiSubmitCommand ( } =20 Status =3D SendDataToBmcPort ( - IpmiInstance->KcsTimeoutPeriod, + IpmiInstance->KcsTimeoutPeriod, IpmiInstance->IpmiIoBase, (UINT8 *)IpmiCommand, (UINT8)(RequestDataSize + EFI_IPMI_COMMAND_HEADER_SIZE) @@ -287,7 +287,7 @@ IpmiSubmitCommand ( // DataSize =3D MAX_TEMP_DATA; Status =3D ReceiveBmcDataFromPort ( - IpmiInstance->KcsTimeoutPeriod, + IpmiInstance->KcsTimeoutPeriod, IpmiInstance->IpmiIoBase, (UINT8 *)IpmiResponse, &DataSize @@ -301,8 +301,8 @@ IpmiSubmitCommand ( } =20 // - // If we got this far without any error codes, but the DataSize is 0 the= n the=20 - // command response failed, so do not continue. =20 + // If we got this far without any error codes, but the DataSize is 0 the= n the + // command response failed, so do not continue. // if (DataSize < 3) { Status =3D EFI_DEVICE_ERROR; --=20 2.37.1.windows.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 (#99745): https://edk2.groups.io/g/devel/message/99745 Mute This Topic: https://groups.io/mt/96810541/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Fri May 17 19:05:50 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+99746+1787277+3901457@groups.io; arc=fail (BodyHash is different from the expected one) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1675786986239731.7663297436342; Tue, 7 Feb 2023 08:23:06 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id qGF2YY1788612x0jPKRHV59f; Tue, 07 Feb 2023 08:23:05 -0800 X-Received: from NAM11-BN8-obe.outbound.protection.outlook.com (NAM11-BN8-obe.outbound.protection.outlook.com [40.107.236.40]) by mx.groups.io with SMTP id smtpd.web11.87914.1675786984086325771 for ; Tue, 07 Feb 2023 08:23:04 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GSpPOg1hoKl0J3zzvfj+cmBvSLm6FX66ORby8smFofFdBBNVG1x1Ya5nvUGgoRWu2ACM+fGMFBPpFPlKuSiU3bB+yeqEMgU+NY5E14QpFYxaBKEeGgMsJWj4sPep5yml2UC6P16tVTWJhadhw14Sl1XsKMBQS2dhmeQcUAJqzAynbw6YtP4jxf68jOhkD5/ykrApRKpxiz4M71MTqNqdRwnEuXjnnBLY0BEdmA8DdExlCiS35Z1F2ScnwTH8awjZjvOP9uKcuMR8aXZw79uiRPm3sbmq5SIoygtLTpI1o87KCCC1PNL3VWN4s50eaujZM8ve5InJHOyxcz5pxHi0wA== 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=JlmkkXC4j4vRQfgeFZxiBUoelv6IW36l51CQ0Iu3gOg=; b=CjX8PVFbcsCcU9RHMT0hARuURaFOCFkwRJSRhzDIgTE302v7oZ0c/r09pc2rgjW/Aby4nNXuTjHBENV98RrFXIH8y3etF0CbN02sld8YzCkHlKQkiI6lRFH1155PIRMo+oyRun9fYOwDLoPdrOjpWYFscSwr4b+NYRAUZcCZrv0LAeT2iGIApnVMknV+8evbaq+68Gln4rIQFNN7DzrXlUV0M5SLP4rQWiy4qa3UtBAmtpomNBfe1UdeaJUXTp76QAfsP7uRbebCLWDvvR0+SadOzN3jzVmZOeSCdOn5Ijiujdj7nwWLcqXoyNwCyJLWM81XZJqlWtjflC/qEbOOFw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=edk2.groups.io smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none X-Received: from MW4P221CA0014.NAMP221.PROD.OUTLOOK.COM (2603:10b6:303:8b::19) by SN7PR12MB7912.namprd12.prod.outlook.com (2603:10b6:806:341::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6064.36; Tue, 7 Feb 2023 16:23:00 +0000 X-Received: from CO1NAM11FT037.eop-nam11.prod.protection.outlook.com (2603:10b6:303:8b:cafe::85) by MW4P221CA0014.outlook.office365.com (2603:10b6:303:8b::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6064.36 via Frontend Transport; Tue, 7 Feb 2023 16:23:00 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+99746+1787277+3901457@groups.io; helo=mail02.groups.io; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB04.amd.com; pr=C X-Received: from SATLEXMB04.amd.com (165.204.84.17) by CO1NAM11FT037.mail.protection.outlook.com (10.13.174.91) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.6086.16 via Frontend Transport; Tue, 7 Feb 2023 16:23:00 +0000 X-Received: from TPE-L1-ABNCHANG.amd.com (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.34; Tue, 7 Feb 2023 10:22:57 -0600 From: "Chang, Abner via groups.io" To: CC: Liming Gao , Isaac Oram , Nate DeSimone , Nickle Wang , Igor Kulchytskyy , "Abdul Lateef Attar" Subject: [edk2-devel] [edk2-platforms][PATCH 2/7] ManageabilityPkg: Add diagrams Date: Wed, 8 Feb 2023 00:22:31 +0800 Message-ID: <20230207162236.1406-3-abner.chang@amd.com> In-Reply-To: <20230207162236.1406-1-abner.chang@amd.com> References: <20230207162236.1406-1-abner.chang@amd.com> MIME-Version: 1.0 X-Originating-IP: [10.180.168.240] X-ClientProxiedBy: SATLEXMB03.amd.com (10.181.40.144) To SATLEXMB04.amd.com (10.181.40.145) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CO1NAM11FT037:EE_|SN7PR12MB7912:EE_ X-MS-Office365-Filtering-Correlation-Id: eb663951-0e2d-42ba-fb52-08db09279496 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Message-Info: 3/t7XF4wF3aHeZX9zOxcQErT+p6mhacykVpylVIHKc4If6xYf5SEpY2Q6GWjQnWihR3SovDyZmfW5ISDjllAzilb6C72hkI2atnrUezfZ8MdQ/iHysJbtf7zTAKlHFO2SnmYXmc8fufIpQTFWwQXG4ER8OIAJQyFMN0ZYn/aKZHp4JlKmf8/VPdFqqlTjMz790PUuE2GOW4qm6UtPzzz5r7pbvifZJa8Ma16AJ+MNAymeF0VwV7Qv5gOd2H5jXd2MMwb1LFnMNjx48bLqlVrIy18lTahCoj9JUE98AuiTxJ/RR6llkajoRlg6EDkj1llucq2/2SYgWOYhDPR13prRpXQF6dkIZMaqX48u1ERK1T12ZsmKLENA6uspUylGAGr4omGeEbAj+dNl9Ine2gr60mo5xfwteiaZS+pn527RVNmWP6g36zDIbk2Zzb3ofZJNsW3y38ZEb2Z2ydh5OmQyXqQmakAczEoHkIaB062STWnF1Zo6Mw3xfJCikY1WJYuXxC39K7xHspqXmfyuj+CWWT3STQ5smCKt3zovpLhdUTkwM/ZQVRoL5w+vjZ20Gofvh8j4jr94mx5aDp09mkkMNgZrkuF3bLfpOtIeJTSSE2ii/QM1TOKFLjOkOmZ+oN7ph8LSKN9LRrE8ou9ZRQt8YnDmYC4FX2LEExsXQXSLYe9VxleaZxfOUWeAWI49JcHGHkGO/wZ4/oZ1+H//Kftu3wy+nPPUB65yEWgKhVbybXunMGddrl4vsZk1aZ41lvkt+uVL/quNP6BuNR1Cbax77s0bSFzWzee5DNHtkXOOHA= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Feb 2023 16:23:00.2791 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: eb663951-0e2d-42ba-fb52-08db09279496 X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d;Ip=[165.204.84.17];Helo=[SATLEXMB04.amd.com] X-MS-Exchange-CrossTenant-AuthSource: CO1NAM11FT037.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN7PR12MB7912 Precedence: Bulk List-Unsubscribe: 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,abner.chang@amd.com X-Gm-Message-State: KpOeUBwCc3HfluZOZBHPdvBvx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1675786985; bh=fAEBF164vaj4Tw9I8Fp/Ja3x6zi0U++6qLUIHD8nAso=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=DcRbCQ51Zt2RyK5xx08J/xlEJdW5FfVm/GO8PuNsqWuaSHd1BicqaavOFUNtzCT/P0j WT7+MAHPkF9x+LEIjNPxHBfcJXLCad3/N324ihgWcZN6B/tOuja9sBI/3ehffyhsXj3a3 bc3HnGFISnErFr5u9AM+kA5vxs7lB4KenYA= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1675786986707100003 Content-Type: text/plain; charset="utf-8" From: Abner Chang Add diagram of ManageabilityPkg. Signed-off-by: Abner Chang Cc: Liming Gao Cc: Isaac Oram Cc: Nate DeSimone Cc: Nickle Wang Cc: Igor Kulchytskyy Cc: Abdul Lateef Attar --- .../Documents/Media/ManageabilityDriverStack.svg | 1 + 1 file changed, 1 insertion(+) create mode 100644 Features/ManageabilityPkg/Documents/Media/Manageability= DriverStack.svg diff --git a/Features/ManageabilityPkg/Documents/Media/ManageabilityDriverS= tack.svg b/Features/ManageabilityPkg/Documents/Media/ManageabilityDriverSta= ck.svg new file mode 100644 index 0000000000..987de40874 --- /dev/null +++ b/Features/ManageabilityPkg/Documents/Media/ManageabilityDriverStack.svg @@ -0,0 +1 @@ +PLDM MCTPLib InstancePLDM<= /text>TransportProtocolPLDM TransportLibraryInvoke MCTPProtocolMCTPTransportProto= colMCTP TransportLibraryIPMIT= ransportProtocolIPMI Tran= sportLibraryIPMI KCS= LibInstanceOtherTransportInstancesMCTP= PCI/VDM LibInstanceI= PMI I2C LibInstanceInvoke KC= SProtocolKCSTransportProtocolM= CTP IPMILib InstanceInvok= e IPMIProtocolI2CProtocolMCTPI2CLibInstancePLDM BCCPLDMSMBIOS= PLDM FRUPLDM PMC= PLDMNVMeManagementIPMI NetFnRedfish HINetFnPlatformReplaceablePlatformReplaceablePlatformReplac= eableOtherT<= text fill=3D"#FFFFFF" font-family=3D"Calibri,Calibri_MSFontService,sans-ser= if" font-weight=3D"400" font-size=3D"19" transform=3D"matrix(1 0 0 0.99974 = 966.5 474)">ransportInstancesMCTPUSBLibInstanceOtherTransportInstancesCXL Device= CCI \ No newline at end of file --=20 2.37.1.windows.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 (#99746): https://edk2.groups.io/g/devel/message/99746 Mute This Topic: https://groups.io/mt/96810542/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Fri May 17 19:05:50 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+99747+1787277+3901457@groups.io; arc=fail (BodyHash is different from the expected one) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1675786985624203.21879727032626; Tue, 7 Feb 2023 08:23:05 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id FAhiYY1788612xYSiCGmSXyf; Tue, 07 Feb 2023 08:23:05 -0800 X-Received: from NAM12-MW2-obe.outbound.protection.outlook.com (NAM12-MW2-obe.outbound.protection.outlook.com [40.107.244.87]) by mx.groups.io with SMTP id smtpd.web11.87915.1675786984753336966 for ; Tue, 07 Feb 2023 08:23:04 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bQEnV/x472potf9fMj5V8DUwVPcCt6fDvsTI+/MhGmQFrfhsnwzrXyEJZfluQY+adE9ahApxpeqUjEZh2HsjIeG+Mb8U9B91X6dn3jjGJET3Aynu0vpwlWgI8T+nzgVZb7I34k/RHEPeLeLB2cytUDs0MqZibOAZau1ZLviiHVdMjueG/Ig5Z2pELD9kiABiYxQZTrh87r6iSLlDpvZw08BlsfYFAv2UOMYHTJ1zzBocaS36Oty4caQhdlOGDnUgj0pbVXcQDA+cP8tdYBIJ//bSzNbxVMzKsgrQr/bkbTRh4u4jZ4PONEF2/0PhrA9XYVU/09dMcWBsHaBS0ulILA== 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=ypiFNtCCnfxivOMdO9TvFrdP/RHG6XEYdqGe65Ji/Iw=; b=lnDkngOaCjcOr9XV1jUj8gds7Au19x8qTdQ1Sp5kioRpe334RZJUkaSm6kfSNqxv4VCql8Q+B0mPncOC+7Xg7HqDqzMBbz52ChdEuMqNZfdo+5nmR5um6X3Y9LEzv6la5PSxOO7RYh5jOHYwjgFDi8IRJQIZJHlGibDWh7rAprkHH0RBqmWeXdfxGR1+hXBMTMEDxbrCXGt55tDSttGoJhGv1THFV5YlEaFWVVUVvi1g6rBnA88qGK2D2JOlYFr3HCo3x6cPMI+oWHpa00bk6YHp8NhxknSGrjyl+MxbDdfVu8igk5eD+nZBbbfn8r0jznYAlEsZ/ef8uHggfEWHng== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=edk2.groups.io smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none X-Received: from MW4P221CA0014.NAMP221.PROD.OUTLOOK.COM (2603:10b6:303:8b::19) by SA1PR12MB7039.namprd12.prod.outlook.com (2603:10b6:806:24e::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6064.36; Tue, 7 Feb 2023 16:23:02 +0000 X-Received: from CO1NAM11FT037.eop-nam11.prod.protection.outlook.com (2603:10b6:303:8b:cafe::b9) by MW4P221CA0014.outlook.office365.com (2603:10b6:303:8b::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6064.36 via Frontend Transport; Tue, 7 Feb 2023 16:23:01 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+99747+1787277+3901457@groups.io; helo=mail02.groups.io; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB04.amd.com; pr=C X-Received: from SATLEXMB04.amd.com (165.204.84.17) by CO1NAM11FT037.mail.protection.outlook.com (10.13.174.91) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.6086.16 via Frontend Transport; Tue, 7 Feb 2023 16:23:01 +0000 X-Received: from TPE-L1-ABNCHANG.amd.com (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.34; Tue, 7 Feb 2023 10:22:58 -0600 From: "Chang, Abner via groups.io" To: CC: Liming Gao , Isaac Oram , Nate DeSimone , Nickle Wang , Igor Kulchytskyy , "Abdul Lateef Attar" Subject: [edk2-devel] [edk2-platforms][PATCH 3/7] ManageabilityPkg: Add Readme file Date: Wed, 8 Feb 2023 00:22:32 +0800 Message-ID: <20230207162236.1406-4-abner.chang@amd.com> In-Reply-To: <20230207162236.1406-1-abner.chang@amd.com> References: <20230207162236.1406-1-abner.chang@amd.com> MIME-Version: 1.0 X-Originating-IP: [10.180.168.240] X-ClientProxiedBy: SATLEXMB03.amd.com (10.181.40.144) To SATLEXMB04.amd.com (10.181.40.145) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CO1NAM11FT037:EE_|SA1PR12MB7039:EE_ X-MS-Office365-Filtering-Correlation-Id: b715eb70-bdc2-4766-da5f-08db0927957b X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Message-Info: aLsHx7YSXIooGch8DIaXv6+Ch//ZAtUpM1dI9cB7JIEuLZTiDNI4zDXNyl3je30+rgBkequZaTBetCUI6e0rNI/svEELqv/iYtUwBHXLKTGjMDrpXeyHUfqADIC7A9YO+eAP9xCKmoXrMHeXU4lCW7ePkY1gYwuYs6EeqlCftrwrnWgYsKWx6qFVbBkJOvMiFw4tqdkTayLBGd9z3B1ZuvRGGyMNIqyc9lfy+hLKaz//MllXm3NA4q+RZT7H+rCneoD9h+Fs1PBoFH9GaqVe6nKDl2TrOsZXUNFAkIt1Iz9BSA9nHI3VPONEe1sCqnFlcLRQPQ1DCj3NeBXkUlDkM3lGRIsMxoHwy8bSU+aOSggR2ace0YAf1qfZ9P4T7to7NEOxFe7FxPhjpvUdcV/7VNxSYZTt6a8x4QJ5mMPorblnRNCQbZj0IN9DWYZCxIrxC0ET2o6yaIE78BWwf9OD7p5fIIVi6F6/PEUt3W1POjYS/91ncxP7Kf13xysJv2nOS7iuVEmi0eabMxdSVu/VROZaio/b39AKktFk4N0Q75udLuz4M8dMHZJEfv1xIwblfsmjuL2QC156lEkAXRpX5cy0XYaX5+f7T41TyOdoR4RYSk1lV5yqS3eHLlnhgf4y9iiWnK1TOYIKwEqImxpMZ9jkMjIg3B8anM69CYMGSFEvt1iw3OdT+htTakppv8p9tXClWgU0kXbp98vwBvWiZHBei9BdEO10llc/RInnfuZqLREjSSpLGR3YqWmmmTR8Ic7QEolYOMLvHFscbB+dcYtF+pWOXYO5nXG/o4LESn4Xw2p6AkHDWP6RcPq77Mqk X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Feb 2023 16:23:01.7635 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: b715eb70-bdc2-4766-da5f-08db0927957b X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d;Ip=[165.204.84.17];Helo=[SATLEXMB04.amd.com] X-MS-Exchange-CrossTenant-AuthSource: CO1NAM11FT037.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA1PR12MB7039 Precedence: Bulk List-Unsubscribe: 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,abner.chang@amd.com X-Gm-Message-State: yhsWI2y6xhzwKoJfJTgt7aAlx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1675786985; bh=ggNxyDu5ipQ0nXn2cnMFCbkpy8D57zxuKnhZbm987TY=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=NaEZyZ6B8nXyeNR/TL7CXM77OJwT5sKCwoPPZYT7NRvnB4Nicgud+624oVWrgni1LuE nLI+VJMoJchSKYGT/WanDHU8q0OypcMDYlEVyv7Su5Nz1l/OsjuUekxrTXY4tGNL94aB/ o+kt3iO8p8FyQVbzcSVob/wUtDtilnYk6Jc= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1675786986686100001 Content-Type: text/plain; charset="utf-8" From: Abner Chang Add Readme file of edk2 platform ManageabilityPkg. Signed-off-by: Abner Chang Cc: Liming Gao Cc: Isaac Oram Cc: Nate DeSimone Cc: Nickle Wang Cc: Igor Kulchytskyy Cc: Abdul Lateef Attar --- Features/ManageabilityPkg/Readme.md | 37 +++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 Features/ManageabilityPkg/Readme.md diff --git a/Features/ManageabilityPkg/Readme.md b/Features/ManageabilityPk= g/Readme.md new file mode 100644 index 0000000000..880aa4aa48 --- /dev/null +++ b/Features/ManageabilityPkg/Readme.md @@ -0,0 +1,37 @@ +# EDK2 Manageability Package + +The edk2 Manageability package is introduced to provide edk2 drivers and +libraries for the industry platform management standards, such as PLDM (Pl= atform +Level Data Model), MCTP (Management Component Transfer Protocol) and IPMI +(Intelligent Platform Management Interface). The framework of edk2 Managea= bility +package is designed to flexibly support transports for the above industry = standards, the transports such as KCS or I2C for IPMI, PCI VDM (Vendor Defi= ned +Message), I2C or KCS for MCTP, or the OEM proprietary transports. + +## EDK2 Manageability Package Driver Stack + +Below figure shows the driver stacks which are abstracted to support dispa= rate +transports for the platform management. +![Manageability Package Driver Stack](https://github.com/tianocore/edk2-pl= atforms/blob/master/Features/ManageabilityPkg/Documents/Media/Manageability= DriverStack.svg?raw=3Dtrue) + +## Build the Manageability Package +In order to use the modules provided by ManageabilityPkg, **PACKAGES_PATH*= * must +contains the path to point to [edk2-platform Features](https://github.com/= tianocore/edk2-platforms/tree/master/Features): + +``` +$ export PACKAGES_PATH=3D$PWD/edk2:$PWD/edk2-platforms:$PWD/edk2-platforms= /Features +``` + +Due to the [IPMI Migration Work](#migration-of-ipmi-driver-stack-from-outo= fbandmanagement) is in progress, an +additional package path is required to add to **PACKAGES_PATH** for the re= ference +of IPMI modules those are currently located under +[OutOfBandManagement](https://github.com/tianocore/edk2-platforms/tree/mas= ter/Features/Intel/OutOfBandManagement) folder. + +``` +$PWD/edk2-platforms/Features/Intel/OutOfBandManagement +``` + +## Migration of IPMI Driver Stack from OutOfBandManagement + +This is the ongoing task that relocates IPMI modules from OutOfBandManagem= ent to +under ManageabilityPkg. This task also requires to abstract the transport = layer +from IPMI driver in order to flexibly support different transports adopted= on the platform. --=20 2.37.1.windows.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 (#99747): https://edk2.groups.io/g/devel/message/99747 Mute This Topic: https://groups.io/mt/96810543/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Fri May 17 19:05:50 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+99751+1787277+3901457@groups.io; arc=fail (BodyHash is different from the expected one) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1675786990317674.6260954252606; Tue, 7 Feb 2023 08:23:10 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id guPDYY1788612xOli78KIl0h; Tue, 07 Feb 2023 08:23:09 -0800 X-Received: from NAM12-DM6-obe.outbound.protection.outlook.com (NAM12-DM6-obe.outbound.protection.outlook.com [40.107.243.70]) by mx.groups.io with SMTP id smtpd.web11.87920.1675786988546980930 for ; Tue, 07 Feb 2023 08:23:08 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BlAmonm4AV2FZtKbz0+/T5qzImEthHqTW/mLXTd3ppFOPuBtYtvBCrCCrhkP1OdWPX2a7nYa2IGQbSIV3OCoE4j8WOj46DNJN9Ouc1B3eQOSpVWq0mzd3eOnYKDWLizNC/mVCk6zlOVSpimwJmb+Uak+6XGSOt8sA5OKKiJAsY9UCEOt9z891pVmdqbcXTM2PjZ4K9hDAoNtKdsIBDmuryroD25qTSbuT0GwagrqJX5dXI9ER6+WuFX0OPBUbXTNnGSdBZ7SMU1dKrXjKTOPUQ4gH3toKGvgIVDLBBMoM3qY1t9YuxZHYwKCHyTOu8PNLrZUKJIUdnQMtXWgIzZe9Q== 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=ufUSx+WxFYUpMHMMa+dWfI6Pl7IMEHqT8XBGPuds2O4=; b=YJLs022fs0jZWp4l/R9XtmSFMdrrdgrBqMpJrYSj87M6vd81sc60n5AHLMeIyLvYg8SWl79nSkaStA4R8e9//DLAIE5vnt19G3o32/+ajjsOHHpAyiO5SfwiF46Ohm4hL0BGNmJUyfdsqCFwEehiN8UcKG+KvCjw4xeedkKMJo5sYlsAd9s+dEwsv4Nd5lCK98ue1tNPsBPKk1Abdc+tcQLtlirADdpUGYBjhS45+PH4DM4dHLMwQU7HVdHZ65WlDrRf1AG79qWd911IacAHzj+QZ6QAXHLcU5Z7xCKv0OmqKCppTuH3kFJYfDxrriBO6932UE2CkC1jjOTWsWeZ6A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=edk2.groups.io smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none X-Received: from MW4P221CA0013.NAMP221.PROD.OUTLOOK.COM (2603:10b6:303:8b::18) by CY8PR12MB8196.namprd12.prod.outlook.com (2603:10b6:930:78::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6064.34; Tue, 7 Feb 2023 16:23:03 +0000 X-Received: from CO1NAM11FT037.eop-nam11.prod.protection.outlook.com (2603:10b6:303:8b:cafe::df) by MW4P221CA0013.outlook.office365.com (2603:10b6:303:8b::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6064.36 via Frontend Transport; Tue, 7 Feb 2023 16:23:03 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+99751+1787277+3901457@groups.io; helo=mail02.groups.io; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB04.amd.com; pr=C X-Received: from SATLEXMB04.amd.com (165.204.84.17) by CO1NAM11FT037.mail.protection.outlook.com (10.13.174.91) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.6086.16 via Frontend Transport; Tue, 7 Feb 2023 16:23:03 +0000 X-Received: from TPE-L1-ABNCHANG.amd.com (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.34; Tue, 7 Feb 2023 10:22:58 -0600 From: "Chang, Abner via groups.io" To: CC: Liming Gao , Isaac Oram , Nate DeSimone , Abdul Lateef Attar , Nickle Wang , "Igor Kulchytskyy" Subject: [edk2-devel] [edk2-platforms][PATCH 4/7] ManageabilityPkg: Initial package Date: Wed, 8 Feb 2023 00:22:33 +0800 Message-ID: <20230207162236.1406-5-abner.chang@amd.com> In-Reply-To: <20230207162236.1406-1-abner.chang@amd.com> References: <20230207162236.1406-1-abner.chang@amd.com> MIME-Version: 1.0 X-Originating-IP: [10.180.168.240] X-ClientProxiedBy: SATLEXMB03.amd.com (10.181.40.144) To SATLEXMB04.amd.com (10.181.40.145) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CO1NAM11FT037:EE_|CY8PR12MB8196:EE_ X-MS-Office365-Filtering-Correlation-Id: ffe211f3-3bb4-4708-2e58-08db09279676 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Message-Info: bprFkm3wjhYaEGilC4rXzDplRgtuNTolihV1aAAYPfwu6cKMLvq9OkPgnKLXi0JBmu8QaAb12rSAMF1Pdn7BurfowqhGPARZrAyedT7u8RRzuS54fgtW/+mPl21WrOg6fd9bhxq7bv5Qxno+Kcvo15xwGjPhm4hFRxOiUnys/17hE3LxhKUHYNy7jqt/xKh4jIpsSmmGqMjuYWPhGp/uMrwOaSVwsVEDRsDh716gOnLLSoL5NHW/Pn0jgh1bgaC1V8oiFrhQDs1s/o68DgjV6FGz9/YHuJ+0Oznh0ek8+KEbxRJDsb9eF7Z5EFOhK1yqCHaMOi1f2ZpRsLYj91hWqByOY3whgvNAoIwjP0pjfzGDZvwTXnd5rTU6DKjamvqeC6xguc8xy8DBZJjiyuBz9CgM9WWl+VzGc7UJY/tU0UVNq9NHc3riMG59pfS2VT153RrE7pRDbZa59UhYx1MYcRcMxyaDforv4eIrT+kqSGu4o5KXf5ovWr5wQT970FYT53GeutIRBN0z1ibhtlH6XWMtHxokupGpoC+0gsF3YSRZbR8K8fW69LXnhGO63OPKH2dETCwIX28y+Acdzjxav7mp3AqWetKmusuWQSJpoi6Dx+GqDkwNKuYMHSuMPkMoVDJHbCH0YCOnLOygfnbAw0ZIk69dERiazc+g5ytiPhbpyJDVQnObXb0a8jexQyishZeimZu3oSJm0ZwOBod9wQYxwe/sEXOED4ZxzngtDO4= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Feb 2023 16:23:03.4196 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: ffe211f3-3bb4-4708-2e58-08db09279676 X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d;Ip=[165.204.84.17];Helo=[SATLEXMB04.amd.com] X-MS-Exchange-CrossTenant-AuthSource: CO1NAM11FT037.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY8PR12MB8196 Precedence: Bulk List-Unsubscribe: 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,abner.chang@amd.com X-Gm-Message-State: iquA5WVmclvYbyksK2ACkK2Gx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1675786990; bh=M9EjNwq1uc4IJm8Sc9oGqYxvtSnerGFvlL0ut5xBZaA=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=cwmxmubj8KBf/ku90ns2CjKG2YXoB0h3Thk/niIsjj/Ao+PR5yU7RPo5guiDBscBTvd oAaiGib+HwwoT61wXuPFD8PTsteuo6awoVi1gfBP2aAI4QYzf3fee2CQFI5hMsONybHTC rArboR/1fuuABJ4bQMR/cA6Cue1jAYESNj0= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1675786990659100021 Content-Type: text/plain; charset="utf-8" From: Abner Chang Initial commit of ManageabilityPkg Signed-off-by: Abner Chang Cc: Liming Gao Cc: Isaac Oram Cc: Nate DeSimone Cc: Abdul Lateef Attar Cc: Nickle Wang Cc: Igor Kulchytskyy --- .../ManageabilityPkg/ManageabilityPkg.dec | 18 +++++++++ .../Include/CommonLibs.dsc.inc | 40 +++++++++++++++++++ .../ManageabilityPkg/ManageabilityPkg.dsc | 23 +++++++++++ 3 files changed, 81 insertions(+) create mode 100644 Features/ManageabilityPkg/ManageabilityPkg.dec create mode 100644 Features/ManageabilityPkg/Include/CommonLibs.dsc.inc create mode 100644 Features/ManageabilityPkg/ManageabilityPkg.dsc diff --git a/Features/ManageabilityPkg/ManageabilityPkg.dec b/Features/Mana= geabilityPkg/ManageabilityPkg.dec new file mode 100644 index 0000000000..8a0e28f50b --- /dev/null +++ b/Features/ManageabilityPkg/ManageabilityPkg.dec @@ -0,0 +1,18 @@ +## @file +# Manageabilty Package +# This is the package provides the edk2 drivers and libraries +# those are related to the platform management. +# +# Copyright (C) 2023 Advanced Micro Devices, Inc. All rights reserved.
+# SPDX-License-Identifier: BSD-2-Clause-Patent +# +## + +[Defines] + DEC_SPECIFICATION =3D 0x0001001d + PACKAGE_NAME =3D ManageabilityPkg + PACKAGE_GUID =3D 36310119-4FB2-4BA3-959D-74C16B849F9E + PACKAGE_VERSION =3D 1.0 + +[Includes] + Include diff --git a/Features/ManageabilityPkg/Include/CommonLibs.dsc.inc b/Feature= s/ManageabilityPkg/Include/CommonLibs.dsc.inc new file mode 100644 index 0000000000..2dc2d07f17 --- /dev/null +++ b/Features/ManageabilityPkg/Include/CommonLibs.dsc.inc @@ -0,0 +1,40 @@ +## @file +# Common libraries for Manageabilty Package +# +# Copyright (C) 2023 Advanced Micro Devices, Inc. All rights reserved.
+# SPDX-License-Identifier: BSD-2-Clause-Patent +# +## + +[LibraryClasses] + UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntry= Point.inf + UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBoo= tServicesTableLib.inf + UefiLib|MdePkg/Library/UefiLib/UefiLib.inf + BaseLib|MdePkg/Library/BaseLib/BaseLib.inf + BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf + PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf + DebugLib|MdePkg/Library/UefiDebugLibStdErr/UefiDebugLibStdErr.inf + PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf + DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseD= ebugPrintErrorLevelLib.inf + DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf + MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAll= ocationLib.inf + +[LibraryClasses.common.PEIM] + PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf + PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/= PeiServicesTablePointerLibIdt.inf + PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf + MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAlloc= ationLib.inf + HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf + +[LibraryClasses.common.DXE_SMM_DRIVER] + SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableL= ib.inf + MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAlloc= ationLib.inf + +[LibraryClasses.ARM, LibraryClasses.AARCH64] + # + # This library provides the instrinsic functions generated by a given co= mpiler. + # + NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf + NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf + ArmSoftFloatLib|ArmPkg/Library/ArmSoftFloatLib/ArmSoftFloatLib.inf + diff --git a/Features/ManageabilityPkg/ManageabilityPkg.dsc b/Features/Mana= geabilityPkg/ManageabilityPkg.dsc new file mode 100644 index 0000000000..9ae398277f --- /dev/null +++ b/Features/ManageabilityPkg/ManageabilityPkg.dsc @@ -0,0 +1,23 @@ +## @file +# Manageabilty Package +# This is the package provides edk2 drivers and libraries +# those are related to the platform management. +# +# Copyright (C) 2023 Advanced Micro Devices, Inc. All rights reserved.
+# SPDX-License-Identifier: BSD-2-Clause-Patent +# +## + +[Defines] + PLATFORM_NAME =3D ManageabilityPkg + PLATFORM_GUID =3D 7A98123A-B194-40B6-A863-A52192F6D65D + PLATFORM_VERSION =3D 1.0 + DSC_SPECIFICATION =3D 0x0001001e + OUTPUT_DIRECTORY =3D Build/ManageabilityPkg + SUPPORTED_ARCHITECTURES =3D IA32|X64|ARM|AARCH64|RISCV64 + BUILD_TARGETS =3D DEBUG|RELEASE|NOOPT + SKUID_IDENTIFIER =3D DEFAULT + +!include MdePkg/MdeLibs.dsc.inc +!include ManageabilityPkg/Include/CommonLibs.dsc.inc + --=20 2.37.1.windows.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 (#99751): https://edk2.groups.io/g/devel/message/99751 Mute This Topic: https://groups.io/mt/96810551/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Fri May 17 19:05:50 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+99749+1787277+3901457@groups.io; arc=fail (BodyHash is different from the expected one) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1675786988817318.9840870652239; Tue, 7 Feb 2023 08:23:08 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id 6XW7YY1788612x8fqgLZqutg; Tue, 07 Feb 2023 08:23:08 -0800 X-Received: from NAM12-BN8-obe.outbound.protection.outlook.com (NAM12-BN8-obe.outbound.protection.outlook.com [40.107.237.41]) by mx.groups.io with SMTP id smtpd.web10.87699.1675786987368336294 for ; Tue, 07 Feb 2023 08:23:07 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=IXU7q+WRqIRk9Gru1cBL+DTOFeHOA+zex0TwQyh3kDelG2uibQ6rloUroZU+KwSiX8m5n3+Jb93t6cZ/JSCDTBQch+YrJICNAYDZW8M+NUcUJ9kCtBs1A+UanR/UDC4jGIs70t2pufmPXumyOk++peeT7o+GVrMgJoBUotaQuj7rE9fVko9NJ2rvACeQRNth/UNVapX184/7k3JHabIgIexKuKvfbwq95JzQA9+/A6Qkd4y1wZWNVmW+VMaxoo0+OHHveWYNCyMiwBT5XJxa2/g9M7Ypaw9PltXT6UjghDu9b21zNyWEXsGslovXWa8F+yxMeFqMKUWDrnjg2ru2yg== 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=lrIWwafRzq95HYtL2l5BkSMOrtDHl+yDaktl8sfvNtY=; b=B9ovOWjBF31J6TlOAlqTQ4ibbMPF13h8pFTeNvtdg8HTczFFt4KbBURNrFsflVXDGwYRFcOLbgalmZZ9AQOl6zerI89i2xilJGPphvCx4sJxHFGC0ApadOPFwzWxZQt7BfARD69NZ7lRUBQW9OuxqWRYJIrqfjsHxr1qjnuFTmlNJH6GIoZsODxrpXGsqq3WSZQIjn5yUFTDTrYQpzqY5GLrOXvj4sRdHFzejN0Wm3iBojCNMQVRgldQC7EsLA9tjX2bbsSHaRDloZs8kB/VU+W8UQL4/LHiKkTnvHQ5iL32nB1Txuapfx/AxnpXXqEQaeFpa9rwa4Yf+UxofdCFtA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=edk2.groups.io smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none X-Received: from MW4P221CA0012.NAMP221.PROD.OUTLOOK.COM (2603:10b6:303:8b::17) by IA1PR12MB6330.namprd12.prod.outlook.com (2603:10b6:208:3e4::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6064.25; Tue, 7 Feb 2023 16:23:04 +0000 X-Received: from CO1NAM11FT037.eop-nam11.prod.protection.outlook.com (2603:10b6:303:8b:cafe::af) by MW4P221CA0012.outlook.office365.com (2603:10b6:303:8b::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6064.36 via Frontend Transport; Tue, 7 Feb 2023 16:23:04 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+99749+1787277+3901457@groups.io; helo=mail02.groups.io; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB04.amd.com; pr=C X-Received: from SATLEXMB04.amd.com (165.204.84.17) by CO1NAM11FT037.mail.protection.outlook.com (10.13.174.91) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.6086.16 via Frontend Transport; Tue, 7 Feb 2023 16:23:04 +0000 X-Received: from TPE-L1-ABNCHANG.amd.com (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.34; Tue, 7 Feb 2023 10:22:59 -0600 From: "Chang, Abner via groups.io" To: CC: Liming Gao , Isaac Oram , Nate DeSimone , Abdul Lateef Attar , Nickle Wang , "Igor Kulchytskyy" Subject: [edk2-devel] [edk2-platforms][PATCH 5/7] ManageabilityPkg: Implement Ipmi Protocol/Ppi Date: Wed, 8 Feb 2023 00:22:34 +0800 Message-ID: <20230207162236.1406-6-abner.chang@amd.com> In-Reply-To: <20230207162236.1406-1-abner.chang@amd.com> References: <20230207162236.1406-1-abner.chang@amd.com> MIME-Version: 1.0 X-Originating-IP: [10.180.168.240] X-ClientProxiedBy: SATLEXMB03.amd.com (10.181.40.144) To SATLEXMB04.amd.com (10.181.40.145) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CO1NAM11FT037:EE_|IA1PR12MB6330:EE_ X-MS-Office365-Filtering-Correlation-Id: fce1c42d-63c4-4183-1494-08db092796df X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Message-Info: mNZLAD92FXqvFK0mi5kvwOqEEi6+TPVBk11baCj3rtIyBcsTQ3wvJFurstJvp15W6uvupocS4J952h4a/1AH5VCgN0TtbIQjQeJJvJEM3mAuOIyhGLLMD2phaG9Qpz2gsGHJH4c9TWfk5DSw4N6EdS/nM1/UFyUNzfKgzOqeQoBYjBRhGG9JABrE+OrOCFI5QIzv64SMatflKyF5HtWbRRFsbXvD7+XBaUYrewRq+dSq5piAfUkxGpQLF7MDoT+0gRQiDZvgjU3B0NUVL3a8Qoc3cx1t3z0+edQS3lvMaXFWXYQT/evJ4cz1nO8heS/DJ/44yMrNqsoT+tFVeg2tQ8fUktUzcRwrt+RE+Ho5GIgvUob+YRkOI/uZLZKuMim/7jiingu+WTInzyARI6JKOqbC/0PNKcpor6xq0BuJbtUcMEZNrtqe9oydPs5llsYjEkV+O8AKhJKq3bjLXKSRjem+6LHty990YOfCGblRTns3vyuqCrOTEZEHIDmG05CgIHAwLtNorgZtMzRmrMe2DaogVADSCSKtNSBVnFM12fEVJOyflbJ3Au8QsnGl8dUZciwUwGedGPeo8VcjsgAPe/wmqSL4GeA4cr2zyMlUPs0ofH0AoI9Muo+AQ26w7Kai848CZdTNw/D7nHLGI6YNYKgPv1QzWp22UxGPMePXGHz932r7FPxmL8K31QpQ5besNtfbewe/xLu4vDsxy1XAIzYcrmKS01jDOcnE570TgYQ= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Feb 2023 16:23:04.0915 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: fce1c42d-63c4-4183-1494-08db092796df X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d;Ip=[165.204.84.17];Helo=[SATLEXMB04.amd.com] X-MS-Exchange-CrossTenant-AuthSource: CO1NAM11FT037.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA1PR12MB6330 Precedence: Bulk List-Unsubscribe: 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,abner.chang@amd.com X-Gm-Message-State: iBC4VZF5EYwz5z3BnU9WtmBAx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1675786988; bh=2uUriAWMFvk6Ust9ec4kBgtohfg4i3u74Pjh/hKc6ww=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=og/Ho/zm9Olv/R+Hmwgb30McsvNpK0FDEJyRfH1mmPiRzKH9Lsq+Zsng/2W/CLBURy9 maM4zMUh9IipxR7AwHlii+8JOuBRfCc3O6enVteA/YNac7822OMwQRsUUEln2D6hcx+iJ eTtwWmlq/i/wOgV/6wWabZFfIxL4dYimLwo= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1675786990641100019 Content-Type: text/plain; charset="utf-8" From: Abner Chang Add Ipmi Protocol/Ppi implementation. The underlying implementation is provided by IpmiBaseLib. Signed-off-by: Abner Chang Cc: Liming Gao Cc: Isaac Oram Cc: Nate DeSimone Cc: Abdul Lateef Attar Cc: Nickle Wang Cc: Igor Kulchytskyy --- .../IpmiProtocol/Dxe/IpmiProtocolDxe.inf | 37 +++++++ .../Universal/IpmiProtocol/Pei/IpmiPpiPei.inf | 38 +++++++ .../IpmiProtocol/Smm/IpmiProtocolSmm.inf | 40 +++++++ .../Universal/IpmiProtocol/Dxe/IpmiProtocol.c | 97 +++++++++++++++++ .../Universal/IpmiProtocol/Pei/IpmiPpi.c | 102 ++++++++++++++++++ .../Universal/IpmiProtocol/Smm/IpmiProtocol.c | 98 +++++++++++++++++ 6 files changed, 412 insertions(+) create mode 100644 Features/ManageabilityPkg/Universal/IpmiProtocol/Dxe/Ip= miProtocolDxe.inf create mode 100644 Features/ManageabilityPkg/Universal/IpmiProtocol/Pei/Ip= miPpiPei.inf create mode 100644 Features/ManageabilityPkg/Universal/IpmiProtocol/Smm/Ip= miProtocolSmm.inf create mode 100644 Features/ManageabilityPkg/Universal/IpmiProtocol/Dxe/Ip= miProtocol.c create mode 100644 Features/ManageabilityPkg/Universal/IpmiProtocol/Pei/Ip= miPpi.c create mode 100644 Features/ManageabilityPkg/Universal/IpmiProtocol/Smm/Ip= miProtocol.c diff --git a/Features/ManageabilityPkg/Universal/IpmiProtocol/Dxe/IpmiProto= colDxe.inf b/Features/ManageabilityPkg/Universal/IpmiProtocol/Dxe/IpmiProto= colDxe.inf new file mode 100644 index 0000000000..0737a5ad8f --- /dev/null +++ b/Features/ManageabilityPkg/Universal/IpmiProtocol/Dxe/IpmiProtocolDxe.= inf @@ -0,0 +1,37 @@ +## @file +# IPMI Protocol DXE Driver. +# +# Copyright (C) 2023 Advanced Micro Devices, Inc. All rights reserved.
+# SPDX-License-Identifier: BSD-2-Clause-Patent +## + +[Defines] + INF_VERSION =3D 0x0001001d + BASE_NAME =3D IpmiDxe + FILE_GUID =3D BC41B0C2-9D8A-42B5-A28F-02CE0D4A6C28 + MODULE_TYPE =3D DXE_DRIVER + VERSION_STRING =3D 1.0 + ENTRY_POINT =3D IpmiEntry + +# +# VALID_ARCHITECTURES =3D IA32 X64 ARM AARCH64 +# + +[Sources] + IpmiProtocol.c + +[Packages] + MdePkg/MdePkg.dec + MdeModulePkg/MdeModulePkg.dec + IpmiFeaturePkg/IpmiFeaturePkg.dec + +[LibraryClasses] + IpmiBaseLib + UefiDriverEntryPoint + UefiBootServicesTableLib + +[Protocols] + gIpmiProtocolGuid # PROTOCOL ALWAYS_PRODUCED + +[Depex] + TRUE diff --git a/Features/ManageabilityPkg/Universal/IpmiProtocol/Pei/IpmiPpiPe= i.inf b/Features/ManageabilityPkg/Universal/IpmiProtocol/Pei/IpmiPpiPei.inf new file mode 100644 index 0000000000..7ba8584f84 --- /dev/null +++ b/Features/ManageabilityPkg/Universal/IpmiProtocol/Pei/IpmiPpiPei.inf @@ -0,0 +1,38 @@ +## @file +# IPMI Protocol PEI Driver. +# +# Copyright (C) 2023 Advanced Micro Devices, Inc. All rights reserved.
+# SPDX-License-Identifier: BSD-2-Clause-Patent +## + +[Defines] + INF_VERSION =3D 0x0001001d + BASE_NAME =3D IpmiPei + FILE_GUID =3D 7832F989-CB72-4715-ADCA-35C0B031856C + MODULE_TYPE =3D PEIM + VERSION_STRING =3D 1.0 + ENTRY_POINT =3D IpmiEntry + +# +# The following information is for reference only and not required by the = build tools. +# +# VALID_ARCHITECTURES =3D IA32 X64 ARM AARCH64 +# + +[Sources] + IpmiPpi.c + +[Packages] + MdePkg/MdePkg.dec + MdeModulePkg/MdeModulePkg.dec + IpmiFeaturePkg/IpmiFeaturePkg.dec + +[LibraryClasses] + IpmiBaseLib + PeimEntryPoint + +[Ppis] + gPeiIpmiPpiGuid # PPI ALWAYS PRODUCED + +[Depex] + TRUE diff --git a/Features/ManageabilityPkg/Universal/IpmiProtocol/Smm/IpmiProto= colSmm.inf b/Features/ManageabilityPkg/Universal/IpmiProtocol/Smm/IpmiProto= colSmm.inf new file mode 100644 index 0000000000..25a5771cb3 --- /dev/null +++ b/Features/ManageabilityPkg/Universal/IpmiProtocol/Smm/IpmiProtocolSmm.= inf @@ -0,0 +1,40 @@ +## @file +# IPMI Protocol SMM Driver. +# +# Copyright (C) 2023 Advanced Micro Devices, Inc. All rights reserved.
+# SPDX-License-Identifier: BSD-2-Clause-Patent +## + +# +# The following information is for reference only and not required by the = build tools. +# +# VALID_ARCHITECTURES =3D IA32 X64 ARM AARCH64 +# +[Defines] + INF_VERSION =3D 0x0001001d + BASE_NAME =3D IpmiSmm + FILE_GUID =3D CDD5D1DE-E3D3-4B1F-8689-DCC66156= 1BB4 + MODULE_TYPE =3D DXE_SMM_DRIVER + PI_SPECIFICATION_VERSION =3D 0x0001000A + VERSION_STRING =3D 1.0 + ENTRY_POINT =3D IpmiEntry + +[Sources] + IpmiProtocol.c + +[Packages] + MdePkg/MdePkg.dec + MdeModulePkg/MdeModulePkg.dec + IpmiFeaturePkg/IpmiFeaturePkg.dec + +[LibraryClasses] + IpmiBaseLib + UefiDriverEntryPoint + UefiBootServicesTableLib + SmmServicesTableLib + +[Protocols] + gSmmIpmiProtocolGuid # PROTOCOL ALWAYS_PRODUCED + +[Depex] + TRUE diff --git a/Features/ManageabilityPkg/Universal/IpmiProtocol/Dxe/IpmiProto= col.c b/Features/ManageabilityPkg/Universal/IpmiProtocol/Dxe/IpmiProtocol.c new file mode 100644 index 0000000000..1f0b88052e --- /dev/null +++ b/Features/ManageabilityPkg/Universal/IpmiProtocol/Dxe/IpmiProtocol.c @@ -0,0 +1,97 @@ +/** @file + This file provides IPMI Protocol implementation. + + Copyright (C) 2023 Advanced Micro Devices, Inc. All rights reserved.
+ SPDX-License-Identifier: BSD-2-Clause-Patent +**/ + +#include +#include +#include +#include +#include + +/** + This service enables submitting commands via Ipmi. + + @param[in] This This point for IPMI_PROTOCOL struct= ure. + @param[in] NetFunction Net function of the command. + @param[in] Command IPMI Command. + @param[in] RequestData Command Request Data. + @param[in] RequestDataSize Size of Command Request Data. + @param[out] ResponseData Command Response Data. The completi= on code is the first byte of response data. + @param[in, out] ResponseDataSize Size of Command Response Data. + + @retval EFI_SUCCESS The command byte stream was successfully = submit to the device and a response was successfully received. + @retval EFI_NOT_FOUND The command was not successfully sent to = the device or a response was not successfully received from the device. + @retval EFI_NOT_READY Ipmi Device is not ready for Ipmi command= access. + @retval EFI_DEVICE_ERROR Ipmi Device hardware error. + @retval EFI_TIMEOUT The command time out. + @retval EFI_UNSUPPORTED The command was not successfully sent to = the device. + @retval EFI_OUT_OF_RESOURCES The resource allcation is out of resource= or data size error. +**/ +EFI_STATUS +EFIAPI +IpmiSubmitCommand ( + IN IPMI_PROTOCOL *This, + IN UINT8 NetFunction, + IN UINT8 Command, + IN UINT8 *RequestData, + IN UINT32 RequestDataSize, + OUT UINT8 *ResponseData, + IN OUT UINT32 *ResponseDataSize + ) +{ + EFI_STATUS Status; + + Status =3D IpmiSendCommand ( + NetFunction, + Command, + RequestData, + RequestDataSize, + ResponseData, + ResponseDataSize + ); + if (EFI_ERROR (Status)) { + DEBUG ((DEBUG_ERROR, "%a: Failed to send IPMI command in DXE - %r\n", = __FUNCTION__, Status)); + } + + return Status; +} + +static IPMI_PROTOCOL mIpmiProtocol =3D { + IpmiSubmitCommand +}; + +/** + The entry point of the Ipmi DXE driver. + + @param[in] ImageHandle - Handle of this driver image + @param[in] SystemTable - Table containing standard EFI services + + @retval EFI_SUCCESS - IPMI Protocol is installed successfully. + @retval Otherwise - Other errors. +**/ +EFI_STATUS +EFIAPI +IpmiEntry ( + IN EFI_HANDLE ImageHandle, + IN EFI_SYSTEM_TABLE *SystemTable + ) +{ + EFI_STATUS Status; + EFI_HANDLE Handle; + + Handle =3D NULL; + Status =3D gBS->InstallProtocolInterface ( + &Handle, + &gIpmiProtocolGuid, + EFI_NATIVE_INTERFACE, + (VOID **)&mIpmiProtocol + ); + if (EFI_ERROR (Status)) { + DEBUG ((DEBUG_ERROR, "%a: Failed to install IPMI protocol - %r\n", __F= UNCTION__, Status)); + } + + return Status; +} diff --git a/Features/ManageabilityPkg/Universal/IpmiProtocol/Pei/IpmiPpi.c= b/Features/ManageabilityPkg/Universal/IpmiProtocol/Pei/IpmiPpi.c new file mode 100644 index 0000000000..913a9b0811 --- /dev/null +++ b/Features/ManageabilityPkg/Universal/IpmiProtocol/Pei/IpmiPpi.c @@ -0,0 +1,102 @@ +/** @file + This file provides IPMI PPI implementation. + + Copyright (C) 2023 Advanced Micro Devices, Inc. All rights reserved.
+ SPDX-License-Identifier: BSD-2-Clause-Patent + +**/ + +#include +#include +#include +#include +#include + +/** + This service enables submitting commands via Ipmi. + + @param[in] This This point for PEI_IPMI_PPI structu= re. + @param[in] NetFunction Net function of the command. + @param[in] Command IPMI Command. + @param[in] RequestData Command Request Data. + @param[in] RequestDataSize Size of Command Request Data. + @param[out] ResponseData Command Response Data. The completi= on code is the first byte of response data. + @param[in, out] ResponseDataSize Size of Command Response Data. + + @retval EFI_SUCCESS The command byte stream was successfully = submit to the device and a response was successfully received. + @retval EFI_NOT_FOUND The command was not successfully sent to = the device or a response was not successfully received from the device. + @retval EFI_NOT_READY Ipmi Device is not ready for Ipmi command= access. + @retval EFI_DEVICE_ERROR Ipmi Device hardware error. + @retval EFI_TIMEOUT The command time out. + @retval EFI_UNSUPPORTED The command was not successfully sent to = the device. + @retval EFI_OUT_OF_RESOURCES The resource allcation is out of resource= or data size error. +**/ +EFI_STATUS +EFIAPI +IpmiSubmitCommand ( + IN PEI_IPMI_PPI *This, + IN UINT8 NetFunction, + IN UINT8 Command, + IN UINT8 *RequestData, + IN UINT32 RequestDataSize, + OUT UINT8 *ResponseData, + IN OUT UINT32 *ResponseDataSize + ) +{ + EFI_STATUS Status; + + Status =3D IpmiSendCommand ( + NetFunction, + Command, + RequestData, + RequestDataSize, + ResponseData, + ResponseDataSize + ); + if (EFI_ERROR (Status)) { + DEBUG ((DEBUG_ERROR, "%a: Failed to send IPMI command in PEI- %r\n", _= _FUNCTION__, Status)); + } + + return Status; +} + +static PEI_IPMI_PPI mPeiIpmiPpi =3D { + IpmiSubmitCommand +}; + +static EFI_PEI_PPI_DESCRIPTOR mIpmiPpiList[] =3D { + { + (EFI_PEI_PPI_DESCRIPTOR_PPI | EFI_PEI_PPI_DESCRIPTOR_TERMINATE_LIST), + &gPeiIpmiPpiGuid, + &mPeiIpmiPpi + } +}; + +/** + The entry point of the Ipmi PPI PEIM. + + @param FileHandle Handle of the file being invoked. + @param PeiServices Describes the list of possible PEI Services. + + @retval EFI_SUCCESS Indicates that Ipmi initialization completed succe= ssfully. + @retval Others Indicates that Ipmi initialization could not compl= ete successfully. +**/ +EFI_STATUS +EFIAPI +IpmiEntry ( + IN EFI_PEI_FILE_HANDLE FileHandle, + IN CONST EFI_PEI_SERVICES **PeiServices + ) +{ + EFI_STATUS Status; + + // + // Install IPMI PPI. + // + Status =3D PeiServicesInstallPpi (&mIpmiPpiList[0]); + if (EFI_ERROR (Status)) { + DEBUG ((DEBUG_ERROR, "%a: Failed to install IPMI PPI - %r\n", __FUNCTI= ON__, Status)); + } + + return Status; +} diff --git a/Features/ManageabilityPkg/Universal/IpmiProtocol/Smm/IpmiProto= col.c b/Features/ManageabilityPkg/Universal/IpmiProtocol/Smm/IpmiProtocol.c new file mode 100644 index 0000000000..ed14f9fbd1 --- /dev/null +++ b/Features/ManageabilityPkg/Universal/IpmiProtocol/Smm/IpmiProtocol.c @@ -0,0 +1,98 @@ +/** @file + This file provides IPMI SMM Protocol implementation. + + Copyright (C) 2023 Advanced Micro Devices, Inc. All rights reserved.
+ SPDX-License-Identifier: BSD-2-Clause-Patent +**/ + +#include +#include +#include +#include +#include +#include + +/** + This service enables submitting commands via Ipmi. + + @param[in] This This point for IPMI_PROTOCOL struct= ure. + @param[in] NetFunction Net function of the command. + @param[in] Command IPMI Command. + @param[in] RequestData Command Request Data. + @param[in] RequestDataSize Size of Command Request Data. + @param[out] ResponseData Command Response Data. The completi= on code is the first byte of response data. + @param[in, out] ResponseDataSize Size of Command Response Data. + + @retval EFI_SUCCESS The command byte stream was successfully = submit to the device and a response was successfully received. + @retval EFI_NOT_FOUND The command was not successfully sent to = the device or a response was not successfully received from the device. + @retval EFI_NOT_READY Ipmi Device is not ready for Ipmi command= access. + @retval EFI_DEVICE_ERROR Ipmi Device hardware error. + @retval EFI_TIMEOUT The command time out. + @retval EFI_UNSUPPORTED The command was not successfully sent to = the device. + @retval EFI_OUT_OF_RESOURCES The resource allcation is out of resource= or data size error. +**/ +EFI_STATUS +EFIAPI +IpmiSubmitCommand ( + IN IPMI_PROTOCOL *This, + IN UINT8 NetFunction, + IN UINT8 Command, + IN UINT8 *RequestData, + IN UINT32 RequestDataSize, + OUT UINT8 *ResponseData, + IN OUT UINT32 *ResponseDataSize + ) +{ + EFI_STATUS Status; + + Status =3D IpmiSendCommand ( + NetFunction, + Command, + RequestData, + RequestDataSize, + ResponseData, + ResponseDataSize + ); + if (EFI_ERROR (Status)) { + DEBUG ((DEBUG_ERROR, "%a: Failed to send IPMI command in DXE - %r\n", = __FUNCTION__, Status)); + } + + return Status; +} + +static IPMI_PROTOCOL mIpmiProtocol =3D { + IpmiSubmitCommand +}; + +/** + The entry point of the Ipmi DXE driver. + + @param[in] ImageHandle - Handle of this driver image + @param[in] SystemTable - Table containing standard EFI services + + @retval EFI_SUCCESS - IPMI Protocol is installed successfully. + @retval Otherwise - Other errors. +**/ +EFI_STATUS +EFIAPI +IpmiEntry ( + IN EFI_HANDLE ImageHandle, + IN EFI_SYSTEM_TABLE *SystemTable + ) +{ + EFI_STATUS Status; + EFI_HANDLE Handle; + + Handle =3D NULL; + Status =3D gSmst->SmmInstallProtocolInterface ( + &Handle, + &gSmmIpmiProtocolGuid, + EFI_NATIVE_INTERFACE, + (VOID **)&mIpmiProtocol + ); + if (EFI_ERROR (Status)) { + DEBUG ((DEBUG_ERROR, "%a: Failed to install IPMI SMM protocol - %r\n",= __FUNCTION__, Status)); + } + + return Status; +} --=20 2.37.1.windows.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 (#99749): https://edk2.groups.io/g/devel/message/99749 Mute This Topic: https://groups.io/mt/96810546/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Fri May 17 19:05:50 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+99748+1787277+3901457@groups.io; arc=fail (BodyHash is different from the expected one) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1675786988253536.0232913673651; Tue, 7 Feb 2023 08:23:08 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id KvMbYY1788612x1Wjh6O7cup; Tue, 07 Feb 2023 08:23:07 -0800 X-Received: from NAM04-DM6-obe.outbound.protection.outlook.com (NAM04-DM6-obe.outbound.protection.outlook.com [40.107.102.62]) by mx.groups.io with SMTP id smtpd.web10.87694.1675786987136704017 for ; Tue, 07 Feb 2023 08:23:07 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Mv6/CmByqmOaWHxyAPVfkFsmaaMQaRdt4ylcr1t0ZMunHyxF8n9s1j3BsyG554pYUhGWcr3DTn8lIS/BhIHtL5ryuVbR+DmjaMzOJ/Rhu7qbRt/QEmhxnW/k2d9Aw4h0zHwk3lNhqf9ZztuL+FdtAoSEg8g4R4wgYPmf1EcxIqWEBTwPW/OnK3D6echwu1sQs7nXHneb2vE8CNv7v/HjAvSvB+qnkRNSIN0c0CZOCx21Wc9M6CW/d++Y+RXuktK4hlkSJVXIwMVZwyn5G18JOEt2oeJ/LcQXeKUrlbCYWxWYajOOhJH2UEsl+i3xy1c91qznE9zp9DMgezEIb3b1Dg== 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=JQ31kiRfK9XxkrkxsjXdYlAbw5iHJ3KT6Sc4lzarddo=; b=YuxLZaIYEknKeBR3edS86zyuWI5yAikuLNS7JvJH4e0ukyFOxWExwVM/s6+DAT4l/b1zmOv7KlupmnfoBk4Dhb4cXsFbt3VRwkWUZ9fdEHqRSKd4EarNfxoKY0V4hWbpTGEV0YpDrI8mR/IgtFPjifJ+WFLBtAxYj1vJgs9d3c+bglhhsEp6+TIOh32q4F5CUcpExW9gvRbQ5EfeyYo0ofUMFerZGfw+gjPRWM7bhctNcECFMjnTVNB314c31kx9FgYnapUZS6b/ElHoGEOeW7vaj0oyBLud6JpM5kWHnXbQ3Z2MkTv+iIzZBQookmLALGzx3dAe7RBer1abzESPGg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=edk2.groups.io smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none X-Received: from MW4P221CA0021.NAMP221.PROD.OUTLOOK.COM (2603:10b6:303:8b::26) by SJ1PR12MB6195.namprd12.prod.outlook.com (2603:10b6:a03:457::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6064.32; Tue, 7 Feb 2023 16:23:05 +0000 X-Received: from CO1NAM11FT037.eop-nam11.prod.protection.outlook.com (2603:10b6:303:8b:cafe::1b) by MW4P221CA0021.outlook.office365.com (2603:10b6:303:8b::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6064.36 via Frontend Transport; Tue, 7 Feb 2023 16:23:05 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+99748+1787277+3901457@groups.io; helo=mail02.groups.io; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB04.amd.com; pr=C X-Received: from SATLEXMB04.amd.com (165.204.84.17) by CO1NAM11FT037.mail.protection.outlook.com (10.13.174.91) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.6086.16 via Frontend Transport; Tue, 7 Feb 2023 16:23:04 +0000 X-Received: from TPE-L1-ABNCHANG.amd.com (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.34; Tue, 7 Feb 2023 10:23:00 -0600 From: "Chang, Abner via groups.io" To: CC: Liming Gao , Isaac Oram , Nate DeSimone , Abdul Lateef Attar , Nickle Wang , "Igor Kulchytskyy" Subject: [edk2-devel] [edk2-platforms][PATCH 6/7] IpmiProtocol: Add to Manageability Package Date: Wed, 8 Feb 2023 00:22:35 +0800 Message-ID: <20230207162236.1406-7-abner.chang@amd.com> In-Reply-To: <20230207162236.1406-1-abner.chang@amd.com> References: <20230207162236.1406-1-abner.chang@amd.com> MIME-Version: 1.0 X-Originating-IP: [10.180.168.240] X-ClientProxiedBy: SATLEXMB03.amd.com (10.181.40.144) To SATLEXMB04.amd.com (10.181.40.145) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CO1NAM11FT037:EE_|SJ1PR12MB6195:EE_ X-MS-Office365-Filtering-Correlation-Id: 5e7664f6-33eb-47a6-21cb-08db0927974f X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Message-Info: hTLkdK4iM8o9DUkON1BWM2wrJRY2fRqIZPlOE8Ws+aPCoBVeU90KvzCp/4P744yTdAHEJn7jzsFXJE5m1us67dXA94qAv1Wi5jyoqcgZatvAZSTqhWUBcPhzryjKscAQSlIMQAWEWl0rW7EE5g6KYnngS/ydOt+IM/tEZX/Hl11ekpFq8yp4Em6Fu62G3739esrnsvBq35iUII3s2Z9V0vws+pfyfk3LeO915/XQHKvf1iQu/0/0P4W6sIi3wecMc32zSgUNMGPoHT3VLOHegdzEzymdBY1jOrGzbIQJGvAytSRDujE4xR/g7O+ZkHGvhL1aJ4kC4wnqL9cRuFkLNKQ0Aa6QKjIGvVie8C0Xm4sgl2O//ytP3Fd0aWR84u8Uk9PpbV+dosbQeIEV/I00lpuZVLKdMSl38Zkk/8n+jK2Ze0Ke7qv6SM5/a3CwRe0Y5OJgK5z1adweq9hl43rNQeeOYNGuJILRycd/cVkx03oPc+gg74bAOQtQV7yy7NUEItBv6N8otA3dHJ1pnxFwkikBC69u0KPxenLncUKF87rpdv9bxwoTp8SaY5dz4mSWGihz8JZzX/yay9f6DzzHahbyLTELXTU+G1O4bfFSVBnlrBHeoKeBOpwjo9C4IJxGOMXShZ8o0RHJ4Xx8wXrlIP9srPlhHEcKBIv9qqADOHYam3ofziDHDRdrAD0isJ3kz2eDgCvZg1nt4Rqf1/duSst2+ceo0OGHFOK2ZzBm1QA= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Feb 2023 16:23:04.8258 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 5e7664f6-33eb-47a6-21cb-08db0927974f X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d;Ip=[165.204.84.17];Helo=[SATLEXMB04.amd.com] X-MS-Exchange-CrossTenant-AuthSource: CO1NAM11FT037.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ1PR12MB6195 Precedence: Bulk List-Unsubscribe: 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,abner.chang@amd.com X-Gm-Message-State: HP3WVzkn1CrnJ06xkUP1ylg8x1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1675786987; bh=Pk9HGzplzkhh+Z7GRTjRx7ZKm5KccplMl7pp9ts6oRI=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=j1poERHZJgCU0UXRRR6AjKf1SYTBj3oq+0M44uz9SFff3N6x4IDMbaTV0ebJQU1YpZK f0fKL7Z5gs8TMP3Y6Hfpu3SMi8j5F1inOwkILq+fpw0QEug6RkMp56LRijk80fDQoMmZh V0E1EF3UWJTcuRsUOsKTR9OKpRUyhfWzjYI= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1675786988611100011 Content-Type: text/plain; charset="utf-8" From: Abner Chang Add Ipmi Protocol/Ppi module to ManageabilityPkg. Signed-off-by: Abner Chang Cc: Liming Gao Cc: Isaac Oram Cc: Nate DeSimone Cc: Abdul Lateef Attar Cc: Nickle Wang Cc: Igor Kulchytskyy --- Features/ManageabilityPkg/Include/CommonLibs.dsc.inc | 12 ++++++++++++ Features/ManageabilityPkg/ManageabilityPkg.dsc | 4 ++++ 2 files changed, 16 insertions(+) diff --git a/Features/ManageabilityPkg/Include/CommonLibs.dsc.inc b/Feature= s/ManageabilityPkg/Include/CommonLibs.dsc.inc index 2dc2d07f17..40094dea7b 100644 --- a/Features/ManageabilityPkg/Include/CommonLibs.dsc.inc +++ b/Features/ManageabilityPkg/Include/CommonLibs.dsc.inc @@ -38,3 +38,15 @@ NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf ArmSoftFloatLib|ArmPkg/Library/ArmSoftFloatLib/ArmSoftFloatLib.inf =20 +# +# IPMI Libraries, will move these libraries to under ManageabilityPkg late= r. +# +[LibraryClasses.common.DXE_DRIVER] + IpmiBaseLib|IpmiFeaturePkg/Library/IpmiBaseLib/IpmiBaseLib.inf + +[LibraryClasses.common.PEIM] + IpmiBaseLib|IpmiFeaturePkg/Library/PeiIpmiBaseLib/PeiIpmiBaseLib.inf + +[LibraryClasses.common.DXE_SMM_DRIVER] + IpmiBaseLib|IpmiFeaturePkg/Library/SmmIpmiBaseLib/SmmIpmiBaseLib.inf + diff --git a/Features/ManageabilityPkg/ManageabilityPkg.dsc b/Features/Mana= geabilityPkg/ManageabilityPkg.dsc index 9ae398277f..6b555502ff 100644 --- a/Features/ManageabilityPkg/ManageabilityPkg.dsc +++ b/Features/ManageabilityPkg/ManageabilityPkg.dsc @@ -21,3 +21,7 @@ !include MdePkg/MdeLibs.dsc.inc !include ManageabilityPkg/Include/CommonLibs.dsc.inc =20 +[Components] + ManageabilityPkg/Universal/IpmiProtocol/Dxe/IpmiProtocolDxe.inf + ManageabilityPkg/Universal/IpmiProtocol/Smm/IpmiProtocolSmm.inf + ManageabilityPkg/Universal/IpmiProtocol/Pei/IpmiPpiPei.inf --=20 2.37.1.windows.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 (#99748): https://edk2.groups.io/g/devel/message/99748 Mute This Topic: https://groups.io/mt/96810545/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Fri May 17 19:05:50 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+99750+1787277+3901457@groups.io; arc=fail (BodyHash is different from the expected one) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1675786989687710.8879886443825; Tue, 7 Feb 2023 08:23:09 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id b8aCYY1788612x3ZqVdtKPad; Tue, 07 Feb 2023 08:23:09 -0800 X-Received: from NAM12-DM6-obe.outbound.protection.outlook.com (NAM12-DM6-obe.outbound.protection.outlook.com [40.107.243.64]) by mx.groups.io with SMTP id smtpd.web11.87919.1675786988030403364 for ; Tue, 07 Feb 2023 08:23:08 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Jk5mBsNUv5P+A+oN6Ev3mKlLciYnEis99lzjlJW3Ghv7nXMyPaJAdvYZknntQwfWw0kVhnJgOlf7JShbY7WCQvORYGdXhfnmVBOOcJm7XlpLOAoPVbRimf/PtYgIVFL58S+cbPzpXBEsLUsbyISVD3Ts0vo7BF7PNDQzV65QlTgZMHUTnIsVNtF1K1lpX0odPBZ5r+v29nbJL57xvAlYggpMo9XVqFuSzrpl5hV3D/vQu4hgL/JUm7zkkTRJFqd8bzwJb1dnlbMoQGcyCJg6qti4FjjW9p+5clmKstPgz9bx28+v9JZgVCY5RwZAjoXdyPnCCSq5H3CAl6K7OYDG3Q== 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=1HWZ5WkxsA3j80prOAFuVVyzROAK0DGFpfXZZW/irkM=; b=ON+AKooARzXiNqrgRT63X72yJ4CXrnbmipN1CQu0xHja8XNUheuvceCPcqpzUKBGG0Fv8dBCxZh0jouMyUzP/4p4a4ur5UHiMd713XMMrDFZv19PjuAFjhtdrx9oNPlzsF879oiXp+ybKzvN1o4Zh85Vs4oIUaEll6j/C7WszJTgLHu//2SMQb263Z+YMmb8WQv0cU0g4JOsuwV2L5lUoq248QIRvZUthx6HQBphmf2wxuHC60sEVQ44uqqcnaXawHw/dnEYkMX0vovcJPP0AlctKpw98hsZPjTqCfxBNPmIjTRlB40K67ejctRal6GuuPK3X525/fW+TN8R9+iWyQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=edk2.groups.io smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none X-Received: from MW4P221CA0023.NAMP221.PROD.OUTLOOK.COM (2603:10b6:303:8b::28) by IA0PR12MB7773.namprd12.prod.outlook.com (2603:10b6:208:431::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6064.36; Tue, 7 Feb 2023 16:23:06 +0000 X-Received: from CO1NAM11FT037.eop-nam11.prod.protection.outlook.com (2603:10b6:303:8b:cafe::39) by MW4P221CA0023.outlook.office365.com (2603:10b6:303:8b::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6064.36 via Frontend Transport; Tue, 7 Feb 2023 16:23:05 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+99750+1787277+3901457@groups.io; helo=mail02.groups.io; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB04.amd.com; pr=C X-Received: from SATLEXMB04.amd.com (165.204.84.17) by CO1NAM11FT037.mail.protection.outlook.com (10.13.174.91) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.6086.16 via Frontend Transport; Tue, 7 Feb 2023 16:23:05 +0000 X-Received: from TPE-L1-ABNCHANG.amd.com (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.34; Tue, 7 Feb 2023 10:23:00 -0600 From: "Chang, Abner via groups.io" To: CC: Abdul Lateef Attar , Leif Lindholm , Michael D Kinney , Liming Gao , Isaac Oram , Nate DeSimone Subject: [edk2-devel] [edk2-platforms][PATCH 7/7] edk2-platforms: Maintainers.txt Date: Wed, 8 Feb 2023 00:22:36 +0800 Message-ID: <20230207162236.1406-8-abner.chang@amd.com> In-Reply-To: <20230207162236.1406-1-abner.chang@amd.com> References: <20230207162236.1406-1-abner.chang@amd.com> MIME-Version: 1.0 X-Originating-IP: [10.180.168.240] X-ClientProxiedBy: SATLEXMB03.amd.com (10.181.40.144) To SATLEXMB04.amd.com (10.181.40.145) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CO1NAM11FT037:EE_|IA0PR12MB7773:EE_ X-MS-Office365-Filtering-Correlation-Id: 3fe3024c-c770-4f64-e10d-08db092797b0 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Message-Info: jzTDwjiiAucWuEcjwA4HqEINkraLK+2xcqKGNauzhfz0G5RB8+JKPYAdb5saF8l4eaU4ecemfv1p0Vmv+1hgBjFcDhqfk9wSJuaC1aiCWjtUGHrkf7xDCO5zoH2t8mAL66oJDc2AxAVO5VPMTXr7lAJCWsr3S6zgILZABeQM66xbE0yfyoO8ty46OackRVw/a2G2ehnsMA8+nzjpXaBQuC977DTgUk4MuUOi3zaTtfDnTo9Z8tMAnuz8iDnmQcWPpNh+IpNS6Jn1+6Qq9Yv/N+OtWKXKSyCb/1+okIrXiyOgpumoOi1PfS3C8fl1X2Hru/barIs0Uht5sklgOfEuJQr0m/cxNMo1rVqpX7u/2w22YIXtWfLzwtHNPKIH2Rd5XG+6mRNVOQlPg650Ed3ueJ/fPFy7bUPrX6OBQTP6XMhdlkfdVpEQyOkRVX7/YQn+7fcEx0RdBgundilPIrk5HWRCCzlJal6HsNBxDs24Z4iiCA9C70co/VBjRFoMkJEQJBmEwLw7xRU4KuCieS20mugA6h3QBjLWPiYak6krrzvhMtwURtgSppf2qqsuU5j/mU8S7YS6oPkxmhJSBk0ym2+Qu2GhUt0qPVhiAVUxKfgfyf+6bRDvGIC9hSgfQM36AiBGyB+pyQ06G0uS/Ggnsqe2DJTnrvi/9QhBM8uwSSksLPxoZQdFHYy/qZgu61gU25v9GeZ2Lqc+87W1wnfCns2oQEV3+LedmikxWTnLTEE= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Feb 2023 16:23:05.4664 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 3fe3024c-c770-4f64-e10d-08db092797b0 X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d;Ip=[165.204.84.17];Helo=[SATLEXMB04.amd.com] X-MS-Exchange-CrossTenant-AuthSource: CO1NAM11FT037.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA0PR12MB7773 Precedence: Bulk List-Unsubscribe: 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,abner.chang@amd.com X-Gm-Message-State: hHnDz9imfFrQCON3OrXWaOp1x1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1675786989; bh=FvoCAyJDRzLcWpnKZXBUdDzP2WKcA72vZf6PWJhcJi8=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=w1XUaua9O75jvIc8rtusDlIYsyuEXy/ZPBOPF5zkNd32Zm4tUQ6187VmMr15hMaRl7Y mPZv2mQi93LbVBBf2Zd0kPg+943O5PW09jSY3DlhYDECH4/za/2nkT4UCLkGjWUteTqRv JjxOfwfimbvqRFkJ8Qx51ixqZ+IsLmv32Pw= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1675786990615100017 Content-Type: text/plain; charset="utf-8" From: Abner Chang Add maintainer and reviewer of ManageabilityPkg. Signed-off-by: Abner Chang Cc: Abdul Lateef Attar Cc: Leif Lindholm Cc: Michael D Kinney Cc: Liming Gao Cc: Isaac Oram Cc: Nate DeSimone Reviewed-by: Michael D Kinney --- Maintainers.txt | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Maintainers.txt b/Maintainers.txt index da1c98638d..1bd7838d61 100644 --- a/Maintainers.txt +++ b/Maintainers.txt @@ -164,6 +164,11 @@ F: Features/Intel/UserInterface/ M: Dandan Bi R: Liming Gao =20 +Features/ManageabilityPkg +F: Features/ManageabilityPkg/ +M: Abner Chang +R: Abdul Lateef Attar + Platform/Intel F: Platform/Intel/ M: Sai Chaganty @@ -326,10 +331,10 @@ R: Yuwei Chen =20 Loongson platforms F: Platform/Loongson/ -M: Bibo Mao =20 +M: Bibo Mao M: Xianglai li M: Chao Li -=20 + Marvell platforms and silicon F: Platform/Marvell/ F: Platform/SolidRun/Armada80x0McBin/ --=20 2.37.1.windows.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 (#99750): https://edk2.groups.io/g/devel/message/99750 Mute This Topic: https://groups.io/mt/96810548/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-