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 8E56DD811B2 for ; Fri, 22 Mar 2024 09:03:34 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=C20++tAd/dGS8HyReHKw//40lmlSCh3Fyqou3TdeDqo=; 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=1711098213; v=1; b=xgRS6t62Iw5KP54phhCSnVR7fU89rosy568g+QtvQVUHFrfIFKXbap65a9m2CAcd6mg0YyJA ygvmgdQW0QFKvl9JXjyuUPb/GbFqADK7wttRj77g07HPkVHOLSyXTCiKbhKXE6+pzxhWvUDpsdj UVY8vJDwcZUx6H8QYORRQuSczYFNwWUjuyTnD8X+TUddoFbBqhIFRxcqte8OIiFrcOzFO8VZdkM CPWNcvhMxrgrQ+y8+LF+9CAdWO1kTtv2c3liqjThL+kC7fd5xzvL1jd2B5IOPygZzdYWe9I33PB VEs+F/hlKWpUyHqJ6FnGEPRB5gbXYTQ/elsgCnYbrZN3w== X-Received: by 127.0.0.2 with SMTP id ELvCYY7687511x5zZmg7Djie; Fri, 22 Mar 2024 02:03:33 -0700 X-Received: from NAM12-DM6-obe.outbound.protection.outlook.com (NAM12-DM6-obe.outbound.protection.outlook.com [40.107.243.89]) by mx.groups.io with SMTP id smtpd.web11.8652.1711098212567936699 for ; Fri, 22 Mar 2024 02:03:32 -0700 X-Received: from DM6PR07CA0058.namprd07.prod.outlook.com (2603:10b6:5:74::35) by DM4PR12MB6087.namprd12.prod.outlook.com (2603:10b6:8:b1::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7386.34; Fri, 22 Mar 2024 09:03:30 +0000 X-Received: from DS2PEPF00003442.namprd04.prod.outlook.com (2603:10b6:5:74:cafe::4e) by DM6PR07CA0058.outlook.office365.com (2603:10b6:5:74::35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7386.28 via Frontend Transport; Fri, 22 Mar 2024 09:03:30 +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 DS2PEPF00003442.mail.protection.outlook.com (10.167.17.69) 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:03:30 +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:03:28 -0500 From: "Chang, Abner via groups.io" To: CC: Nickle Wang , Igor Kulchytskyy Subject: [edk2-devel] [edk2-redfish-client][PATCH V2 2/2] RedfishClientPkg/FeatureDriver: Use SetRedfishSettingsObjectsUri Date: Fri, 22 Mar 2024 17:03:00 +0800 Message-ID: <20240322090300.562-1-abner.chang@amd.com> MIME-Version: 1.0 X-Originating-IP: [10.180.168.240] X-ClientProxiedBy: SATLEXMB04.amd.com (10.181.40.145) To SATLEXMB04.amd.com (10.181.40.145) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS2PEPF00003442:EE_|DM4PR12MB6087:EE_ X-MS-Office365-Filtering-Correlation-Id: 0ff5719d-338c-48bf-fbfc-08dc4a4ef1f5 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Message-Info: ICMm6ZhFbWbGLJjMoYaIUMDc8bX3aOtaEfL1+5TQ2kqO1fzZGpc+o+J5Ou5/A5IWPCIN6g8CNyyunsshxaXIa3DGLtqyk6YHfaGhbPEIEkBRoh2pBQ6MgN/7bXoYdGzPTvwungVW5eYJ3lWebdh0p6HTZfU2QCt8c17H95Y86n83xKFj+VIp1dzAZsV2Q4Plu7pJIn1Kkbd9+U+kGBHrAthl9EKIYaF+hYAi+HWT80RkUUJ/eQIM1rtPT6wc6Deb0LB8iP3J5fKCr5frnimTWxN0A9ifgInwN1MUeqJf1+kG8j8UsbUt1uZaap3iWuHtuG3UP2ROApxqYpz7iOLvIiQuWSLM7/qSXo5nYaeDYcRd/6pU+s243ms9HnG39LweuUeZgqZwSghEfO8x+Lp0Ms1NM3BT6fP/SPcxuRMGVPT2iroF8RuegpCsGpZS0G4tGpTW+cVI368suzPVAKo+U0Mlj4427QfjL5xRt9raHDz6aZBVUshS8zwCoRvP2L8DFKR2zQaQl6GvIi1KZgmd9pPeD4+JBCafYe4GNRgfkQhZni/L6E0s1DX1GG5O3zBhltWRwio3fcDqw31eDHOJwSgbi0mupnWKvq/0pFo9Uty15kJA/CZtT76l0ntwzEY4No6aRtLXi1aJPAWkOP4J5fLohSsMj4A7n155FinEZNhUxkii3AesrTgFVa8NGUnccsu72bZul62Cj0CbwXzML+8V4MywpdTFiCZhMXqtifnMuWr9/F9obCITOy8DRuhN X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Mar 2024 09:03:30.5383 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 0ff5719d-338c-48bf-fbfc-08dc4a4ef1f5 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: DS2PEPF00003442.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR12MB6087 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:03:32 -0700 Reply-To: devel@edk2.groups.io,abner.chang@amd.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: 9ucLrZzSQtbhGxHUrj2JD0Ayx7686176AA= 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=xgRS6t62; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io; dmarc=pass (policy=none) header.from=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/Bios/v1_1_0/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 + 6 files changed, 6 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/Bios/v1_1_0/Dxe/BiosDxe.c b/RedfishC= lientPkg/Features/Bios/v1_1_0/Dxe/BiosDxe.c index b2b9a0e2de..2a77b3475a 100644 --- a/RedfishClientPkg/Features/Bios/v1_1_0/Dxe/BiosDxe.c +++ b/RedfishClientPkg/Features/Bios/v1_1_0/Dxe/BiosDxe.c @@ -140,6 +140,7 @@ RedfishResourceConsumeResource ( ); if (!EFI_ERROR (Status)) { DEBUG ((DEBUG_MANAGEABILITY, "%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 (#117031): https://edk2.groups.io/g/devel/message/117031 Mute This Topic: https://groups.io/mt/105081790/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-