From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pl1-f175.google.com (mail-pl1-f175.google.com [209.85.214.175]) by mx.groups.io with SMTP id smtpd.web09.34990.1658190345441065512 for ; Mon, 18 Jul 2022 17:25:45 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=d/reOz81; spf=pass (domain: gmail.com, ip: 209.85.214.175, mailfrom: kuqin12@gmail.com) Received: by mail-pl1-f175.google.com with SMTP id p8so742237plq.13 for ; Mon, 18 Jul 2022 17:25:45 -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=FKcHapbBWdp907feq3QqaOgIgDBCpjlYCOdmO+9xNqg=; b=d/reOz81qNZeu/tlxcsnXmoa75c86SKIAQaGv6aNRESpHpavSiL7j1JrZ662xX9VyA No01YM0WWNHvdysnsyj/cbo7qqt6ZiTxjp0ILgBWu+t1YXIuYHViXp6D+jdKf0+G44c9 bPF1t3yWTCJuNJNUfQ0dZtqJw5ZOR9yE8r74Z3wP8ldiOwgiC/7DaW9pHJeznpbeZP2Q AX4nKEd/Z3tnvSFKDtlGcHqQAl6Q/4h1uaD6eNOLgrVeIad2oXEQuZ4qkr3+UOvJESig 4odQMF2PDQjByuTJiw7uDU0AJmoGoiiSB4OPjOu6YDOrB57CWgiyo5lyrWoX4llDGxfT SkQA== 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=FKcHapbBWdp907feq3QqaOgIgDBCpjlYCOdmO+9xNqg=; b=khjqvpdb1MkyN0vUGOulYEW5Pqmz3zVNW7JyZA0jd64rzCtqBamPUihwKPJW5rxdQR lyOJZSsCu19LzZvJvxrp+SWy5v4mtVUtELcNglbWpuhUU8ioV8w9qkg4Aj0f3FeJiiA1 jYCy+6TdBX/1tpXPN/l9JWPzojgNNUZ7qKmBMJy6FqVDDcpGt92QCz3GlznstwigoHai 0Cjt+tDbajljujnFT2srRgGE8YY1HSZfZ+8qLoplM80fOMY/1IDI6lZnZXNavbxKRmOa 794wX2DI/271okv2rZApb5xePWxf5LKnNBYeKvqFk8lxcjozSSccvaIs4pmk+3MjnbEo n7dg== X-Gm-Message-State: AJIora+obTMJEMYZs3VjlBmzF4qqYLB+df/cDINZbwb58/sX8wH5vgc+ 5aPbQhiBQHTSqlUSvd4yEP1dAYcWOQA= X-Google-Smtp-Source: AGRyM1uRnatv5bi04lg0KD3hMbXGbBkeztRyMde24xMpSbVJWP/ni8WqNjivv5J7qtDeWotnGYXGjQ== X-Received: by 2002:a17:902:c641:b0:16b:dd82:c04 with SMTP id s1-20020a170902c64100b0016bdd820c04mr30733238pls.144.1658190344751; Mon, 18 Jul 2022 17:25:44 -0700 (PDT) Return-Path: Received: from MININT-0U7P5GU.redmond.corp.microsoft.com ([2001:4898:80e8:9:6532:8264:ce7d:ced]) by smtp.gmail.com with ESMTPSA id n10-20020aa7984a000000b005251c6fbd0csm9941521pfq.29.2022.07.18.17.25.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Jul 2022 17:25:44 -0700 (PDT) From: "Kun Qin" To: devel@edk2.groups.io Cc: Sami Mujawar , Alexei Fedorov Subject: [PATCH v1 0/6] Enhance DynamicTablesPkg modules Date: Mon, 18 Jul 2022 17:22:48 -0700 Message-Id: <20220719002254.1891-1-kuqin12@gmail.com> X-Mailer: git-send-email 2.36.0.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 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 v1 branch: https://github.com/kuqin12/edk2/tree/dynamic_update Cc: Sami Mujawar Cc: Alexei Fedorov 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 | 200 ++++++++++++++++---- DynamicTablesPkg/Library/Acpi/Arm/AcpiSsdtPcieLibArm/SsdtPcieGenerator.c | 135 +++++++++++++ DynamicTablesPkg/Library/Common/DynamicPlatRepoLib/CmObjectTokenFixer.c | 80 +++++++- DynamicTablesPkg/Drivers/DynamicTableManagerDxe/DynamicTableManagerDxe.inf | 1 + DynamicTablesPkg/Library/Common/DynamicPlatRepoLib/DynamicPlatRepoLib.inf | 1 + 5 files changed, 379 insertions(+), 38 deletions(-) -- 2.36.0.windows.1