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 B06FF941D75 for ; Tue, 26 Mar 2024 15:15:38 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=qScWKvhK/GAzaIdk2XFjOz/8LcXCoGfLCXtLSORVaWk=; 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=1711466137; v=1; b=rCz4Y3QnpZqyI22O8LR5LNB+ramkWm/tg8tXYlcz4iq2x9+57oo+QUXxmgOJ6l3JBUWI8a6G Ne87nmWPYlPyZeacMywBVozToSLiZXWgZsDDafIODHu8I12G9WJLTq6NYgh7CgVJS8TtHOZhDz2 msYjh37YqXOU87a3E55Emasp+OGyE2uEbG+vBMVg07bQS6ZYqOoz8xeJjRMLTOoxJbQi4QqNLpu NEn9M/g8dvHyQBrqFPDsQVPtrWwK8L9ML4hwTp7kDBiSrm2uciqT/cB7zRUeOIJ4/xf5HLJkatc FkR5SXkcAmx/KRgK7CFbUAJVOxNGxzQWqudoCo7h1z4xA== X-Received: by 127.0.0.2 with SMTP id qfA2YY7687511xF28AGPFp3B; Tue, 26 Mar 2024 08:15:37 -0700 X-Received: from NAM12-BN8-obe.outbound.protection.outlook.com (NAM12-BN8-obe.outbound.protection.outlook.com [40.107.237.85]) by mx.groups.io with SMTP id smtpd.web11.11683.1711466136476744850 for ; Tue, 26 Mar 2024 08:15:36 -0700 X-Received: from PH7P221CA0016.NAMP221.PROD.OUTLOOK.COM (2603:10b6:510:32a::20) by DM4PR12MB7647.namprd12.prod.outlook.com (2603:10b6:8:105::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7409.32; Tue, 26 Mar 2024 15:15:34 +0000 X-Received: from CY4PEPF0000E9D9.namprd05.prod.outlook.com (2603:10b6:510:32a:cafe::a2) by PH7P221CA0016.outlook.office365.com (2603:10b6:510:32a::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7409.13 via Frontend Transport; Tue, 26 Mar 2024 15:15:34 +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 CY4PEPF0000E9D9.mail.protection.outlook.com (10.167.241.77) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.7409.10 via Frontend Transport; Tue, 26 Mar 2024 15:15:33 +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; Tue, 26 Mar 2024 10:15:30 -0500 From: "Chang, Abner via groups.io" To: CC: Nickle Wang , Igor Kulchytskyy Subject: [edk2-devel] [PATCH V2 0/6] [PATCH V2 0/5] Config language searching algorithm enhancement and the bug fixes Date: Tue, 26 Mar 2024 23:14:56 +0800 Message-ID: <20240326151503.106-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: CY4PEPF0000E9D9:EE_|DM4PR12MB7647:EE_ X-MS-Office365-Filtering-Correlation-Id: fc280e27-d44c-4d9e-2f13-08dc4da79546 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Message-Info: dUJLoW75mjYKAJran+xAoI3SCzOaKCnmJIWyK+XGj67i1eRZbHz5EkCwp6L7QtCdpvSZEuFeQd4yvFZDrurzMV3VWuOt+sy8DPoBJkhiUwTsMb7z0T+IqEcGvpbSstGp84fsgdK0Bz6QYutX1MICqu9n+Hpea+yYFKaGF0ujbv2cFLXkAKw/wFnCL3nWxAqZ81zGdQwCCstzh5e/HzsCMMMClpjR2z2k98Ad+a3uL+TdzLQxcLtUA/ILBgh9PAKKBTZRXYAGpKjX4MqEzl9mngPb5SjrEo1mzqPsbKQfWHnStymVdynePeqLKegylwoBKf3FxIZZojh42YKVUQHj7y/xI2FBM44gFwmj7ir51GQUDsQtNiCvmDcJLkP23EuDFo3RyZhe4M/uua/1nGRZrkjGPx7Q3G/vN40iwtKVoQURsCgei0rjjshfSLvU3q9mJb9epSNginwET/M7hrpGzlihuqgUI7n2tUVwIJuCvi/TrtJzBFOhTzzLI6PTtwOEqbZ+1GThzQp9tIjb+2H4qN1JM9tzJ0Z6lBYhRZU/5luUSFiFzV8cTvKzfC/krfp3nEnaIabgVBrczlmOrRP9EP6tKHdPNhuuu5NlHCRlTUWzZP9BXII1l00ibv83vjNva41ZZn6gFvUZnVtJ5G3NjEdWkMoszvk5S6wPtAs94BOpuUU39M0ZmxbwTcCCL/YV9Hiwk/1p+uCdwyLAKAIHMAtYupDTgcsldy5AoNdEyWnV0E/s+V+kAq11fEsnUpWv X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Mar 2024 15:15:33.8112 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: fc280e27-d44c-4d9e-2f13-08dc4da79546 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: CY4PEPF0000E9D9.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR12MB7647 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: Tue, 26 Mar 2024 08:15:36 -0700 Reply-To: devel@edk2.groups.io,abner.chang@amd.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: qYgP2GHk9yA4YOGKVKRW4SBKx7686176AA= 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=rCz4Y3Qn; 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 # 5491 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 | 928 ++++++++++++++++-- 11 files changed, 1240 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 (#117122): https://edk2.groups.io/g/devel/message/117122 Mute This Topic: https://groups.io/mt/105159781/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-