From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (NAM12-MW2-obe.outbound.protection.outlook.com [40.107.244.79]) by mx.groups.io with SMTP id smtpd.web11.8262.1678285030077233940 for ; Wed, 08 Mar 2023 06:17:10 -0800 Authentication-Results: mx.groups.io; dkim=fail reason="body hash did not verify" header.i=@amd.com header.s=selector1 header.b=26QKrsTv; spf=permerror, err=parse error for token &{10 18 %{i}._ip.%{h}._ehlo.%{d}._spf.vali.email}: invalid domain name (domain: amd.com, ip: 40.107.244.79, mailfrom: abner.chang@amd.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mVEeP+T7jKlBMkeBtUp2H1622XIAq7HECMtnUM2ESRysDd8AzptUIaoG25UMNK9/bnq8Pp8OuJIlBpS1RTHirhqegT93geeTavpMYwofUPZPazFrexi4P/pUzv3QfxTKLISlU/cBecVl6OQRhuhgipE04bY9ny0QaCTBE/3aJup1RfFofayDXSPBgPXGcA5DZK8nLU8heRQex7qs4mbj5w+f4q6cQ9Pr8axSMkrRHtthuJ/kzMB20XacI7xW+9bMbvetncHJCDw8l3QlS7dLHDYzjWsyGrV9f0zxjO1LMQl/Or/rNIVbKQKz2HIeLbYaS7QZ5M2BQaGVr9PVnEPNbQ== 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=MwEIEJet1JYzYJqIp+z75ZxAhME7EpyRjVjc7kALWkk=; b=SJZgf3EAoXYQ5PGRUO72ThBTuHuwIvsSG1NJvsOAjfuTsET0RP7Tutxa4NBln60tKFuhDNhe/arYaJBt7kCP8wVaW68AtRTxlJPh6iIyQc+Hsob81/ghEMI/HzhrGr6wtK44Zbhw5yPUs/3e/iOHIf+wkluY2Y1yI0QU5eTOWvIjbfX5M+2teqPoZjqpgkVrU2uLjrPfdklq8k4dk6lwuj4DGXlpN5FLZd8N/wGM7uqSowpkouAolXWR28/c3TBExVSesa/i83+f8zKr2ZkPogT8dFi5JULSZI9Am4SZ+G7iH/H1eWlL//Lk2yKfu6XJiy8g18t6AxHLTfh8u+oaZQ== 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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=MwEIEJet1JYzYJqIp+z75ZxAhME7EpyRjVjc7kALWkk=; b=26QKrsTv2muFVlgkS1vzs67mX9o7No8JGXouhTinxdD9v9GUM1SEziPmaxilX3Um2KhRfc4i3G4LseGg4uOuVcmPDxLeqPd9TeLpYQ1AuGJWO7pxRhEbWG1K9+bCqCyVW1YZJ2gRO03ETl/OUUDTcRQThmWueeTul67zpFECmy4= Received: from CY5PR03CA0015.namprd03.prod.outlook.com (2603:10b6:930:8::43) by PH0PR12MB8800.namprd12.prod.outlook.com (2603:10b6:510:26f::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6156.29; Wed, 8 Mar 2023 14:17:08 +0000 Received: from CY4PEPF0000C982.namprd02.prod.outlook.com (2603:10b6:930:8:cafe::e6) by CY5PR03CA0015.outlook.office365.com (2603:10b6:930:8::43) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6178.17 via Frontend Transport; Wed, 8 Mar 2023 14:17:07 +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 (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 Received: from SATLEXMB04.amd.com (165.204.84.17) by CY4PEPF0000C982.mail.protection.outlook.com (10.167.241.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.6178.13 via Frontend Transport; Wed, 8 Mar 2023 14:17:07 +0000 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; Wed, 8 Mar 2023 08:17:02 -0600 From: "Chang, Abner" To: CC: Abdul Lateef Attar , Leif Lindholm , Michael D Kinney , Liming Gao , Isaac Oram , Nickle Wang Subject: [edk2-platforms][PATCH V2 0/8] Introduce ManageabilityPkg Date: Wed, 8 Mar 2023 22:16:39 +0800 Message-ID: <20230308141647.1318-1-abner.chang@amd.com> X-Mailer: git-send-email 2.37.1.windows.1 MIME-Version: 1.0 Return-Path: Abner.Chang@amd.com X-Originating-IP: [10.180.168.240] X-ClientProxiedBy: SATLEXMB04.amd.com (10.181.40.145) To SATLEXMB04.amd.com (10.181.40.145) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CY4PEPF0000C982:EE_|PH0PR12MB8800:EE_ X-MS-Office365-Filtering-Correlation-Id: df21b922-b0cb-43ab-a44d-08db1fdfcccd X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: dlh4+jBRykahDRfOKRBAT4KiKYeHb2Fo9mboVY8pE924UDagrSm444vb0p8cvOdQLv+CVXbmVX3TIdeTPU1r9fmI/NiOaExuHiiTUGQoazbjHGcGIXlVZqy6qqiiMesKg71f1cl2PXd3uNI5I9vIGHxl0BjvVp+1BQNe+Z30rDZJ54kj6IYHI8Hm4z55L3zrkbPJ6pKQBI9OVQQxqYucc20WP1y01UmJ4CGHbe4t8wWeBVA/PWczKmkpUeceE4JLOXQgSXoDlEdTAy5pMGUzn7JMJAac/31YmJiNLMYYCVvvNItORKirBSXzwvMVnm0J2fXLl/hnxvld4+shizXt3EVS+pygL5h4/HHoxmtna8+GO7elPAcAtjY2SiJ4nN3av+AqebznFKuUehJakoP6Qq37gWNcQbBKztEpVY68KfkaPwpJYdjdhoYsxyQ/ImCfw9pQlEcppAzbyAWJf03FSy+gmu9x7tJA4spVwzSH4fkBEtlH1nXmSH5Ldqy55I8wsViUJnyfz/CMaTnEK5lAFtuFxVKfw1L11fGJCd6OzbPq1S6HtnyLEws7g1V+6wvb3pvuXmYY1Uowepcwh4ly191h4PX7YR1U/BapwhRGXMTxHcgslurhk1k565wmF1stuXO3fUdWIjVpHVO7O7OAwkbOWQR4DvVmcMO0LYZ1r6Z69JOK6loZFXsjxfBN1zdluE/+7ey4Ng8UB+ZPuTTFErRrnRDdASjkBQ5zc5OVNOA= X-Forefront-Antispam-Report: CIP:165.204.84.17;CTRY:US;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:SATLEXMB04.amd.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230025)(4636009)(346002)(396003)(136003)(39860400002)(376002)(451199018)(46966006)(36840700001)(40470700004)(83380400001)(4326008)(6916009)(8676002)(70206006)(70586007)(186003)(86362001)(81166007)(40480700001)(2616005)(16526019)(82310400005)(336012)(356005)(36860700001)(82740400003)(36756003)(478600001)(966005)(6666004)(47076005)(40460700003)(426003)(26005)(54906003)(7696005)(1076003)(316002)(2906002)(8936002)(5660300002)(41300700001)(2876002)(36900700001);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Mar 2023 14:17:07.6004 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: df21b922-b0cb-43ab-a44d-08db1fdfcccd 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: CY4PEPF0000C982.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR12MB8800 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain From: Abner Chang edk2 ManageabilityPkg is introduced to provide edk2 drivers and libraries for industry platform management standards, such as PLDM (Platform Level Data Model), MCTP (Management Component Transfer Protocol), IPMI (Intelligent Platform Management Interface) and others. The framework of ManageabilityPkg is designed to flexibly support the transport interfaces for above industry standards, the transport interfaces such as KCS or I2C for IPMI, PCI VDM (Vendor Defined Message), I2C or KCS for MCTP, or the OEM proprietary transports. Please check the Readme file for the design guidance: https://github.com/changab/edk2-platforms/blob/Manageability_IPMI_upstream/= Features/ManageabilityPkg/Readme.md In V2: Fix some issues on below files, 1. Features/ManageabilityPkg/Library/Common/KcsCommon.c 2. Features/ManageabilityPkg/Library/Dxe/ManageabilityTransportKcs.c 3. Features/ManageabilityPkg/Universal/IpmiProtocol/Common/IpmiprotocolCo= mmon.c In V1, we had implemented, - KCS manageability transport library - Manageability library helper library - IPMI PEI/DXE/SMM protocol implementations Next upstream would be edk2 MCTP_PROTOCOL implementation that also consumes the manageability transport libraries. Signed-off-by: Abner Chang Cc: Abdul Lateef Attar Cc: Leif Lindholm Cc: Michael D Kinney Cc: Liming Gao Cc: Isaac Oram Cc: Nickle Wang Abner Chang (8): ManageabilityPkg: Add Readme file ManageabilityPkg: Initial package ManageabilityPkg: Add NULL ManageabilityTransportLib ManageabilityPkg: Add ManageabilityTransportHelperLib ManageabilityPkg/ManageabilityTransportKcsLib ManageabilityPkg: Implement Ipmi Protocol/Ppi ManageabilityPkg: Add IpmiProtocol to Manageability Package edk2-platforms: Maintainers.txt .../ManageabilityPkg/ManageabilityPkg.dec | 48 ++ .../Include/Dsc/Manageability.dsc | 25 + .../ManageabilityPkg/ManageabilityPkg.dsc | 45 ++ .../BaseManageabilityTransportHelper.inf | 40 + .../BaseManageabilityTransportNull.inf | 28 + .../Dxe/DxeManageabilityTransportKcs.inf | 44 + .../IpmiProtocol/Dxe/IpmiProtocolDxe.inf | 50 ++ .../Universal/IpmiProtocol/Pei/IpmiPpiPei.inf | 51 ++ .../IpmiProtocol/Smm/IpmiProtocolSmm.inf | 52 ++ .../Library/ManageabilityTransportHelperLib.h | 93 +++ .../Library/ManageabilityTransportIpmiLib.h | 24 + .../Library/ManageabilityTransportLib.h | 335 ++++++++ .../Common/ManageabilityTransportKcs.h | 106 +++ .../IpmiProtocol/Common/IpmiProtocolCommon.h | 108 +++ .../BaseManageabilityTransportHelper.c | 242 ++++++ .../BaseManageabilityTransportNull.c | 64 ++ .../Common/KcsCommon.c | 480 +++++++++++ .../Dxe/ManageabilityTransportKcs.c | 384 +++++++++ .../IpmiProtocol/Common/IpmiProtocolCommon.c | 247 ++++++ .../Universal/IpmiProtocol/Dxe/IpmiProtocol.c | 177 +++++ .../Universal/IpmiProtocol/Pei/IpmiPpi.c | 151 ++++ .../Universal/IpmiProtocol/Smm/IpmiProtocol.c | 147 ++++ Features/ManageabilityPkg/Readme.md | 177 +++++ .../Media/ManageabilityDriverStack.svg | 752 ++++++++++++++++++ .../BaseManageabilityTransportHelper.uni | 13 + .../BaseManageabilityTransportNull.uni | 13 + .../Dxe/ManageabilityTransportKcs.uni | 13 + Maintainers.txt | 11 +- 28 files changed, 3918 insertions(+), 2 deletions(-) create mode 100644 Features/ManageabilityPkg/ManageabilityPkg.dec create mode 100644 Features/ManageabilityPkg/Include/Dsc/Manageability.dsc create mode 100644 Features/ManageabilityPkg/ManageabilityPkg.dsc create mode 100644 Features/ManageabilityPkg/Library/BaseManageabilityTran= sportHelperLib/BaseManageabilityTransportHelper.inf create mode 100644 Features/ManageabilityPkg/Library/BaseManageabilityTran= sportNullLib/BaseManageabilityTransportNull.inf create mode 100644 Features/ManageabilityPkg/Library/ManageabilityTranspor= tKcsLib/Dxe/DxeManageabilityTransportKcs.inf 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/Include/Library/Manageability= TransportHelperLib.h create mode 100644 Features/ManageabilityPkg/Include/Library/Manageability= TransportIpmiLib.h create mode 100644 Features/ManageabilityPkg/Include/Library/Manageability= TransportLib.h create mode 100644 Features/ManageabilityPkg/Library/ManageabilityTranspor= tKcsLib/Common/ManageabilityTransportKcs.h create mode 100644 Features/ManageabilityPkg/Universal/IpmiProtocol/Common= /IpmiProtocolCommon.h create mode 100644 Features/ManageabilityPkg/Library/BaseManageabilityTran= sportHelperLib/BaseManageabilityTransportHelper.c create mode 100644 Features/ManageabilityPkg/Library/BaseManageabilityTran= sportNullLib/BaseManageabilityTransportNull.c create mode 100644 Features/ManageabilityPkg/Library/ManageabilityTranspor= tKcsLib/Common/KcsCommon.c create mode 100644 Features/ManageabilityPkg/Library/ManageabilityTranspor= tKcsLib/Dxe/ManageabilityTransportKcs.c create mode 100644 Features/ManageabilityPkg/Universal/IpmiProtocol/Common= /IpmiProtocolCommon.c 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 create mode 100644 Features/ManageabilityPkg/Readme.md create mode 100644 Features/ManageabilityPkg/Documents/Media/Manageability= DriverStack.svg create mode 100644 Features/ManageabilityPkg/Library/BaseManageabilityTran= sportHelperLib/BaseManageabilityTransportHelper.uni create mode 100644 Features/ManageabilityPkg/Library/BaseManageabilityTran= sportNullLib/BaseManageabilityTransportNull.uni create mode 100644 Features/ManageabilityPkg/Library/ManageabilityTranspor= tKcsLib/Dxe/ManageabilityTransportKcs.uni --=20 2.37.1.windows.1