From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from NAM04-DM6-obe.outbound.protection.outlook.com (NAM04-DM6-obe.outbound.protection.outlook.com [40.107.102.44]) by mx.groups.io with SMTP id smtpd.web11.71958.1671802053289231863 for ; Fri, 23 Dec 2022 05:27:33 -0800 Authentication-Results: mx.groups.io; dkim=fail reason="body hash did not verify" header.i=@amd.com header.s=selector1 header.b=Qqp2/Z6u; 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.102.44, mailfrom: abner.chang@amd.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=b0DCzBd3nLR2A8BB3zmEmkEz3rg0vIM3ghhzYIuiOhQzg2RxfzwmVof77iag/WYqy0JRAn42zWhAzOQ1xNpVzUEsn6ni+R9E4/LXkAroXhLlEHPsvK2PtMvs0qvqTmXBbDsUHCmdsnUBSxjOWiuo19Ux9c6CarGZtxZQK/BNOJk7gOfh0f5xweH+bjY6G3NL4yp2XYHhbY0cbyP9TA95LJt0O80B4KTtS/wc9G18gHiW/XpIwfBu7xVn2fvcwWNJO+bnrdGwSQe3++caDJDs1tQMBBZdv2pfWgFZuPbc6BKpfn/feep/f5WYnuostWv10KTeaRvz4PKe2QsbgC5mxA== 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=vJ4ii9F744IqcCLlB+5fGPDh0CJHrAgJsUPBMXp5MRE=; b=Wc3RLvafhLeRkAWXGVgxCyUHgaoFYKDvpMgPp+kV1+R+MvxvSG661wQ1NZiLRDTvAfaqrIS12q9KMdd6ksYGUW+RNXGBII9CCeWG2h4/aL7Wbvtmq+rglW4jvHxwySdVni2eY7PYzLupyQszeChDI2TP0woOCTH0lmeeyiQWaWuZFYXjDPp1MKpbh3KN4++OtBIvdwvNhM5BHrr8Y83ZChQqdCWv8vPRmP3pL46yB95HdlUmcLr8/81COc2y62+1a78b0129t9/wzFcOjvHjggdnUHrbuioCjgzpue5+sd/mEUJzxC7d8IGhLwXFIEDMKzojyUfDOUdhcNhFaV2LvA== 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=vJ4ii9F744IqcCLlB+5fGPDh0CJHrAgJsUPBMXp5MRE=; b=Qqp2/Z6uXqbaUSpXE72ZRAgU+IJTYNmlJfY4IT/G3OunBUZhkZUb7Gc8eP2t725l3H4F1cqj19b000P6M574R8HbZZPam7jXcqdG88U1J+bgi/uyjkDW0R1L85DCyxba/hof8wceKeX3nDhJZ/2QpJ65xoOzAOtdjkqCq8/rZfw= Received: from CY8PR19CA0009.namprd19.prod.outlook.com (2603:10b6:930:44::14) by IA1PR12MB8261.namprd12.prod.outlook.com (2603:10b6:208:3f7::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5924.16; Fri, 23 Dec 2022 13:27:27 +0000 Received: from CY4PEPF0000C97A.namprd02.prod.outlook.com (2603:10b6:930:44:cafe::c9) by CY8PR19CA0009.outlook.office365.com (2603:10b6:930:44::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5944.13 via Frontend Transport; Fri, 23 Dec 2022 13:27:27 +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 CY4PEPF0000C97A.mail.protection.outlook.com (10.167.241.138) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.5944.8 via Frontend Transport; Fri, 23 Dec 2022 13:27:27 +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, 23 Dec 2022 07:27:22 -0600 From: "Chang, Abner" To: CC: Isaac Oram , Nate DeSimone , Michael D Kinney , Liming Gao , Zhiguang Liu , Nickle Wang , Igor Kulchytskyy Subject: [edk2-platforms][PATCH 0/3] IPMI changes for Redfish Date: Fri, 23 Dec 2022 21:26:57 +0800 Message-ID: <20221223132700.1864-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: 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: CY4PEPF0000C97A:EE_|IA1PR12MB8261:EE_ X-MS-Office365-Filtering-Correlation-Id: 45e7016b-41e8-4030-88e0-08dae4e96f6c X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: LQTzn5URoYv020cQ4GQeb8OjWF6mBU3gys/kt9MwQOg8JYbfp2DjwbE+455MldBMYa9EgMoxoPuDX7/J+ptv7poFI+lV5S8RjjObPiYxVjmNtsYOgtB1Ek/zKo7VbmV6LONikRuRyuN2X64o7W3wJ1qAwG8TXPApD2z9bpB6keSD6u1ZGzRoQkPaTkT8fZy3/JmfLPkOuAvM92BESFWRQgxGmXBleJ06BOr7Xl/TLVhz90sJQm5s55N70DNQLbkfnvJ/YQtVjjWU5WnUj0KBr4U8IxY1l1b6kb8RPvygq7jtBzSpNVwNQ22CxdJflvDczLGgEWXA/AoE3cW3lKUwRTLU65bdYKSaum66vPW+FIXsgAEBEAY+EH6Ks7Ll6+ZnnuXsDQ+DHCIakOIuDeYV94u+IqGbWhmQ1J/kSyqHkIZB+Rid1Yw4dLSZLUYxy313j/kI9Zjt548zzlIXWDGCPBFibxhKD4gYd2LjFoujSxKOvie+7+BnnNsAQRCqmnspvgYwI329mVP6ZjQDG0DDuYVD5X4XAj7cBcX0SxnaqfM4pBhsyJQLpLa92sWracYGjr+unYtI4XXkUPdldkzdt0DUaYAaaf8+4MQws6pyizBYrhrxRQ4ptoPPH/O0hD973y2mqGim+sB7LmTK+bhtP8f3h71wXkspojQIQVkqLpPm8nvW5mXWm8rzuN+VfhlCojFcqGRnqbAaQT+9QC7kYStA3hGXV0pWboe61QuCu/g= 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:(13230022)(4636009)(136003)(39860400002)(396003)(376002)(346002)(451199015)(40470700004)(46966006)(36840700001)(70586007)(82310400005)(36756003)(26005)(41300700001)(4326008)(16526019)(478600001)(2616005)(1076003)(83380400001)(8676002)(2906002)(54906003)(336012)(40480700001)(86362001)(2876002)(47076005)(5660300002)(70206006)(6916009)(186003)(8936002)(81166007)(40460700003)(426003)(36860700001)(316002)(6666004)(82740400003)(356005)(7696005)(36900700001);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Dec 2022 13:27:27.3149 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 45e7016b-41e8-4030-88e0-08dae4e96f6c 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: CY4PEPF0000C97A.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA1PR12MB8261 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain From: Abner Chang BZ# 4214 This patch adds IPMI functions for building up SMBIOS 42 record for the USB NIC host interface exposed by BMC. The corresponding updates on edk2 is in the separate pacth. This is the part I of upstream, the follow up patche sets are: - RedfishPlatformCredentialLib contributed by NVidia. - Relocate IpmiCommandLib.h from edk2-platforms to edk2/MdePkg. A NULL instance of IpmiCommandLib is created and located under MdePkg. With above, RedfishPkg doesn't have the dependence with edk2-platforms. The implementation of IpmiCommandLib stays in edk2-platforms without relocation, which can be pulled in to platform DSC as needed. - PlatformHostInterfaceBmcUsbNic would be upstream to edk2-staging temporarily because some requirements are necessray to be spec out in the Redfish section in UEFI spec. Signed-off-by: Abner Chang Cc: Isaac Oram Cc: Nate DeSimone Cc: Michael D Kinney Cc: Liming Gao Cc: Zhiguang Liu Cc: Nickle Wang Cc: Igor Kulchytskyy Abner Chang (3): Features/IpmiFeaturePkg: Add IPMI functions IpmiFeaturePkg/IpmiCommandLib: Add IPMI functions IpmiFeaturePkg: Add reference of IpmiBaseLib .../IpmiFeaturePkg/IpmiFeaturePkg.dec | 5 ++ .../Include/Library/IpmiCommandLib.h | 60 ++++++++++++++ .../IpmiCommandLib/IpmiCommandLibNetFnApp.c | 81 +++++++++++++++++++ .../IpmiCommandLibNetFnTransport.c | 36 +++++++++ 4 files changed, 182 insertions(+) --=20 2.37.1.windows.1