From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pj1-f53.google.com (mail-pj1-f53.google.com [209.85.216.53]) by mx.groups.io with SMTP id smtpd.web12.28831.1658982712124433738 for ; Wed, 27 Jul 2022 21:31:52 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=ResASaaY; spf=pass (domain: gmail.com, ip: 209.85.216.53, mailfrom: kuqin12@gmail.com) Received: by mail-pj1-f53.google.com with SMTP id y1so716842pja.4 for ; Wed, 27 Jul 2022 21:31:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=8PWqgSowzwO3Tbff73L3b8jN1Ys7RQ7ZV5V96vkWOKo=; b=ResASaaYRuC4c42KL8psy03FHtHUbluXmLD5iHnkKrpYxAj6/lT3fCSxYWw2TBcnFf L6UGjaiPEiYLeILc4SRCPuTDaChc8rW2bxAuKH1k7PzHt3lcx+Xsu9ZHZDiLoo2a2qt1 hh9tXBsx6ao+xM8OEyZlkDsGTHAgSCP0DK8N9vrZbZgPOr8AkYGG3h26P8anSknC7Yr/ G3yOZQTN/E0SM3POXZzjlXt2L2bMpLsfHqlue02QfT8mAQ/gfSCQ/ntAaKIhjIiaEY0i 66fkH7D73vpblF2HpE1ltgkI8BHy0UTZmykKyyRC9awu8Ci3unz6V1yqfJ+Ibk1e97tw 08dw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=8PWqgSowzwO3Tbff73L3b8jN1Ys7RQ7ZV5V96vkWOKo=; b=DQjG2mcwcBGnjlZ/F9hZg+QHcg2zxRvgVq5ZJE6P6gQSWlvU/l3XvijFtc3lKo2jmT O/jJLJ+z0ziutCpG1hi/K2XCI0Zl1uq7oMC1pEndLdg/Zj8WZrS/eeEBYrQsO70aWhje A7Y07k2WJ51ZH/Mibjzv3GC36aryXDPtDcwSuARkaDrdSO2PwGyhACpBqTvTQKauC7WH Tq1ooa9qGTB/a97DjJNyrxFHGWvPIxns/64ef8plMbnU4gYOyECpTrFLV8CdxkBKY1b0 /0z7ra78c9a3orbOFmAlIZ6XAvLlCWOu/AHQx3Gu64N7sQ0Knbcw09X7XtPiZwBUvE2G Crkg== X-Gm-Message-State: AJIora+br7BOCBKpXg96EI4ZuA3/E82VEtUm+N1o9wamevfm1+pBk7UO PoYdiQuYoykQCl1F69qNxk8UGcK9yhE= X-Google-Smtp-Source: AGRyM1tZIEBRgY02dDRM6O/many7ke6PKB+evLiKtgwdWKXFBPjr3oOvy3phE55ae4yzVNjRvug2Zw== X-Received: by 2002:a17:903:1245:b0:16c:f984:8462 with SMTP id u5-20020a170903124500b0016cf9848462mr24711328plh.0.1658982711259; Wed, 27 Jul 2022 21:31:51 -0700 (PDT) Return-Path: Received: from MININT-0U7P5GU.redmond.corp.microsoft.com ([2001:4898:80e8:36:7fef:12fc:943:d465]) by smtp.gmail.com with ESMTPSA id ik1-20020a170902ab0100b0016c48c52ce4sm14716392plb.204.2022.07.27.21.31.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Jul 2022 21:31:50 -0700 (PDT) From: "Kun Qin" To: devel@edk2.groups.io Cc: Sami Mujawar , Alexei Fedorov , Pierre Gondois Subject: [PATCH v2 0/6] Enhance DynamicTablesPkg modules Date: Wed, 27 Jul 2022 21:31:41 -0700 Message-Id: <20220728043147.395-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/91497 The main changes between v1 and v2 patches are: - Added reviewed-by collected from previous iteration - Updated mandatory tables presence verification routine - Added checks of config space before creating RES0 nodes 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 v2 branch: https://github.com/kuqin12/edk2/tree/dynamic_update_v2 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 | 182 +++++++++++--------- DynamicTablesPkg/Library/Acpi/Arm/AcpiSsdtPcieLibArm/SsdtPcieGenerator.c | 174 +++++++++++++++++++ DynamicTablesPkg/Library/Common/DynamicPlatRepoLib/CmObjectTokenFixer.c | 80 ++++++++- DynamicTablesPkg/Drivers/DynamicTableManagerDxe/DynamicTableManagerDxe.inf | 1 + DynamicTablesPkg/Library/Common/DynamicPlatRepoLib/DynamicPlatRepoLib.inf | 1 + 5 files changed, 354 insertions(+), 84 deletions(-) -- 2.37.1.windows.1