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.41]) by mx.groups.io with SMTP id smtpd.web10.174864.1672204473366546440 for ; Tue, 27 Dec 2022 21:14:33 -0800 Authentication-Results: mx.groups.io; dkim=fail reason="body hash did not verify" header.i=@amd.com header.s=selector1 header.b=GKKME4LR; 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.41, mailfrom: abner.chang@amd.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=OOiy6JzqgEx+wiOWBe9ZrlqL7zkGtw3Yb2ErjCYhd53JdBQcTxdoaEpfsOhTC2BwMF7oF5bgBNpu5ONqM22JnaFP6b8nyCLmTZfy+W+9i0KSqWuNeGiwpsbXmx64zzRExCBfpxXymlgKQjAAav/Qq0io19TLG8tsgVKBr+zcZqSWVNUSSh+4CtJN81rIsUubtN+Q4rSfXugRY2gjDCIfvXEe8gPxhgx9y/4Vkd04OMvc67xQisTJ6gOzYBMq0Aeq7UmHdju59Sl+WLYk9xUr+FZzvZae9JwQerIuUgEhiY8a7PoMyO5DAPBCz2aIL808w9BAc02NTRaTbRdSmBQYfg== 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=h2MTHuGatoeHu+M8CfjLx0jSEtF7RUMK7i9aciv5jpU=; b=jlMXgLXYQsjymZf8tSZwWCmWuvGPkqY++WUYOFoJIZ4NGtHhxcHOHLYI9wpmV99gV7yoP5qIzrWbwQd6xb/vrURjqVXVxhY9TYKAZZVemxcS40h8Z1uB3IgW4YAcfWiExExzRFP26LIjM6W3F414ryZjxYNEQgtk58NEAJwg8jncdcKNDjaoPEuGhloXQ5n8HQucs5oM7s3dkxK2y3h1ozCzS3YptkCujgMe4khZ67LuG7uRWFqcCgrdA+oXaYjVXt9zvUABdALoWiE15Ob0OLHluQPzrVI/B/9/rgjqqIGEMeG568eQOh6GPRE6c12LvuJ8jmns+jBHgXMqPsmDiA== 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=h2MTHuGatoeHu+M8CfjLx0jSEtF7RUMK7i9aciv5jpU=; b=GKKME4LROCNyrBwhDPplK0qcCXk1cWIDD0JswbQPfS/mTih4u59qfbe/ryLJeyTSq9tvTnINgdxLMbGExAvsjARcQK37d+10jsG6dYqTYFc3SdIMs8WbWy086CnOTcn/TWttGARjDqN/m+WiNysDWoBKNgf7CkwVgasj/NtWvFM= Received: from MW2PR2101CA0013.namprd21.prod.outlook.com (2603:10b6:302:1::26) by PH7PR12MB6561.namprd12.prod.outlook.com (2603:10b6:510:213::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5944.16; Wed, 28 Dec 2022 05:14:29 +0000 Received: from CO1NAM11FT011.eop-nam11.prod.protection.outlook.com (2603:10b6:302:1:cafe::4a) by MW2PR2101CA0013.outlook.office365.com (2603:10b6:302:1::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5986.7 via Frontend Transport; Wed, 28 Dec 2022 05:14:29 +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 CO1NAM11FT011.mail.protection.outlook.com (10.13.175.186) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.5944.17 via Frontend Transport; Wed, 28 Dec 2022 05:14:28 +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; Tue, 27 Dec 2022 23:14:19 -0600 From: "Chang, Abner" To: CC: Michael D Kinney , Liming Gao , Zhiguang Liu , Nickle Wang , Igor Kulchytskyy , Isaac Oram , Nate DeSimone Subject: [PATCH V2 0/3] IPMI changes for Redfish Date: Wed, 28 Dec 2022 13:13:33 +0800 Message-ID: <20221228051336.1769-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: CO1NAM11FT011:EE_|PH7PR12MB6561:EE_ X-MS-Office365-Filtering-Correlation-Id: 40e33823-d62f-4cc1-c753-08dae8926553 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: yW+vxqIcKvmCysIG9rUG4UiccOwdOfQ1+UYyfTHmL6DKV69gAYkOA4avojltg1RoaU72ZZZfChdrXJSsdq/5eAcoDUFsEmZlD36gHcez1kDCtbtRJe7ZzSZ2jOW5IqgoBoQR42HuSGJEyPIXMrUiSqfkWnQSvJPTaI6leYLeDGjZbeDukyr2dJN9rvRMZrANO7gHuBHedfXqkBK4lfbF8AD6JHTWWq24uAyJ3Z9cgmMwTxt3ti7C9FVvZcSbX09QXxUBN2BG09ThkH3Ie3UlFC4bpDHtj8ywADHY7IS6jz22TvXm7mcveK8pePAuOj2if+xLPDhBAAW7LtBD2EvblaOTwq1Rvm3YRiag0//AEv+b1mNLDQqH2va42ctbFK3otu8gSppwJ143cTe5IrMM2yDBuJsBDs/hHVFXGP/HUIedsHdO58CTYRqbC2RFtsJa4ENhUAcFCf7Y/pO7q0PzbibtvqLu6Nsw3/Uc6l3N4rmGrdWPb1PXP/qNsFFZIJlRmET6LlHjkNwnNBQxViZ1ZooZK7NgNu447kwAPd7Fgz55OomrToaqrssamm1q8L9XmJDOaIJiL++SO4rh40rfW+LPXZ3klyrKeO9onvrw5cm1Uwxua51Wtcr3XyZCmYF5qUUOCwBAbSixO2LHgmChkpXYZ8Z8ewBA2W48dDickGe/mh2+IlnnHtpMgBhhbrwru4F15L/3s8FKw4HdMdNKl0+4XwMjxEB53P4CxzNI8o0= 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)(376002)(39860400002)(396003)(136003)(346002)(451199015)(36840700001)(40470700004)(46966006)(6666004)(4326008)(8676002)(70586007)(70206006)(478600001)(26005)(36756003)(36860700001)(7696005)(40460700003)(6916009)(54906003)(186003)(16526019)(82740400003)(1076003)(2616005)(82310400005)(2906002)(336012)(316002)(40480700001)(86362001)(41300700001)(81166007)(2876002)(356005)(47076005)(8936002)(426003)(5660300002)(83380400001)(36900700001);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Dec 2022 05:14:28.7642 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 40e33823-d62f-4cc1-c753-08dae8926553 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: CO1NAM11FT011.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH7PR12MB6561 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 | 25 +++++++++- .../RedfishHostInterfaceIpmi.h | 50 +++++++++++++++++++ 5 files changed, 156 insertions(+), 5 deletions(-) create mode 100644 RedfishPkg/Include/IndustryStandard/RedfishHostInterfac= eIpmi.h --=20 2.37.1.windows.1