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 78C90AC1001 for ; Thu, 4 Apr 2024 10:18:26 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=mYQmnNZLP6Up/gyoKxDVMFJW0zB4Ei9NyAP85oj4jBc=; 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:Resent-From:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Transfer-Encoding:Content-Type; s=20240206; t=1712225904; v=1; b=bzBOGiLdsyCJULIlrVDeicebJPv+ZXRws3QWk/VaJmZ/3kbECk+il3IG2nVk0jxEI62QwfL9 mAtISyy3JlvgmNglq4c0KvqlLR1Eclq2kr2IfBBIUAuruqw2XjGjGJaOM4VYLFBsWAqKmvOalK1 goSYSukQtsaN5sFG4DvdWF9vnxHcBExi6ODKPzGUZHngGZYuqe3SPA7SCjIlLLagCtUIUezF9mQ E3z7O6SJslZBOvThugX1CwQzNu7rhI02SY6lmTu3YWzqcKeWJjXlAbwUwM83yq8OUNkd/sw3M5G uDmuzK5nb0gYC0TNVWmETvZoScSSN1JF/vCL/Mjbv0jXA== X-Received: by 127.0.0.2 with SMTP id v499YY7687511xpj44NrlYjy; Thu, 04 Apr 2024 03:18:24 -0700 X-Received: from NAM02-SN1-obe.outbound.protection.outlook.com (NAM02-SN1-obe.outbound.protection.outlook.com [40.107.96.52]) by mx.groups.io with SMTP id smtpd.web10.34717.1712225904078804241 for ; Thu, 04 Apr 2024 03:18:24 -0700 X-Received: from BY3PR10CA0012.namprd10.prod.outlook.com (2603:10b6:a03:255::17) by BL1PR12MB5706.namprd12.prod.outlook.com (2603:10b6:208:385::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7409.45; Thu, 4 Apr 2024 10:18:20 +0000 X-Received: from CO1PEPF000066ED.namprd05.prod.outlook.com (2603:10b6:a03:255:cafe::f7) by BY3PR10CA0012.outlook.office365.com (2603:10b6:a03:255::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7409.46 via Frontend Transport; Thu, 4 Apr 2024 10:18:19 +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 CO1PEPF000066ED.mail.protection.outlook.com (10.167.249.10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.7452.22 via Frontend Transport; Thu, 4 Apr 2024 10:18:19 +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; Thu, 4 Apr 2024 05:18:15 -0500 From: "Chang, Abner via groups.io" To: CC: Nickle Wang , Igor Kulchytskyy Subject: [edk2-devel] [PATCH V3 0/6] Config language searching algorithm enhancement and the bug fixes Date: Thu, 4 Apr 2024 18:17:52 +0800 Message-ID: <20240404101758.84-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: CO1PEPF000066ED:EE_|BL1PR12MB5706:EE_ X-MS-Office365-Filtering-Correlation-Id: 68c59707-f084-4b1a-f251-08dc54908cca X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Message-Info: Mrjs0onpObsbeVZhgFvH1JzPi6S6RNuHj8prxUA6hMS6J2aPQSPUOUEF/SXTcr84bS62QfL91uqD+PvS2kWfCHoajRFN4PZxbz/2bqG3l3Mo8RJB/Ni/wZAVUVEPfTdTfJyBBd9BW4qau+4QB1h07vdYnDOA5lfdVfYWUmbbzoBfBfRCX8n/BHDzN2+3cUtp6DoillRa5zuJTUXPPpj5SR74lksId2DNUKQsmduubzUzDkDBvGxHn88WIiEtxOICz3LF91FdFIlThJw5iifkwmUbgPwUatTMLusVjp8IQeYqlSldVqE8/fB4RdAFZ9+R3h836e1MbLwJQtZZLJiOyn1v+r+UW3ThhS2y4AwHZtZX0BEU5GNPLqgEt84a2VSnp/j7dH42FWaN3roDAvhAKeHzx0GfNNUvixIoTP19RKeYytK9rHNlKEN+lh++UvLFq/GY8mBOwk5WYzGzDR0q4DEoIoZHyuPqEwTw+2OgpSk0CmCHHQ4uH9dVZkp3aE4YA/fAl69W10LSsnAid7P0Ff/FTq6VnYx526VvwDoF5F5YHPVRmHpHjSMjt8jZK458Dp4XBVFUtw8blNhB5kFoJLma1ctDFyVn7APzJbgkewoHf0hJnDg9yeL53a69egr2aAlAqAYw3nxCCxQfo6sJie5erERmXlEEg6Nbl5T64AOSeNmZ1j9g4w2bsm/FteDwgqQ2X1iyAFcDJwNJGRQ6ApZZCCXE8VN09X3ngIp0fC2zp163TDr+5pniJXdjjO3e X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Apr 2024 10:18:19.0620 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 68c59707-f084-4b1a-f251-08dc54908cca 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: CO1PEPF000066ED.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL1PR12MB5706 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: Thu, 04 Apr 2024 03:18:24 -0700 Resent-From: abner.chang@amd.com Reply-To: devel@edk2.groups.io,abner.chang@amd.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: TaccZEmV531LuwNQrl8Zctthx7686176AA= 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=bzBOGiLd; 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 PR # 5517 In V3, adddressed comments from Nickle and Igor. In V2, add patch 6/6 contibuted by Nvidia for updating BIOS menu path implementation based on the performance improvement. In this patch set, 1 We enhance the config language searching algorithm. As the performance of searching config language using HII GetString is pretty slow. For the example, 1800 HII BIOS options takes over 30 mins to build up the metadata required for Redfish BIOS resource. With this improvement, it only takes 4 seconds. 2.Introduce the Redfish debug framework, there are three edk2 Redfish debug scopes. a. PcdDebugPrintErrorLevel, DEBUG_MANAGEABILITY to enable debug message for edk2 Redfish. b. PcdRedfishDebugCategory, enablement of individule edk2 Redfish component. Currently we only support RedfishPlatformConfigDxe module. c. PcdRedfishPlatformConfigDebugProperty, edk2 Redfish module debug scope. This PCD is used by RedfishPlatformConfigDxe debug enablement. 3 This patch set also fixes an issue that deletes HII string unexpectedly. Signed-off-by: Abner Chang Co-authored-by: Nickle Wang Cc: Igor Kulchytskyy Abner Chang (4): RedfishPkg/RedfishDebugLib: Introduce Redfish DEBUG macro RedfishPkg/RedfishPlatformConfigDxe:Add RefishDebugLib support RedfishPkg/RedfishPlatformConfigDxe: HII string is deleted unexpectedly EmulatorPkg/Redfish: Use edk2 Redfish debug PCDs Nickle Wang (1): RedfishPkg/RedfishPlatformConfigDxe: support menu path report abnchang (1): RedfishPkg/RedfishPlatformConfigDxe: Config language searching optimization RedfishPkg/RedfishPkg.dec | 24 + EmulatorPkg/EmulatorPkg.dsc | 21 + .../RedfishDebugLib/RedfishDebugLib.inf | 4 + .../RedfishPlatformConfigDxe.inf | 8 + RedfishPkg/Include/Library/RedfishDebugLib.h | 43 +- .../RedfishPlatformConfigDxe.h | 48 +- .../RedfishPlatformConfigImpl.h | 135 ++- .../Library/RedfishDebugLib/RedfishDebugLib.c | 55 +- .../RedfishPlatformConfigCapability.c | 58 ++ .../RedfishPlatformConfigDxe.c | 89 +- .../RedfishPlatformConfigImpl.c | 927 ++++++++++++++++-- 11 files changed, 1239 insertions(+), 173 deletions(-) create mode 100644 RedfishPkg/RedfishPlatformConfigDxe/RedfishPlatformConf= igCapability.c --=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 (#117423): https://edk2.groups.io/g/devel/message/117423 Mute This Topic: https://groups.io/mt/105326102/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-