From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (NAM11-CO1-obe.outbound.protection.outlook.com [40.107.220.60]) by mx.groups.io with SMTP id smtpd.web10.71098.1671798845760142152 for ; Fri, 23 Dec 2022 04:34:06 -0800 Authentication-Results: mx.groups.io; dkim=fail reason="body hash did not verify" header.i=@amd.com header.s=selector1 header.b=Ilo3GBn2; 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.220.60, mailfrom: abner.chang@amd.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=J0S6ZacCSEbjjIewuzUnp532bo9HQ2NRUBwMdrVzoOyPROtzZNi1MFJQfnTD86p5yUzuWRGBq8s2+VH80f3IVr5kZMSxaZEZ43dAhqeanHhZgBrBm9pyt/RJA+fo2k1WSqxwiw0sLdPuISNA9tl7p8sPJcdm6ozIuYax1HrW8aN1T0Et+uKFlOHzg62pD+J7RNHA97bQU1KeEFJLsv0YJJzlNz0du09oA7ZoypUyFi0fiUr4zuro7RsQXWE1QIMcttuf87Ri9WPjkbU4djNmK+VRHTqr18KTY9ooZ2SVLDPG9RQGQc1XkjLstZ21ihIm/ysl2OaeDyTKgX991VliVg== 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=p4LbrTF2Jk7PGBzPWjzymhXAxto8caWp+i0yPjDiN50=; b=AU5zMpME6vXDTCeBVYWUaRo/DEYRVMVHUVEhNt3hJXfCcHNyi1fciNwR0fRDrnLMgxk7wA4fhDx4RFpzcr61PhIZn+OJ2mV3j2w6d/OZccw8MjQsxK8b0gN3D+taCj0AfhbaGCOZycBzqSgTGa6s5gtHqBGplEBBDk4tpdv5O0i1ph2lxVG60gIu/+OCDu7WNkiO1rRxOi3fK9ZzoTy3AUf7SfY0AIojyjOvmkGcR+uCHnsZH9kuY1ZYdh60Gm7BA0D2ozhSz/ejzvc8L0PRrw7g9x8nwHwm51zRBAPK1o/EcmitxyDqATTND94OjKJfT9MbWGYBiGAhsRCwcvju5w== 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=p4LbrTF2Jk7PGBzPWjzymhXAxto8caWp+i0yPjDiN50=; b=Ilo3GBn20fJGYSqfJRrUX8pVvTTdonQDTpKvHUA+9ZK1uFI8cChjeuRwXxQkVkAm3H3PeU9l6Sw31G5W1gsNXWdI3Ic9h4OHGzhma4SuiLQTekcACjxL4AqqKD3cdu8f0/ETh4tGfD9zGV1CWGzb9DL767FY0LDrEzNJR69i6x4= Received: from DM6PR03CA0096.namprd03.prod.outlook.com (2603:10b6:5:333::29) by PH0PR12MB5403.namprd12.prod.outlook.com (2603:10b6:510:eb::19) 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 12:34:03 +0000 Received: from DS1PEPF0000E64A.namprd02.prod.outlook.com (2603:10b6:5:333:cafe::81) by DM6PR03CA0096.outlook.office365.com (2603:10b6:5:333::29) 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 12:34: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 (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 DS1PEPF0000E64A.mail.protection.outlook.com (10.167.18.40) 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 12:34:03 +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 06:33:59 -0600 From: "Chang, Abner" To: CC: Michael D Kinney , Liming Gao , Zhiguang Liu , Nickle Wang , Igor Kulchytskyy , Isaac Oram , Nate DeSimone Subject: [PATCH 0/3] IPMI changes for Redfish Date: Fri, 23 Dec 2022 20:33:33 +0800 Message-ID: <20221223123336.2014-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: DS1PEPF0000E64A:EE_|PH0PR12MB5403:EE_ X-MS-Office365-Filtering-Correlation-Id: 59c8cf6f-0ac8-4a4a-f069-08dae4e1f9be X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: On6VP8ECAH8uz8VOfHfRx6ar2yXseWmjzB9WOSOd1+M3LBFCGHJjMY7q9bGfox0Vwk8pkD3AoaOxvI2i+d8hmm1aaOMJ96Bkj7NEJVi7ILjvCUAF8RJUU/AB7Am70aF62STfiYiPWxdHY12VdE5AvatNKYv0n4kaMgWSr3SdxDJ4On3uvbrPqS1uT7wzfREA52cbxK44GCpQh2aujZ14kWDfIOyl2j6uZMoM4Ba7yWu9FNDlwfLH0ZvPs2dwh4Jn8Vfh55dLmvT0Q/bA3a4ccEo/4kFT8L9puZmRd2X2J6L+Sxn3/WfAGxu2iN0XLHdwdKqByYednrvitwFolANvF0QQ346T2a/bwDF6DvnAN8MtYnWpZk5f9vk2B1OvrB4IWevxS6pQ+ZMG7SlznZasQPLjp5uw7e6OlxC49MmFCnQhtHb8q5BgVdGyVXjTDgO6SpNHfFLJa5j6ZElW4FV9sblH2FqKuq0jIzOztLMVC6Pdh65klvOU2N0HMDJVP7FV8ak23nyJqP9H/22u2oVJ0NVQ4CKVIVUbX6rjciaTLiN5C8+HjUYHsfpXdCH07huCQyXl4M4ilxlD46xqhUMHTU8IknJuHL9OFTCqhVagfxYbg1fkM3xA5mxEDMtql72xzvg3ZhQbx+BniZwgMZr4Lu37TPerHKJDH/snErMy4e1gFmvfWbCD2by8CVxw28TWPhWSe5z9xYVPezeVmLcgKmbmQV1HTx3JMWAsh5gjs7o= 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)(396003)(346002)(136003)(39860400002)(376002)(451199015)(46966006)(36840700001)(40470700004)(186003)(2616005)(26005)(83380400001)(82740400003)(16526019)(316002)(7696005)(36756003)(40460700003)(1076003)(86362001)(82310400005)(41300700001)(336012)(40480700001)(478600001)(70586007)(81166007)(356005)(5660300002)(36860700001)(70206006)(8936002)(47076005)(426003)(8676002)(4326008)(2906002)(2876002)(6666004)(6916009)(54906003)(36900700001);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Dec 2022 12:34:03.4379 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 59c8cf6f-0ac8-4a4a-f069-08dae4e1f9be 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: DS1PEPF0000E64A.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR12MB5403 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain From: Abner Chang This patch updates IPMI related definitions for supporting Redfish Host interface Credential bootstrapping spec and building up SMBIOS 42 record for the USB NIC host interface exposed by BMC. The corresponding updates on IpmiFeaturePkg is in the separate pacth for edk2-platforms. 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: Michael D Kinney Cc: Liming Gao Cc: Zhiguang Liu Cc: Nickle Wang Cc: Igor Kulchytskyy Cc: Isaac Oram Cc: Nate DeSimone Abner Chang (3): MdePkg/IndustryStandard: Update IPMI definitions RedfishPkg/Include: Add Redfish IPMI definitions RedfishPkg/Include: Redfish USB Interface V2 update MdePkg/Include/IndustryStandard/Ipmi.h | 17 +++++++ .../Include/IndustryStandard/IpmiNetFnApp.h | 37 ++++++++++++-- .../IndustryStandard/IpmiNetFnTransport.h | 32 ++++++++++++ .../IndustryStandard/RedfishHostInterface.h | 23 +++++++++ .../RedfishHostInterfaceIpmi.h | 50 +++++++++++++++++++ 5 files changed, 155 insertions(+), 4 deletions(-) create mode 100644 RedfishPkg/Include/IndustryStandard/RedfishHostInterfac= eIpmi.h --=20 2.37.1.windows.1