From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pg1-f173.google.com (mail-pg1-f173.google.com [209.85.215.173]) by mx.groups.io with SMTP id smtpd.web11.10564.1659245851702719585 for ; Sat, 30 Jul 2022 22:37:31 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=mvL3DLHk; spf=pass (domain: gmail.com, ip: 209.85.215.173, mailfrom: kuqin12@gmail.com) Received: by mail-pg1-f173.google.com with SMTP id 206so3597194pgb.0 for ; Sat, 30 Jul 2022 22:37:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc; bh=k7wKUKmQnUTnrixQwaLrxMc/GaDQ23By8t4hVfnvndI=; b=mvL3DLHkWcJ7aqg1b0PhVNwYPy1sfIigbTBRSSyrOLgITFU+lYtahD3t1GxX6GG5uP sRXu4mZxHu9oxZfulV6jNau2DfElkrwsGzyq2cBPZwVg+YTRd+dHpYNdnQjcqxSvbW3u Ifjha89JF1INrLUp56KSmGevZAbTzRytjBEYlb+KwkZBbvehsWVEfexnDe9Wapq9CeKc IE8kpS84UuZ0N2/5L8sDbuiVdqT9Ob78EhHqQD7VRsp4GHCF2m7SRNKb5Gmkm56vmS0u RdqJJXEdmCDOUtww1yyxELIqMhbgIPrLV8NxVQLCwUyS5NxKLbV+yOK2TEyptsTCFo3Q aLrQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc; bh=k7wKUKmQnUTnrixQwaLrxMc/GaDQ23By8t4hVfnvndI=; b=wUB5l9zjY0EG9K2+S5PHON+7juFooLIfHkLlXLhYEZcfqv0CIIBFGkYa9UvMoBbGx9 g0kod6XEG+FfrSgsIdV9mnZ3MB7UB0WdnrtK3mY4wGRE/2Ngur10oF3S+RpN/u5n/32W V2C+tqbwG8tB59Z28vWffzMjPAMXKKliu0brelotT2drg8QLF7AZ27TO077ie84zjnsl XrPPtIzN6wVGEPEEr/wnmtMhkXXZntu5hWxS9CNeOn/puIuifNz0aeSX/ZTsMu7jkOs1 lRzQjuJMk46VkOxCYUa9rteHsm3Hsnz1M4sLTxk1oE+b6jwA+Gi/DWRG6hxFuLv2/gps Fu9g== X-Gm-Message-State: AJIora+ACblVX9o0wLNBRBZNGxnp5+IuCqBkD9LKpUba+Qm02K4jAvdt fIgOY8umiMv5n0oRTUoynnpbGorkT5w= X-Google-Smtp-Source: AGRyM1v1KbAVhS274Vzgydcwgi0eERR2TYQRY9cOX5FuVLcLDllcF6YC+T+dCduowWAwh8vvYaC+Pw== X-Received: by 2002:a05:6a00:1410:b0:528:5a5a:d846 with SMTP id l16-20020a056a00141000b005285a5ad846mr10798045pfu.9.1659245850854; Sat, 30 Jul 2022 22:37:30 -0700 (PDT) Return-Path: Received: from MININT-0U7P5GU.redmond.corp.microsoft.com ([2001:4898:80e8:7:a09e:ed80:a0cd:1e24]) by smtp.gmail.com with ESMTPSA id x6-20020a1709029a4600b00168e83eda56sm6714524plv.3.2022.07.30.22.37.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Jul 2022 22:37:30 -0700 (PDT) From: "Kun Qin" To: devel@edk2.groups.io Cc: Sami Mujawar , Alexei Fedorov , Pierre Gondois Subject: [PATCH v3 0/6] Enhance DynamicTablesPkg modules Date: Sat, 30 Jul 2022 22:37:21 -0700 Message-Id: <20220731053727.536-1-kuqin12@gmail.com> X-Mailer: git-send-email 2.37.1.windows.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3996 REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3997 REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3998 This patch series is a follow-up of previous submission: https://edk2.groups.io/g/devel/message/91926 The main changes between v2 and v3 patches are: - Added reviewed-by collected from previous iteration - Added descriptions for newly introduced structures - Updated functions names Current DynamicTablesPkg provide great support for creating dynamic ACPI tables during boot time. However, there are some modules needs minor tweaks to expand support and compatibility for OS requirements and platform needs. This patch series proposes a few fixes to resolve minor issues discovered in DynamicPlatRepoLib, AcpiSsdtPcieLibArm and DynamicTableManagerDxe. Patch v3 branch: https://github.com/kuqin12/edk2/tree/dynamic_update_v3 Cc: Sami Mujawar Cc: Alexei Fedorov Cc: Pierre Gondois Kun Qin (6): DynamicTablesPkg: DynamicPlatRepoLib: Added MemoryAllocationLib to inf DynamicTablesPkg: DynamicPlatRepoLib: Fix incorrect dereferencing DynamicTablesPkg: DynamicPlatRepoLib: Adding more token fixers DynamicTablesPkg: DynamicTableManagerDxe: Added check for installed tables DynamicTablesPkg: AcpiSsdtPcieLibArm: Added function to reserve ECAM space DynamicTablesPkg: AcpiSsdtPcieLibArm: Added case handling for PCI config DynamicTablesPkg/Drivers/DynamicTableManagerDxe/DynamicTableManagerDxe.c | 214 ++++++++++++-------- DynamicTablesPkg/Library/Acpi/Arm/AcpiSsdtPcieLibArm/SsdtPcieGenerator.c | 176 ++++++++++++++++ DynamicTablesPkg/Library/Common/DynamicPlatRepoLib/CmObjectTokenFixer.c | 80 +++++++- DynamicTablesPkg/Drivers/DynamicTableManagerDxe/DynamicTableManagerDxe.inf | 4 + DynamicTablesPkg/Library/Common/DynamicPlatRepoLib/DynamicPlatRepoLib.inf | 1 + 5 files changed, 391 insertions(+), 84 deletions(-) -- 2.37.1.windows.1