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.80]) by mx.groups.io with SMTP id smtpd.web10.18522.1683876183931696358 for ; Fri, 12 May 2023 00:23:04 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="body hash did not verify" header.i=@nvidia.com header.s=selector2 header.b=lNC41vTi; 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.220.80, mailfrom: nicklew@nvidia.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fKTuklwzIlMC4mEyYjKUs4XNXTsm6uj0JPlPFw7e7nZtbxWu9RxeK93wkYuJ/Im9j9ogzHyRPyUYw0lN3aIGHC4brgNMJKTcYID9UlfGBap0YrTC0Ig1URCuxWBr99xZFmMQLcAnHwFZOCGSYrkVk7aPHxq3eKKtarTMU1w8GAFHA+OOdCSyF4nXgOV8elzKulEhkjXvoTA2XP/NJovl51nfpureILi84Ixf0Nmx6owrl/E+fgejeXsl0UXDkl1xyfwlW+vWOtPj0XE5PMfuksW7fgMAO8owNTmWn+TWqGnDoGOB9SMtBkWiilKI4ufHwNqh1BjFKb6a4f3Igyc0ng== 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=j9u6Tx9vwu4G9E3JZ1uRe9I2fL4u6nCDklzHvVd6HKQ=; b=UZZb4V6OXtRGWf7qUnUWqkKNOocUgpmZGMheaw/Ww82pfmS+ONjUzzkjWXYVQvZmxTTFCTVzxCtcBTaX6Pz70J/n/o9uNUMrrLP7omHPnhGMfrFEWV2SyjzL8TxaGL7YE6CNiCt3VmFO1CSHyTgEKdJdYgw4R4XsZnJzogVHnKYm1N0/fiAh5d+c8jhjjP/G3vQSXbniJ4EJyzDA6FepQGS/VFlDNfC+CXnWhHYbduGLxkKyD9oo4NeLa1bnjU4BDJdFRl2yF/i9pWpCQy0UTRdnqNIQXdSC/r5ap55/ai3/6HzZ1Tqlm7MaC28t0b7264E/JhhENlZBaMrRfa7taQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.118.232) 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=j9u6Tx9vwu4G9E3JZ1uRe9I2fL4u6nCDklzHvVd6HKQ=; b=lNC41vTiLwE92xn7y4KZ97hd0KzHm1Q0hiKOCX0fC0sJquDAqyKJVUztJ3JBWUemDVnQRmqqIX1ZnLhmQFF1Eg1xL2tnSbktzpL0BWf5rK7/PpL1CeL+EIIA1FFP3Gr97SPAFlzZLxZiyIELKeX1VkHaHJUJAiiUz+8uOd0vWuSWqeAoBiExZJCAqR9n1LYBeOTDD1aGyWfPizP7c2SF5BzttQH/6QGZ0ZlVGNnZnUcpj+sLne3THoLlR60+qsj8mXdkXMgq9fzaazK3jo8Sv6VLZ7+463UCCRWMZIyj3m3se0CtBtM26GRZTMe4IcFz7SqnAdjft2cIFst6ymtx9Q== Received: from BN9PR03CA0580.namprd03.prod.outlook.com (2603:10b6:408:10d::15) by BL1PR12MB5222.namprd12.prod.outlook.com (2603:10b6:208:31e::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6387.22; Fri, 12 May 2023 07:23:00 +0000 Received: from BN8NAM11FT053.eop-nam11.prod.protection.outlook.com (2603:10b6:408:10d:cafe::49) by BN9PR03CA0580.outlook.office365.com (2603:10b6:408:10d::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6387.24 via Frontend Transport; Fri, 12 May 2023 07:23:00 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.118.232) 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.118.232 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.118.232; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.118.232) by BN8NAM11FT053.mail.protection.outlook.com (10.13.177.209) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6387.24 via Frontend Transport; Fri, 12 May 2023 07:23:00 +0000 Received: from drhqmail201.nvidia.com (10.126.190.180) by mail.nvidia.com (10.127.129.5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.5; Fri, 12 May 2023 00:22:49 -0700 Received: from drhqmail201.nvidia.com (10.126.190.180) by drhqmail201.nvidia.com (10.126.190.180) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.37; Fri, 12 May 2023 00:22:49 -0700 Received: from NV-CL38DL3.nvidia.com (10.127.8.9) by mail.nvidia.com (10.126.190.180) with Microsoft SMTP Server id 15.2.986.37 via Frontend Transport; Fri, 12 May 2023 00:22:48 -0700 From: "Nickle Wang" To: CC: Abner Chang , Igor Kulchytskyy Subject: [edk2-redfish-client][PATCH 0/3] Introduce resource addendum protocol Date: Fri, 12 May 2023 15:22:47 +0800 Message-ID: <20230512072247.17686-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: BN8NAM11FT053:EE_|BL1PR12MB5222:EE_ X-MS-Office365-Filtering-Correlation-Id: 8df51b3b-ebf6-48cf-bca1-08db52b9b79d X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: FYGICvaQ5RM6tqvZ+2egG6EZ/asRYo7Vi6sqX4PiN9Hop8HeRMHCf7vwncQYusxq2sODWOCIsbfUN3nhmn0KNCLtdoEod1ZNbCRX/1IJaz+kVHPajvIJcyLS1OElRwTmApVEGTW47RL/Zsr7Ed45lueiyWv+uErLIAvi1lpBXlh5rl9tgZCSXAYjQxfXA6Qw6vS7HuukEShMSwQQgC7aOElPBc9Xt6guskClFbXD76TeGIGOoO1alNYiv9SYlBQ+b96CLKboOh6uhT0ICYD05npZvmwBY5aQT/ZsX3X4asJkF5kOOVzB5Yw6hFj1hjkc6MQmSIJKNC+z47lSm1JryJ0z9DDhSkmmKsjfSGcNZHmPd28Oog+XAHq+OYBIZqOctKgDeE5fEG5nNofUhxUTlGJvwz/AWGK49tmVyAkUvrcG95B+CxG7sgTorZnEz4oackZu7HFwIa2vGFuyMywyUpmaGOAZD4nmhTTByBvgRd/u/osSJOoqIYRa3jz4XqZjTCQ8eNZoUqoweLovmtbcI6fEm30cFLI+noGK0JS4pFj+gJ1vEHjjTWZR02Qq8q3G2ZKT7Ar9kfRQP8Iv+VxYepXnkDAvogM+XlEksZQD78iX4cLah98os7ttfNRYQdMMw3QCftGne1VmAgG8aSADQoa3VQzksqCO7LlTgDM4n8NYAknJkJx+FwfwUZz1DY36AjtStr2OxFFupUBtL3WzuiJTqKn8AP7+WeeCWVDZKjQ= X-Forefront-Antispam-Report: CIP:216.228.118.232;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:mail.nvidia.com;PTR:dc7edge1.nvidia.com;CAT:NONE;SFS:(13230028)(4636009)(376002)(346002)(39860400002)(136003)(396003)(451199021)(40470700004)(46966006)(36840700001)(1076003)(186003)(26005)(82310400005)(36860700001)(40480700001)(40460700003)(47076005)(82740400003)(83380400001)(2616005)(336012)(86362001)(54906003)(2906002)(478600001)(19627235002)(8936002)(426003)(8676002)(41300700001)(5660300002)(316002)(6916009)(4326008)(70206006)(70586007)(356005)(7636003)(7696005)(36756003);DIR:OUT;SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 May 2023 07:23:00.4021 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 8df51b3b-ebf6-48cf-bca1-08db52b9b79d X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a;Ip=[216.228.118.232];Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: BN8NAM11FT053.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL1PR12MB5222 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain 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 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 | 65 +++++ .../EdkIIRedfishResourceAddendumProtocol.h | 80 ++++++ .../Include/RedfishResourceCommon.h | 2 + .../Features/Bios/v1_0_9/Common/BiosCommon.c | 100 +++++++ .../RedfishAddendumLib/RedfishAddendumLib.c | 262 ++++++++++++++++++ 10 files changed, 558 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