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.62]) by mx.groups.io with SMTP id smtpd.web11.197145.1672278906173555926 for ; Wed, 28 Dec 2022 17:55:06 -0800 Authentication-Results: mx.groups.io; dkim=fail reason="body hash did not verify" header.i=@amd.com header.s=selector1 header.b=tUnArmmY; 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.62, mailfrom: abner.chang@amd.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=CnZOpExd17QWZPIg2Wmlgoce9vPrTdbuW8dY3LOciC889bXqjvsTEapW6bwOHQHmq90cdThLyj/U4YCixgl2p6Pa30Udunvw6VoqnhHdr/9EXPmcXUweUg1iPrNs4A7YZeraI/ODUSnIdiPFaLPs0HK1vINtwMjfEFGNseEBeTqGLdQZ8r/moijD+8Flc9S6S4qvCuSZH+CjOU+y68FyyAZ15RSomEmJak6xaIEnKOsYy42NoZQD7twqRfBOYuj2r3Hi0j/Htzb4PDoczp4ppIeV4XZQLKOKprVqT9YcKp68PAC03LmtWzbwg2FN3/gQ/tDjcjsb/M3n8/fnJ9d+TA== 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=qqrJm5/r0lmnBzS+lFKT5oMWi8m3W8oOhwoCP8O7JB0=; b=ikoKxEcdPoLY0JuNGGEXLU4A+XDN4yOAdUgIZyazXquUZoaRmDfbF+0pXyV588Um/Me3WZhzRV41gPUXADtGn2koTtN9/z4Un6+mzjnoPM7GU6Pa9rmtBBVnOD6WRfaSMCpJf5dSBnKHVuld8qVPGKpxtZ9Z6v6KP5nDYbpPDwy5TylFrk7hOBapncbjP7KusS7sxfbs5SXnKBkLPncBonVQGA8Jn0dXFOcmzkrbD80iJSQe6gSie2Z1jWD8/5VUum0Vk1a4avbd9cyv9HN1DbinUgi2dU6GdEpy0XHvETnE2Pt0Xqg3Tp3/Qbm/sKqz88UQzMATX5bluzQ/zt51xg== 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=qqrJm5/r0lmnBzS+lFKT5oMWi8m3W8oOhwoCP8O7JB0=; b=tUnArmmYe7qS8p2frguY6MoqA5PvfKz6rCnkgU/qxVKwSF5C4D+tACU9UX6yRfpdzh1jzrYE3K0r/aMTksnq+vVv0O/qDRiovOLUHwVX5ESVieR+ZwG6Gx02YyCEVn1yT7jW1GfZ188uv2EGkSnrCgIycnnchd7vvVES5+NmSCE= Received: from DS7PR05CA0009.namprd05.prod.outlook.com (2603:10b6:5:3b9::14) by MW5PR12MB5623.namprd12.prod.outlook.com (2603:10b6:303:199::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5944.15; Thu, 29 Dec 2022 01:55:04 +0000 Received: from CY4PEPF0000C97A.namprd02.prod.outlook.com (2603:10b6:5:3b9:cafe::88) by DS7PR05CA0009.outlook.office365.com (2603:10b6:5:3b9::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5966.17 via Frontend Transport; Thu, 29 Dec 2022 01:55: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 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; Thu, 29 Dec 2022 01:55: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; Wed, 28 Dec 2022 19:55:01 -0600 From: "Chang, Abner" To: CC: Michael D Kinney , Liming Gao , Zhiguang Liu , Nickle Wang , Igor Kulchytskyy , Isaac Oram , Nate DeSimone Subject: [PATCH V3 0/3] IPMI changes for Redfish Date: Thu, 29 Dec 2022 09:54:34 +0800 Message-ID: <20221229015437.1353-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_|MW5PR12MB5623:EE_ X-MS-Office365-Filtering-Correlation-Id: 0456555d-d6ac-46f3-e912-08dae93fb3d2 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: mdVLyOjzqm5wii4IYtsZ3XohtArgIAcl9b37DR9bl/9A4Ip2Hyq8Y4y/OSgXUEjmx5QowL1NvSL0QDA9WWndZQo4qOoKJ43dYlxbqSjcH/FY/oKBvspw4VghpfYZZvY8UzH/yTAznBFEXfHwNea431PdkZ87gtj1+vknKCpaBY+ZNZzTfrulGhgxsrk4ucKL3DhiURiGOa+WXO4ARa/QOREERhhHuAxmkOKP17RCpxU6dz9sFzF+5m/seYMIaNvDbOhNLRTs5phHNUi4XDf0RcOjCTy1HKQcLPz9AM04mYJIn3uUBbxPq0I3AD0KmxMREG1VYYvn0vKyhp8eZXQIihT3ABFV16r5lcAnTC1DbEwVXKQodsXqRbuG5/eA/jYndOiZC7golMRekJLY54hcqcFDMDZg1Y70WIV5zbtaujqLKs18D60z+DKJye9AM6gVrW5V/dfONxaBFbEMVVwUYWkc7r1CuvulHtHHJ6FTQ95hW19s5EQYUS3G5snJlCGs2qeGJxZYbn2bOpAumCC3uO3X3EiO8bIvasT37XHeEKX0s+KBBBRCcBg8UqsudZkHVcDMf8MagOqSeRmh19Bq3AONwHW5J5OQUV+oRQoIHvX5qZr/mPBFT+a/jPJ2kPHV7ZsZIKNtPr1wVbi3zKSF+/GFT9r3InLn1Gx3Y4W/UMIE+WdVKWhRPu9ZgIXph7+NzZ0UsEiVXoreWh6XFyapMxUewhk2qmiKgoBYR47dzNs= 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)(396003)(376002)(39860400002)(346002)(451199015)(36840700001)(46966006)(40470700004)(426003)(47076005)(1076003)(186003)(16526019)(2616005)(356005)(40460700003)(86362001)(82310400005)(36860700001)(83380400001)(82740400003)(36756003)(40480700001)(81166007)(336012)(26005)(54906003)(6916009)(316002)(41300700001)(70206006)(70586007)(5660300002)(8936002)(8676002)(4326008)(7696005)(6666004)(2906002)(478600001)(2876002)(36900700001);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Dec 2022 01:55:03.4408 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 0456555d-d6ac-46f3-e912-08dae93fb3d2 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: MW5PR12MB5623 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain From: Abner Chang 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