From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from NAM12-BN8-obe.outbound.protection.outlook.com (NAM12-BN8-obe.outbound.protection.outlook.com [40.107.237.53]) by mx.groups.io with SMTP id smtpd.web10.83240.1684136289906526074 for ; Mon, 15 May 2023 00:38:10 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="body hash did not verify" header.i=@nvidia.com header.s=selector2 header.b=Z7m1GBY6; spf=permerror, err=parse error for token &{10 18 %{i}._ip.%{h}._ehlo.%{d}._spf.vali.email}: invalid domain name (domain: nvidia.com, ip: 40.107.237.53, mailfrom: nicklew@nvidia.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=i+CyLaX6ahrXdhTLKSvc5MEivwkhVxg4e7yMam0x0NPwTHCflMhVnTlB+0EqQgtS1PzSnO30YyFcLgLZ+TlCNmj1F07zMgMkqt40xJBWzD8cMT0SpWJX4MT1vJxWlM4xLogS55r7EuHc4wheZ1vOGllINc5kIcPYDeXgEVJOaOv3NKKPxhzIcaqZbTGKOGXQovr2vH4d2mtIOjT7elcrnpSm8RZG27fs7C3Ccq1K1PRMPC+0YmpsqQb+6HIYsLOGxPcmEO5bHFhbrIY/C+Du8VZQGeRwtdd0fE2qapPX52mqqzitFbRBxIc3mwU8EvkpLLJaiTXKJa7J9byrAyvmTg== 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=JFcMrkQLcnoxnvIfbBwuY7xNZmuRFSP5eigJwugus08=; b=ai5XupuPXeVYIbPRHFjduufiyp48zSQoUIGI0Epr2pYoAckHukm64Syw5aDrpvAqdAVzQZoNCT1Pm2430u0Un5t78BD61Tr8onLFmlk0EObRcxCqFVPXdxytKPN3V3gYt9PZuhnkGx60ihHGSni9fVcUJ3NNqRsSGFGHpsJlB2TRQNnnCadd0I5tkX9nHatkuWEKYEmYJyJj39j9epv7PFWTMtEYy8Wq1thbcKqrBZobhHPFl92jXTu0l71gHtqOjH5j1whKir0zjS+lee62ul+eJ+OA2s/v2Zvnt15Owog/X+eFqYoTgI90Bamm8gCZq+C+zkkZ2058qNZholNlKA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.160) smtp.rcpttodomain=edk2.groups.io smtp.mailfrom=nvidia.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=JFcMrkQLcnoxnvIfbBwuY7xNZmuRFSP5eigJwugus08=; b=Z7m1GBY65kuP+j62Bf4qXiwbVJbzfxy2Gk1L85usa1U2VtqaHSHwlIKr5RI8FUks2TqvmYQcAw2uPvaJpeL8d8TjS1P51RP5sQ624Z9KiGk2JOmcHgoGmwZ08WyPtS3DgVncj/LWlLsrRC9Mkjld18S9DnnBFK0YaOMZ1x8okiGcnVMamepU7x9HQ7OChTGZsQuMBYOjJEsN6sad+xsxeET0eZNEy/0r5rW/zqLRU3QiNENsZjzSrqSh5PkSAB+eaXRG7iWYBL6v5G5GZD09KG3qIzDv95V/jIZ3k5ivtzQ3+TFpql4LqH1NDjf/NeBIWLDWaf/T4TExr3gg6GojdQ== Received: from SJ0PR13CA0229.namprd13.prod.outlook.com (2603:10b6:a03:2c1::24) by BL3PR12MB6476.namprd12.prod.outlook.com (2603:10b6:208:3bc::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6387.30; Mon, 15 May 2023 07:38:06 +0000 Received: from DM6NAM11FT010.eop-nam11.prod.protection.outlook.com (2603:10b6:a03:2c1:cafe::ee) by SJ0PR13CA0229.outlook.office365.com (2603:10b6:a03:2c1::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6411.14 via Frontend Transport; Mon, 15 May 2023 07:38:05 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.117.160) smtp.mailfrom=nvidia.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.117.160 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.117.160; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.117.160) by DM6NAM11FT010.mail.protection.outlook.com (10.13.172.222) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6387.32 via Frontend Transport; Mon, 15 May 2023 07:38:05 +0000 Received: from rnnvmail201.nvidia.com (10.129.68.8) by mail.nvidia.com (10.129.200.66) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.5; Mon, 15 May 2023 00:37:56 -0700 Received: from rnnvmail203.nvidia.com (10.129.68.9) by rnnvmail201.nvidia.com (10.129.68.8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.37; Mon, 15 May 2023 00:37:56 -0700 Received: from NV-CL38DL3.nvidia.com (10.127.8.12) by mail.nvidia.com (10.129.68.9) with Microsoft SMTP Server id 15.2.986.37 via Frontend Transport; Mon, 15 May 2023 00:37:55 -0700 From: "Nickle Wang" To: CC: Abner Chang , Igor Kulchytskyy Subject: [edk2-redfish-client][PATCH v2 0/3] Introduce resource addendum protocol Date: Mon, 15 May 2023 15:37:54 +0800 Message-ID: <20230515073754.13467-1-nicklew@nvidia.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Return-Path: nicklew@nvidia.com X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DM6NAM11FT010:EE_|BL3PR12MB6476:EE_ X-MS-Office365-Filtering-Correlation-Id: 75691ed6-f186-4e98-cf14-08db5517523d X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: eeEyIabqc0s1elqoGgtaVVKBr3PIDyhDCAz62XXqIY1vBaWCV1lL34lYj/dmvj81AJWGHEAvyR1nBaOmn2qfmY3BYcHusd+bOFQ58NJNgJYtMiS8FE5nz+vSW1jqAOe3vVyRq/aeLNfrM0MJAi0sr0tzBfgw1OHZ+zOXimO5mKDWTAVcyABKV25ZMEaQQGtzdts2PK8JKb+Qf9OwqGJQat9swEKVjKxgjnNMSRz3YnZAGpDDyFvjypdoacwgcacFatCGiyg6xI94HiJrxnAr4M0vWNaDD8Q6ZE9DMcuGo9t2GC/uiYg15qU2V+Yrzt64bMX0/j7W4IZ6trXDyXBbXKGIIjwIb2G1E5fwV+7yzvDRrhEQmZxYquX/Wet0pmCvs5pt1GnrttNsrcdefGEoyhdUR1dfeQxMJ/sy8HFWrXjdoE1Uob17eUSLGKdTOPcKz9bAYabSQ0Fs0SGSGvYFwiUexfZstHfCC9AXFGwByErmA4VMHh6g91cNE12ugfIIwXms2BKS6NobAGYEMdSAfugiXl5Ok2rYK6RjzR4qZVvtaGHF5eDSgc80WC8GhRCxjKgaGbWK/LQ8LFLCe4j8hTJAwjIUzRK04mlwchYFJohOQvScqnd8UiNYfjaFWYVvnWm3CcqjiZro80Ew6urGcbf60jn9zE1NBNJXiYpntSvm2PE8BRWxJcohXQub90guyYxe2M1O/+Ua51BEMJnfua3JUH3CjeR6xVNUy52bARRc9rPiI24WioK/E2ctsYjL X-Forefront-Antispam-Report: CIP:216.228.117.160;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:mail.nvidia.com;PTR:dc6edge1.nvidia.com;CAT:NONE;SFS:(13230028)(4636009)(136003)(396003)(376002)(346002)(39860400002)(451199021)(46966006)(40470700004)(36840700001)(336012)(47076005)(36860700001)(83380400001)(426003)(70206006)(70586007)(2616005)(1076003)(26005)(7696005)(40480700001)(478600001)(19627235002)(54906003)(186003)(5660300002)(86362001)(40460700003)(8676002)(8936002)(36756003)(2906002)(4326008)(6916009)(82740400003)(316002)(41300700001)(7636003)(356005)(82310400005);DIR:OUT;SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 May 2023 07:38:05.4042 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 75691ed6-f186-4e98-cf14-08db5517523d X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a;Ip=[216.228.117.160];Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: DM6NAM11FT010.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL3PR12MB6476 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain v2: Update protocol and library function description. v1: Introduce EDKII_REDFISH_RESOURCE_ADDENDUM_PROTOCOL to Redfish feature drive= r. Feature driver uses this protocol to query OEM resource from platform in order to support Redfish OEM property. This protocol is also used to get addendum data that is required by BMC to manage Redfish BIOS service. Signed-off-by: Nickle Wang Cc: Abner Chang Cc: Igor Kulchytskyy *** BLURB HERE *** Nickle Wang (3): RedfishClientPkg: Add Redfish Resource Addendum Protocol RedfishClientPkg: Add Redfish Resource Addendum Library RedfishClientPkg: Utilize RedfishAddendumLib RedfishClientPkg/RedfishClientPkg.dec | 2 + RedfishClientPkg/RedfishClientLibs.dsc.inc | 4 +- RedfishClientPkg/RedfishClientPkg.dsc | 2 + .../Features/Bios/v1_0_9/Dxe/BiosDxe.inf | 2 + .../RedfishAddendumLib/RedfishAddendumLib.inf | 40 +++ .../Include/Library/RedfishAddendumLib.h | 67 +++++ .../EdkIIRedfishResourceAddendumProtocol.h | 94 +++++++ .../Include/RedfishResourceCommon.h | 2 + .../Features/Bios/v1_0_9/Common/BiosCommon.c | 100 +++++++ .../RedfishAddendumLib/RedfishAddendumLib.c | 265 ++++++++++++++++++ 10 files changed, 577 insertions(+), 1 deletion(-) create mode 100644 RedfishClientPkg/Library/RedfishAddendumLib/RedfishAdde= ndumLib.inf create mode 100644 RedfishClientPkg/Include/Library/RedfishAddendumLib.h create mode 100644 RedfishClientPkg/Include/Protocol/EdkIIRedfishResourceA= ddendumProtocol.h create mode 100644 RedfishClientPkg/Library/RedfishAddendumLib/RedfishAdde= ndumLib.c --=20 2.17.1