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 0E37C740045 for ; Fri, 22 Mar 2024 09:43:47 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=PNqho7RbyKgEf0ui40zqYd8RbRdCohGNo/2caPLgNRY=; 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=1711100626; v=1; b=N1l6qhDKIaLfwAiUFJwjyZ234ta1yTDdm3d+Qi4EsACze3UKumyOEKrxspqexrJ2r/lJMtEZ 6vk5s1PvNvS6nhcDYhndj+MoklsCezXY8dar1mheUIGu7zeEpcl6dtchS28FVxnv9SZ8EtMfB/y b4hAuZObIJYnZzmNEvVxPkJPDWzQm93Kvx/IODlK73+Ftuj/WFlpT3pL2bTIO4dUhhTZDTMdhnM 6DbrEev8scGW6SPehWmeBiGXNDkOttMfIrXIT7+1b7Z1+wbOxR/J7tY9T3f1IPlCvAtKFEG/+fu p022PIM17s499xhwXqKfD9gkNCwlZ1edMqoBzZbpyoisA== X-Received: by 127.0.0.2 with SMTP id SbNoYY7687511xmNc78wH1MW; Fri, 22 Mar 2024 02:43:46 -0700 X-Received: from NAM10-DM6-obe.outbound.protection.outlook.com (NAM10-DM6-obe.outbound.protection.outlook.com [40.107.93.63]) by mx.groups.io with SMTP id smtpd.web11.9139.1711100625839261321 for ; Fri, 22 Mar 2024 02:43:46 -0700 X-Received: from PH8PR07CA0016.namprd07.prod.outlook.com (2603:10b6:510:2cd::24) by MN2PR12MB4223.namprd12.prod.outlook.com (2603:10b6:208:1d3::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7409.24; Fri, 22 Mar 2024 09:43:43 +0000 X-Received: from CY4PEPF0000FCC1.namprd03.prod.outlook.com (2603:10b6:510:2cd:cafe::af) by PH8PR07CA0016.outlook.office365.com (2603:10b6:510:2cd::24) 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:43:43 +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 CY4PEPF0000FCC1.mail.protection.outlook.com (10.167.242.103) 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:43:42 +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:43:37 -0500 From: "Chang, Abner via groups.io" To: CC: Nickle Wang , Igor Kulchytskyy Subject: [edk2-devel] [PATCH 0/5] [PATCH 0/5] Config language searching algorithm enhancement and the bug fixes Date: Fri, 22 Mar 2024 17:43:08 +0800 Message-ID: <20240322094313.79-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: CY4PEPF0000FCC1:EE_|MN2PR12MB4223:EE_ X-MS-Office365-Filtering-Correlation-Id: 60126c7d-2c48-4d4e-2d7d-08dc4a548fd8 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Message-Info: Nkt7mmpykdwnt85ZQ9MpaCWzaxd3iQ16WYSHGS4fHwapLM9FyrJ4CW99gLeQtw5y9AoeZjfL9kjRVNON21lnM8AZRRqZ7YXTlVrsgCAxGZMoiwpf4zKqfplVNfj/a9oyvHeRMK0a+J99/DXTQbZsKhdULWjrACdSTOEHII7lbGQqcGmGGTTsmM8qHq/HLyu0SMIvEgja6b8WZGw+cXfOFbhZMmWG2Wz4HFBps4Xa5XPFNRQE32BIv+SRMzSivzkVx5oHrJRXk+igSHAzk7YmpE93726K5tUG1tvn3RYPJcXbGHMhR0WqxgnVvRQn35JzTqGOIJIrYlsG55ipryfY0unjbS7Nn8tPUOaQg3Nc5FK53eSduq6AVG/Y1iJwAUwITxfnyYCPXtjCi4ivSFsG9SoaAuY8nniBvN1XHoQ+jjNmgrBvqf/ZEBiCKbLnmfnYtdvwi+3zN5hLzJxOonvfvcBihV5wT8DhvvRvfg5F3bJKwFClUF2kpnJRcQCVQyNFp+cxwWxgeUgT3P4fc4AepxL7SHHHbcxyB8+B0UNCx/bMnm7Je/R9V7INBxEtyHqfQ3SN8e11jjp0QxELTFra2qncjfVHTClfiQ9M7PTL85hFqPpPQK5QklptvfjZVvqx7nASocvAILxOvg/GMsVkpmsP50eTy8RvK+eMIC1D7qhPxBFJ1CRu13RVyL62hSEdzUotI+3tukxTdVrdpZgCr7dReqr3/fto62S7+p1U7iriZO1AHKU3Rb68J4usmaCz X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Mar 2024 09:43:42.8129 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 60126c7d-2c48-4d4e-2d7d-08dc4a548fd8 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: CY4PEPF0000FCC1.namprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR12MB4223 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:43:46 -0700 Reply-To: devel@edk2.groups.io,abner.chang@amd.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: SKjSqna6UG6eDwy2wGUoLF4Dx7686176AA= 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=N1l6qhDK; 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 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 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 | 46 +- .../RedfishPlatformConfigImpl.h | 131 ++- .../Library/RedfishDebugLib/RedfishDebugLib.c | 55 +- .../RedfishPlatformConfigCapability.c | 52 + .../RedfishPlatformConfigDxe.c | 89 +- .../RedfishPlatformConfigImpl.c | 894 ++++++++++++++++-- 11 files changed, 1196 insertions(+), 171 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 (#117036): https://edk2.groups.io/g/devel/message/117036 Mute This Topic: https://groups.io/mt/105082172/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-