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 135F67803E3 for ; Fri, 22 Mar 2024 14:42:03 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=myOnDCaTo8cjX1qZ4wurmqXrJtJ6cb3VNQMFV2BwaB8=; c=relaxed/simple; d=groups.io; h=Received-SPF:From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: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=1711118522; v=1; b=12K9WaU9RWmC+XmREjp1uFejcTf23R8W1fh1c14N7mkHIXGE0emMtbF2KkXBasPJp9H37MHN 6rqa0z0r4jT64hl5UMZeRthjIopBqq/Q0nphath5XZY9eWqizgeEqbCIrhfvIAS8QJUYEkjiFNU nHxHe2nofrIZprB0nL9Lhfnpg9fdHA1orNgfKm4F1ek+cc8ZkJe9vkCoyLEZHXnKPAFVnZIsAXL ECfZGeoANmq7gS06ky9KQmfD0L9HftsMlTIDICoXgILP1XxbKWv5Cu1mKcQBepZWajbURcJdBMx bqlL0V7GfPKXlvhTYa+iqgVJPsJjPmZ1q9d64DlLjclfA== X-Received: by 127.0.0.2 with SMTP id WEWnYY7687511xDgQCJc2yYU; Fri, 22 Mar 2024 07:42:02 -0700 X-Received: from NAM12-BN8-obe.outbound.protection.outlook.com (NAM12-BN8-obe.outbound.protection.outlook.com [40.107.237.88]) by mx.groups.io with SMTP id smtpd.web11.15132.1711118521894987254 for ; Fri, 22 Mar 2024 07:42:02 -0700 X-Received: from BL1PR13CA0200.namprd13.prod.outlook.com (2603:10b6:208:2be::25) by SJ2PR12MB8808.namprd12.prod.outlook.com (2603:10b6:a03:4d0::10) 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 14:41:56 +0000 X-Received: from BL6PEPF0001AB52.namprd02.prod.outlook.com (2603:10b6:208:2be:cafe::c6) by BL1PR13CA0200.outlook.office365.com (2603:10b6:208:2be::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7409.12 via Frontend Transport; Fri, 22 Mar 2024 14:41:56 +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 BL6PEPF0001AB52.mail.protection.outlook.com (10.167.241.4) 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 14:41:56 +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 09:41:54 -0500 From: "Chang, Abner via groups.io" To: CC: Nickle Wang , Igor Kulchytskyy Subject: [edk2-devel] [edk2-redfish-client][PATCH V5 2/2] RedfishClientPkg/FeatureDriver: Use SetRedfishSettingsObjectsUri Date: Fri, 22 Mar 2024 22:41:24 +0800 Message-ID: <20240322144124.1671-2-abner.chang@amd.com> In-Reply-To: <20240322144124.1671-1-abner.chang@amd.com> References: <20240322144124.1671-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: BL6PEPF0001AB52:EE_|SJ2PR12MB8808:EE_ X-MS-Office365-Filtering-Correlation-Id: dbfccd98-741c-4390-f576-08dc4a7e393b X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Message-Info: Fib0hzdGsoYUWSzggUIRXvzFSRH/jDVHZH5gntcTtelZz0DRcC2C4+S/s0xnSpKRpOo6p2NZH/bepLnC7ZpXNC0wfI0vAxELYlRK26J8WVimRCP83BIofbRYnFF93vThN6ln0c6yCqi9WDacdiN6nywIvTRYhXJla6Bj6j4ek/r1PWQiYI9Dug16C1u5WCWt0Ra2SbniM4fsblyiQuG2JYJzuRQCmUBVK61mCK5KNj88ETCLwpBAuphhFblK4+Pl6XZM0BEic4qTCRvBJvrE6XZ+gHQq8PJDu4ZB3RygASqoirDQtKYvXpf2YJXXf9oNjmgar7pf/C/1AV+HCtA0uQHswEkaUn9scLAnpGAtElDG9rfDFIvvrN7vl9ym7PlU/uOxl9EGUdlXNt1YEoG9f3ztbtVSUJV0XcCL5wIA6iSqxodjjXdUMJIFqRGb4FljrmhV8gzPKrCdkktNDpgQIl3pWUzB9ok71kTOesv5vYVkGi+jeWw+ocFe4IMlqZsOAvQ1jPBYsIlwFZKERM1lw4cN9cDW9UNV7IdMV4qanB89nTiWaAJo3k6RudfMHIwIHjDQKiJYQQTU5Ol6gA7k9ZQfBMAGzCvI1fY9QkNO/HDspLNNb2pbCQ1FipqykH+A4y5PMEEi1mI00J8xCX0/RcNrl3zOKtmfopVf6HciQJXT5vxD3HwgCFa6r9qxzpQQ0cAllZ30IQXXkPpOFx+QzpmFcboH2fcdrSgy4RpwYHmIFc30d4DnDx/Z0UWDmtrJ X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Mar 2024 14:41:56.4770 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: dbfccd98-741c-4390-f576-08dc4a7e393b 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: BL6PEPF0001AB52.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ2PR12MB8808 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 07:42:02 -0700 Reply-To: devel@edk2.groups.io,abner.chang@amd.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: qTWYq1UG9uXEyZ7nZEwDroznx7686176AA= 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=12K9WaU9; 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 (#117053): https://edk2.groups.io/g/devel/message/117053 Mute This Topic: https://groups.io/mt/105086470/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-