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.52]) by mx.groups.io with SMTP id smtpd.web10.5180.1672973898081971621 for ; Thu, 05 Jan 2023 18:58:18 -0800 Authentication-Results: mx.groups.io; dkim=fail reason="body hash did not verify" header.i=@amd.com header.s=selector1 header.b=n8E3Fq7E; 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.52, mailfrom: abner.chang@amd.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UiKsjM2WvDFFrOPcoMqVvv23k1ckp8fb3X8ze3zlRLV/SAxVCRkUJScIQCZJ3UP8ZbGA+vUifGX+TtGQJ7PKd4hEe8dzZvoDQuCtWluCulRXenzbmnISo3V+O5SAGjis0GS0eCt1usaTWBQc3ziXbKnztCEi8fxyWkOxc5w5pOpuC41kRu66ZQrO6PagSdUqBESigZO7LaRLW1QGlPvh4rFGTZdSMu8soi1GnWbIJ3XigRUH4i766TEjHfRd8NcAgoQNJ38yJLfgFeFA1qi28zUVQFAXm/uSoabE4h+rE6pD0GSCuzld77NzDg8BpB5jxOCl/4GW5A5IHRJvj4XwUw== 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=Dc6Cjf1JOnC2t6SyNGQRKxAYyy77miXfSLUI+OIupDE=; b=H9VGkWMkF8vSFXQ9r+X3t7m6rQq+BE9MfmO1LChiTZQpUHvA+JTIZT9hbPouYnIQQ881hHP80oZQWzzHYjLhFNwe2dKKzv1ZINY9R3RtMiBaqwYl0SHcYZtzy5R2gh3sbe5qTpiRliMQrYktb9/W5jTdxLdpX+vjBZE9BhsjU9am0wgXuB9R6YnHml0VqiAT4YC/CKoAdsmATeQWIpuoqmHk4axWDU2yKICXZ7+PIYldWBEmO42uZpBYYeMdBG1aTPR4C/LLDbZnlpwKyy5iFIRh2XVdEoGU7Pgyhrtf0sDrQatUJ98XNX/BqbC9I2vXUerintjhqYADJRRIec5emQ== 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=Dc6Cjf1JOnC2t6SyNGQRKxAYyy77miXfSLUI+OIupDE=; b=n8E3Fq7E3fHNEHLlrdBWzQd7KCoQTcrjbQ+vEf+QoGSonaexiDjDCp6ze5tzBrWOeaa4e1uoLqyhiuP+ulh5tE+LNur+xE291vLsjPJnAgwLTrZIjn5kukCegDk+62i96Wu6vcE+XIuKmYpbbtZ2Os7OjYicVDdYCztTabG/GVM= Received: from MW4PR03CA0179.namprd03.prod.outlook.com (2603:10b6:303:8d::34) by PH7PR12MB6906.namprd12.prod.outlook.com (2603:10b6:510:1b8::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5944.19; Fri, 6 Jan 2023 02:58:15 +0000 Received: from CO1NAM11FT064.eop-nam11.prod.protection.outlook.com (2603:10b6:303:8d:cafe::4d) by MW4PR03CA0179.outlook.office365.com (2603:10b6:303:8d::34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5986.15 via Frontend Transport; Fri, 6 Jan 2023 02:58:15 +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 CO1NAM11FT064.mail.protection.outlook.com (10.13.175.77) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.5944.16 via Frontend Transport; Fri, 6 Jan 2023 02:58:15 +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; Thu, 5 Jan 2023 20:58:12 -0600 From: "Chang, Abner" To: CC: Michael D Kinney , Liming Gao , Zhiguang Liu , Nickle Wang , Igor Kulchytskyy , Isaac Oram , Nate DeSimone Subject: [PATCH V4 0/3] IPMI changes for Redfish Date: Fri, 6 Jan 2023 10:57:52 +0800 Message-ID: <20230106025756.1184-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: CO1NAM11FT064:EE_|PH7PR12MB6906:EE_ X-MS-Office365-Filtering-Correlation-Id: e5a0024b-6d38-496c-ad3d-08daef91db41 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: SP/RkazYTaTQHm0EZgaCczJpm/30wNtO0DM/OcOYnnPMHjh1p30ulHFSbIDw++Oiw1sGLOzLUn1u8ne7woYKTRTyWN6HK4YzxRmq32lfEaKf6fFmupx40ML7zu101m8G3iaT4eckR5JNX1htszx7KKIw1lazyCHBq4+PDXCkeizUjSkmsuQzEMMr67H9nq2wWU/y+9k7eYHd1VPifqrHMHHRB+pMQpGZz99ajPKkbqlcqUqVYxpglV0fHqqUG9NZKzDP9xiVqE3HM2uY6luidMaaEXGlyWhdd0onO34R+ouGhX20iAQl3QWigQmLJqUXtnTCfVl1YI0DteTl05lytRA8sLITc3uyDwmEkPL537KNJ9+4jIdvlxLirFSZGDMhG6h7ENiCbE73Pje936rHce3O/62d/1KVNOz6eSIPiULaDfRy+eHfqyHAaBF4tjMGZaidKvu8OAGYSCTGDeIo1Jtc3r57ZrP4LuCfPvcB25Q08r5fObKI6jmhDNG0HOEqRfXLhrZO/SCaSCXUegVVS8RffSIz/jbJaj+QBr3w0+VXpnjfirTfvp5858Kjdd+jxII0OL4xHUXyzQsykKzAfF30Q6JMUnahafLcj0CtVm3vRFmiPVrDbAwAOU6GoTM8lzPTTpXuvjPqxHPU7yR/E6QTbjQRKUV4waSubD77Puj8VYwjUbGMyNiq27Pf0TjUC6zbsu97zvJ7boJXBc2EpxoxjINHiqVueaTNXc1veJc= 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)(346002)(376002)(396003)(39860400002)(451199015)(40470700004)(46966006)(36840700001)(1076003)(186003)(26005)(2616005)(83380400001)(426003)(16526019)(336012)(86362001)(40480700001)(40460700003)(82310400005)(36756003)(36860700001)(82740400003)(81166007)(356005)(47076005)(478600001)(6916009)(2906002)(316002)(8676002)(8936002)(54906003)(4326008)(41300700001)(70586007)(70206006)(5660300002)(6666004)(7696005)(2876002)(36900700001);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Jan 2023 02:58:15.2594 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: e5a0024b-6d38-496c-ad3d-08daef91db41 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: CO1NAM11FT064.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH7PR12MB6906 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain From: Abner Chang In V4: Updateed copyright to 2023 Addressd the comment from Isaac on V3 2/3 In V3: Addressd the comments on V1 2/3 In V2: Addressd the comments on V1 3/3 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 | 25 ++++++++- .../RedfishHostInterfaceIpmi.h | 51 +++++++++++++++++++ 5 files changed, 157 insertions(+), 5 deletions(-) create mode 100644 RedfishPkg/Include/IndustryStandard/RedfishHostInterfac= eIpmi.h --=20 2.37.1.windows.1