From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (NAM10-DM6-obe.outbound.protection.outlook.com [40.107.93.40]) by mx.groups.io with SMTP id smtpd.web10.18340.1677829257638003671 for ; Thu, 02 Mar 2023 23:40:58 -0800 Authentication-Results: mx.groups.io; dkim=fail reason="body hash did not verify" header.i=@amd.com header.s=selector1 header.b=YXAXK9FB; 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.93.40, mailfrom: abner.chang@amd.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fGyj/VImjOM0GrOHvfXpP384ACkYtIvx0e1jTNeszFngVgQROYDGhmvzjzuCe/pkhMQRxKSjxK+1wXqR+FnZmqli/xqdbu1CBjSMZox9YetEGnsGCIEKdaKMvue7t0+HX0kC6mmb2Um8rEIz0ocz81B5VnK5unvJREtG3sDlpIPw7BjIwd3qGJswYCUlB+tAn1OzyHsNfrULgxEc7e86xGUT8A/iqUJwJ9LyEXyQb8Yc1CYuArPPK4ebG9y1vUaqsxxTz4GYyWpCc18C5rvngeV9K6bkqknFVCMO7358bmJUUucFnej6PMyaUuNMRqs+cqGdwfckHnBd/xTQYOmHDg== 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=ktH2bm+vLjHYzX4F4xEJjeAIoCD4icCBpOFH0RDrHTY=; b=Z7lSuJWsFIQvRtk8qrNugu/XI+VC696dqU9PUEXkmzhEFtqnjhtpqvfO4eYYhgCrFOsrylb5zfykl6yiA/koxRnAlsEENRnJ2tRR8Sx6M916KxKTXNvwPVBoFx0wJ1eE87O7p1iJtf7T0BINTJ2HMEHP5vi4TN/Iyz5F6jF2hO+zPJkhxEg/t6y9SnWgBiaRgkbWU/i58twsjPVlNY/0DEPr3Yo7Tb/ILreNqQNOh6lRcbBMBB67LfW8iHziW/R3Xs8iynrCQNqpZhI48jgGizyhSpjw/QCMdQ5bd91o4IUmnl1mx6Xh2Rj40QMIF4JFlZHOExHMdm7zMQk2GGyxDA== 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=ktH2bm+vLjHYzX4F4xEJjeAIoCD4icCBpOFH0RDrHTY=; b=YXAXK9FBaS63qBX6Kh37Hf1afL/9bWvruIHBU5R4lMs0Xy6np96vQW5iwdOw29N6mlrbMkp6JNY0C5pGbgQx1KAUsZQlTHCCYISjnSolmkB0YTzq5+13R3SdKb0jmBt1FUfgTDPmKtJQ2TJjWmIsUihiuVEj2u3fuExMCnFLd4g= Received: from BN0PR02CA0022.namprd02.prod.outlook.com (2603:10b6:408:e4::27) by DM4PR12MB5102.namprd12.prod.outlook.com (2603:10b6:5:391::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6156.22; Fri, 3 Mar 2023 07:40:53 +0000 Received: from BN8NAM11FT048.eop-nam11.prod.protection.outlook.com (2603:10b6:408:e4:cafe::2) by BN0PR02CA0022.outlook.office365.com (2603:10b6:408:e4::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6156.22 via Frontend Transport; Fri, 3 Mar 2023 07:40:53 +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 BN8NAM11FT048.mail.protection.outlook.com (10.13.177.117) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.6156.22 via Frontend Transport; Fri, 3 Mar 2023 07:40:53 +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; Fri, 3 Mar 2023 01:40:52 -0600 From: "Chang, Abner" To: Subject: [edk2-platforms][PATCH 0/8] Introduce ManageabilityPkg Date: Fri, 3 Mar 2023 15:40:27 +0800 Message-ID: <20230303074035.1067-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: BN8NAM11FT048:EE_|DM4PR12MB5102:EE_ X-MS-Office365-Filtering-Correlation-Id: 57ba4ecb-ca95-489e-c729-08db1bba9e30 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: NNtoBc3ox1jr9E9lMb2kNUG+ElWq1h4hs6DD+sY4A62lswJzM9pfuBzmYG7P318vGmDikOY5vMNeagd7uP/cn6FG85QNaIbI3S4xWiDM16rOae2I6a2e/nGGZSWNY1IvdgU1faHxBavzfUTYTlB1dd7CN/72tUw4uoUXqHdQtphXLgQVWo9JxfsYH8s96193mLObWZLC18wNUJ0756mUEQ1ZY3TuUIdBxGHr+vXNMZxtopK0BA35sLJ3UjYkNpITp5a7fIrL21hE7Xe61CbMscyx/Z6FxR0TMOV/fUOwZ6w5MQqpWAQMVK1lbgsjWdGHZTxROFWgRSAR8V0MvMMmUD9agNHte7bEag5qbjRAVpGJ9NXM4XLuiQVTZWcFBZJKSGcDQeJaCDuDez7JU89BYmuhrTr6UJLN4EZZhD5rJT2jhhVSXu3wLZ03mXn5e7CohIW8R51OeOw0ud4EwuPAzaZp5guKCiP8rHKJi1GYdcZ2AHo14PjQBbSjJTyBMersfazLFgV6e5KSfQSoNRsAT+lQQ77yYfSQTG76I9ebRHpJ1yiRAXqJgBPRu59PxNPnblSF6q+yy5g6WpAOZY9iSgcWDg+oWsncPtHUKGOT17zJp0VIXxfi9ktCq6QhKTuAEP4O9RV05odh19ZgwiXnI3uxE6f5EBR7xjvsax6SMtUjC37NBGQtuK1sI0Z6iMAKBYdRSzhXwoaQjKDd4dteGFolTvww+mX6KwjHS9VkiG8= 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)(136003)(396003)(39860400002)(376002)(451199018)(36840700001)(40470700004)(46966006)(5660300002)(36860700001)(41300700001)(8936002)(356005)(40480700001)(86362001)(36756003)(82310400005)(82740400003)(2876002)(81166007)(2906002)(40460700003)(966005)(336012)(478600001)(7696005)(426003)(186003)(26005)(16526019)(47076005)(6666004)(1076003)(316002)(70206006)(70586007)(83380400001)(2616005)(6916009)(8676002)(36900700001);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Mar 2023 07:40:53.4608 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 57ba4ecb-ca95-489e-c729-08db1bba9e30 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: BN8NAM11FT048.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR12MB5102 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 this version 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. 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 | 375 +++++++++ .../IpmiProtocol/Common/IpmiProtocolCommon.c | 245 ++++++ .../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 +- .../Library/RiscVOpensbiLib/opensbi | 2 +- 29 files changed, 3908 insertions(+), 3 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