From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id EADB3740047 for ; Fri, 22 Mar 2024 09:11:06 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=2fTr2QYy3ZXO0zPL6lHKIcLqLkF0VF8YfauoC2WoORQ=; c=relaxed/simple; d=groups.io; h=Received-SPF:From:To:CC:Subject:Date:Message-ID:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Resent-Date:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Transfer-Encoding:Content-Type; s=20240206; t=1711098665; v=1; b=Vy9iu/xPXhLuJ9aATlbYy8BiJa+ravG94yWXkRmrFdcE5++QfZMkbkbi4L6CwCQJhZRpOrUV F1cWABQFqYsvC/diWa8z2491TVe5SP1oJ2hZJiaB/MKblas4fdzcZZSW4Ygrfg7EhBKtk5ZgQCy BKTOvvVGaalmuExMfjXoRg1c6vrtXNyr2t1KdGPdmXaHc8lDpB/VTHxE5WhbXeoidgI5COSD1K8 GeIVNQzX5qPzejhMwSqzGfkTl84LYtVhPOpRK1FkqK/YSs88WWkLMGhSOnXVQytvADEUh40Igqf lNmPL3zqPC1bX+FJU78bj7GjzkWGZUJtx+mE5ntyxhXpw== X-Received: by 127.0.0.2 with SMTP id l3nrYY7687511xAcWtDO3Yw6; Fri, 22 Mar 2024 02:11:05 -0700 X-Received: from NAM10-BN7-obe.outbound.protection.outlook.com (NAM10-BN7-obe.outbound.protection.outlook.com [40.107.92.45]) by mx.groups.io with SMTP id smtpd.web10.8495.1711098660026309140 for ; Fri, 22 Mar 2024 02:11:00 -0700 X-Received: from SA9PR11CA0003.namprd11.prod.outlook.com (2603:10b6:806:6e::8) by CY5PR12MB6646.namprd12.prod.outlook.com (2603:10b6:930:41::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7386.31; Fri, 22 Mar 2024 09:10:57 +0000 X-Received: from SN1PEPF000252A4.namprd05.prod.outlook.com (2603:10b6:806:6e:cafe::b3) by SA9PR11CA0003.outlook.office365.com (2603:10b6:806:6e::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7409.13 via Frontend Transport; Fri, 22 Mar 2024 09:10:57 +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 X-Received: from SATLEXMB04.amd.com (165.204.84.17) by SN1PEPF000252A4.mail.protection.outlook.com (10.167.242.11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.7409.10 via Frontend Transport; Fri, 22 Mar 2024 09:10:57 +0000 X-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.2507.35; Fri, 22 Mar 2024 04:10:54 -0500 From: "Chang, Abner via groups.io" To: CC: Nickle Wang , Igor Kulchytskyy Subject: [edk2-devel] [edk2-redfish-client][PATCH V3 2/2] RedfishClientPkg/FeatureDriver: Use SetRedfishSettingsObjectsUri Date: Fri, 22 Mar 2024 17:10:31 +0800 Message-ID: <20240322091031.1137-1-abner.chang@amd.com> MIME-Version: 1.0 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: SN1PEPF000252A4:EE_|CY5PR12MB6646:EE_ X-MS-Office365-Filtering-Correlation-Id: c0f829ec-e53a-4b17-2ddc-08dc4a4ffc2b X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Message-Info: +mcnWqlwAuXrfoXgCXuEVV32TYyPDDQGuCW6zc8o83rYtXUQ/Gct9STaAyFOHxp8IKsI7T/6ZqS49h+7tEkFpEASrzwzo3/oszMdCKG+D+6BsjfkBUMdvLxwzge11XyDM6Vk5ee7GAG8ksGarPG74P1kMmbiwdLhgc7O/D34JSr3CiJCyJw+r0PCEloQwgu8N49rp+Y/HIaQDpAkJ5XdjytBxFTofFNydnteAlM4NsrqVru9IGjSZQtgXgz5KkgfK9NQxRCCSaqy7AEQZkjYEeRNv21/sHKM9XhQuACuKXYVCKv2gQnBcXF7Skmg7IcuN8Tars83jsBLpDsHRmxjlqYCLVzbkbP/E0NRlKZO65K6x9UJMoha0uutNb7x/r5JEKMVPTi9pCSzhMNtDmONAiagIpFfhhQE6UVhx4Qfzt1iuLU/pWzeb/YOgJ/0Pu7XOO/bwfD2VdBcQC9WiHcuRUNurNyeaRY3vva1HJNXrKOKk8npC6tHy84NqEu2Bq5k/l54DuC6q+CAKw4lBY3b3/R/pF/pCxroRb0RPl3Br22JdFqEWjrggMFKwlgnslL6xMFEImFvXzMCFCvpQuO6+pmG+9FdGMXp9IpQkllR7ixJs8pzegUC6V2xi8IS8NtGDV8gcnpoklSHQK1c6bIu2q0iWBtAZ/FHD8dwKZD9AIw52JhuENnHgOC/p2EZtrCwlcEuEv/a+L/2ATEAe9IpJj70cD/PbIkFJNEsEsncFSMBfyHGBLAmvNf83m5FG6Ic X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Mar 2024 09:10:57.2390 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: c0f829ec-e53a-4b17-2ddc-08dc4a4ffc2b 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: SN1PEPF000252A4.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY5PR12MB6646 Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Resent-Date: Fri, 22 Mar 2024 02:11:00 -0700 Reply-To: devel@edk2.groups.io,abner.chang@amd.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: h555u6TvMsQR86RpzvWlM84Ux7686176AA= Content-Transfer-Encoding: quoted-printable Content-Type: text/plain X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20240206 header.b="Vy9iu/xP"; dmarc=pass (policy=none) header.from=groups.io; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io From: Abner Chang Use SetRedfishSettingsObjectsUri to set the config language for SettingsObject URI. Signed-off-by: Abner Chang Co-authored-by: Nickle Wang Cc: Igor Kulchytskyy --- RedfishClientPkg/Features/Bios/v1_0_9/Dxe/BiosDxe.c | 1 + RedfishClientPkg/Features/BootOption/v1_0_4/Dxe/BootOptionDxe.c | 1 + .../Features/ComputerSystem/v1_13_0/Dxe/ComputerSystemDxe.c | 1 + .../Features/ComputerSystem/v1_5_0/Dxe/ComputerSystemDxe.c | 1 + RedfishClientPkg/Features/Memory/V1_7_1/Dxe/MemoryDxe.c | 1 + 5 files changed, 5 insertions(+) diff --git a/RedfishClientPkg/Features/Bios/v1_0_9/Dxe/BiosDxe.c b/RedfishC= lientPkg/Features/Bios/v1_0_9/Dxe/BiosDxe.c index 1ca920640a..bb64ef8625 100644 --- a/RedfishClientPkg/Features/Bios/v1_0_9/Dxe/BiosDxe.c +++ b/RedfishClientPkg/Features/Bios/v1_0_9/Dxe/BiosDxe.c @@ -141,6 +141,7 @@ RedfishResourceConsumeResource ( ); if (!EFI_ERROR (Status)) { DEBUG ((REDFISH_DEBUG_TRACE, "%a: @Redfish.Settings found: %s\n", __fu= nc__, PendingSettingUri)); + SetRedfishSettingsObjectsUri (Private->Uri, PendingSettingUri); Private->Uri =3D PendingSettingUri; ExpectedResponse =3D &PendingSettingResponse; } else { diff --git a/RedfishClientPkg/Features/BootOption/v1_0_4/Dxe/BootOptionDxe.= c b/RedfishClientPkg/Features/BootOption/v1_0_4/Dxe/BootOptionDxe.c index 7501c1a975..5a66fe59e0 100644 --- a/RedfishClientPkg/Features/BootOption/v1_0_4/Dxe/BootOptionDxe.c +++ b/RedfishClientPkg/Features/BootOption/v1_0_4/Dxe/BootOptionDxe.c @@ -130,6 +130,7 @@ RedfishResourceConsumeResource ( ); if (!EFI_ERROR (Status)) { DEBUG ((REDFISH_BOOT_OPTION_DEBUG_TRACE, "%a: @Redfish.Settings found:= %s\n", __func__, PendingSettingUri)); + SetRedfishSettingsObjectsUri (Private->Uri, PendingSettingUri); Private->Uri =3D PendingSettingUri; ExpectedResponse =3D &PendingSettingResponse; } else { diff --git a/RedfishClientPkg/Features/ComputerSystem/v1_13_0/Dxe/ComputerS= ystemDxe.c b/RedfishClientPkg/Features/ComputerSystem/v1_13_0/Dxe/ComputerS= ystemDxe.c index 1235760a18..a0c71212b3 100644 --- a/RedfishClientPkg/Features/ComputerSystem/v1_13_0/Dxe/ComputerSystemDx= e.c +++ b/RedfishClientPkg/Features/ComputerSystem/v1_13_0/Dxe/ComputerSystemDx= e.c @@ -133,6 +133,7 @@ RedfishResourceConsumeResource ( ); if (!EFI_ERROR (Status)) { DEBUG ((REDFISH_DEBUG_TRACE, "%a: @Redfish.Settings found: %s\n", __fu= nc__, PendingSettingUri)); + SetRedfishSettingsObjectsUri (Private->Uri, PendingSettingUri); Private->Uri =3D PendingSettingUri; ExpectedResponse =3D &PendingSettingResponse; } else { diff --git a/RedfishClientPkg/Features/ComputerSystem/v1_5_0/Dxe/ComputerSy= stemDxe.c b/RedfishClientPkg/Features/ComputerSystem/v1_5_0/Dxe/ComputerSys= temDxe.c index 5207362dac..494bf59dfc 100644 --- a/RedfishClientPkg/Features/ComputerSystem/v1_5_0/Dxe/ComputerSystemDxe= .c +++ b/RedfishClientPkg/Features/ComputerSystem/v1_5_0/Dxe/ComputerSystemDxe= .c @@ -134,6 +134,7 @@ RedfishResourceConsumeResource ( ); if (!EFI_ERROR (Status)) { DEBUG ((REDFISH_DEBUG_TRACE, "%a: @Redfish.Settings found: %s\n", __fu= nc__, PendingSettingUri)); + SetRedfishSettingsObjectsUri (Private->Uri, PendingSettingUri); Private->Uri =3D PendingSettingUri; ExpectedResponse =3D &PendingSettingResponse; } else { diff --git a/RedfishClientPkg/Features/Memory/V1_7_1/Dxe/MemoryDxe.c b/Redf= ishClientPkg/Features/Memory/V1_7_1/Dxe/MemoryDxe.c index c4a363cdf5..f2c0a7735b 100644 --- a/RedfishClientPkg/Features/Memory/V1_7_1/Dxe/MemoryDxe.c +++ b/RedfishClientPkg/Features/Memory/V1_7_1/Dxe/MemoryDxe.c @@ -134,6 +134,7 @@ RedfishResourceConsumeResource ( ); if (!EFI_ERROR (Status)) { DEBUG ((REDFISH_DEBUG_TRACE, "%a: @Redfish.Settings found: %s\n", __fu= nc__, PendingSettingUri)); + SetRedfishSettingsObjectsUri (Private->Uri, PendingSettingUri); Private->Uri =3D PendingSettingUri; ExpectedResponse =3D &PendingSettingResponse; } else { --=20 2.37.1.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#117034): https://edk2.groups.io/g/devel/message/117034 Mute This Topic: https://groups.io/mt/105081873/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-