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 9BC6F7803E9 for ; Thu, 28 Mar 2024 12:30:14 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=LeFMoDCDNJ85xcTx/TEvsQS7LQQHWAkojk7RufePFfE=; 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=1711629013; v=1; b=Jj9XwfmWCEzr4aAZlInNGKDkb3IgEQRX/XxFtrBRChnDlBw9cf3W7cakihhaw2vLzvM4aHiv gDm89eCi9Ukjnd6jQI7m+RkIteVzM0l14LVzdmiNqbDIARyy9i/oQFThq2SzWoMqPqemnzoX4jG et6Kia7sR630fJt4FDxze4+H/sdJlFqsxsRZr+eLWCqYPJ9XudDvQ6Vr22SM64j8MR96FG211A2 /QWKfHk/QzE3lUYdqkveVJ80NiirQf/uOfbU4fI9NdkY6pB29kIj+n9XaTvGLU1kOcMrDnnfodI nMXCmiaY1xZtE8PvQilCF0K56QpBvVUuj1KDJo1Wc9zxw== X-Received: by 127.0.0.2 with SMTP id tpSKYY7687511xXslYOiU0SW; Thu, 28 Mar 2024 05:30:13 -0700 X-Received: from NAM12-BN8-obe.outbound.protection.outlook.com (NAM12-BN8-obe.outbound.protection.outlook.com [40.107.237.46]) by mx.groups.io with SMTP id smtpd.web10.14577.1711629012407289051 for ; Thu, 28 Mar 2024 05:30:12 -0700 X-Received: from BL1PR13CA0424.namprd13.prod.outlook.com (2603:10b6:208:2c3::9) by SN7PR12MB8169.namprd12.prod.outlook.com (2603:10b6:806:32f::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7409.31; Thu, 28 Mar 2024 12:30:10 +0000 X-Received: from MN1PEPF0000F0E2.namprd04.prod.outlook.com (2603:10b6:208:2c3:cafe::42) by BL1PR13CA0424.outlook.office365.com (2603:10b6:208:2c3::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7409.12 via Frontend Transport; Thu, 28 Mar 2024 12:30:10 +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=SATLEXMB03.amd.com; pr=C X-Received: from SATLEXMB03.amd.com (165.204.84.17) by MN1PEPF0000F0E2.mail.protection.outlook.com (10.167.242.40) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.7409.10 via Frontend Transport; Thu, 28 Mar 2024 12:30:09 +0000 X-Received: from SATLEXMB06.amd.com (10.181.40.147) by SATLEXMB03.amd.com (10.181.40.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Thu, 28 Mar 2024 07:30:09 -0500 X-Received: from SATLEXMB03.amd.com (10.181.40.144) by SATLEXMB06.amd.com (10.181.40.147) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Thu, 28 Mar 2024 07:30:09 -0500 X-Received: from BLR-LAB-SFW01.amd.com (10.180.168.240) by SATLEXMB03.amd.com (10.181.40.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35 via Frontend Transport; Thu, 28 Mar 2024 07:30:07 -0500 From: "Abdul Lateef Attar via groups.io" To: CC: Abdul Lateef Attar , Sami Mujawar , Pierre Gondois Subject: [edk2-devel] [PATCH v4 0/5] DynamicTablesPkg: Adds FADT, HPET, WSMT and MADT Table generators Date: Thu, 28 Mar 2024 17:59:54 +0530 Message-ID: MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: MN1PEPF0000F0E2:EE_|SN7PR12MB8169:EE_ X-MS-Office365-Filtering-Correlation-Id: 421c76c0-e7ee-462d-ed2e-08dc4f22cf01 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Message-Info: DQVIyO02fvr8uVQ+/kyFOkhqUVXrul0MZS/99imqL3DsnKrxAF9xE/NaChMbvnxYFJo5h3wKMINkadJzsqBJ7kIeOhnP6dSwHslPvV9X2q7F7QEUgPmWmvDln6aPANbEsQnlRZb1XnmX+8pGym/Nni5vlNUUJno9ekchYDn3BrOOxEVGQ65qwdOfprLDzXWQSNap5bEEaXCWYsZMsY1+kevGK5dVSsy8Z2uCCEzyzR2cp3Vu+C6NqME0mhCt0n16dENPLn9gAmJdHF4GqWy2w1kFmYv/LNINqMl9mUajqkWDhWyv1aA8faDEK0d/T+rnxHbY4yPvtmTbCxQhjUqD3Ue1B3tGr0NqSb+bAvhn2ZXZcugG8rgJhhYv49fxQ2iAJyF3FdErKoqMN/WIKjGxcoFVL0PjKuQJf2T6iLLRX/oM5rSjGx2HdiW4Klb0yB9k3z1yvVLE2ZMk1DY17xsTXleeWEoOBy8/UzhgFoUnb9669xYlecMjMlddiD5aSqwDv0/k2z5kmAIhQ3UJETN5l3RB5T1kTmD6hoEeyEGdLb2WbJ33zK9fequ9nsVscNYSPXYDcZSQ6E74+t2MTKldf6/GvBpwMvrnF7J4T+cmG1C0KK2BUZzMW3SfoRxEqctgijuZByDYPz2Flq6IDIweJCJ5NaXeluU7fD6UL/qLcxhsgYg7XL0V16xJH6FT2MMqTJjWG9kmkWgFLsZ5oTE8qw== X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Mar 2024 12:30:09.9478 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 421c76c0-e7ee-462d-ed2e-08dc4f22cf01 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=[SATLEXMB03.amd.com] X-MS-Exchange-CrossTenant-AuthSource: MN1PEPF0000F0E2.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN7PR12MB8169 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: Thu, 28 Mar 2024 05:30:12 -0700 Reply-To: devel@edk2.groups.io,AbdulLateef.Attar@amd.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: E3WIIc6y7fIyHMh24gA16FOIx7686176AA= 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=Jj9XwfmW; 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 PR: https://github.com/tianocore/edk2/pull/5500/ V4: delta changes Added X64 arch specific MADT table generator. V3: delta changes Restructure the code as the review comments. Added sanity check for WSMT flags. Added CM object for HPET base address. V2: delta changes Addressed review comments Adds ACPI HPET table to add HPET to ACPI namespace V1: Adds new space for ArchNameSpaceObjects. Adds generic FADT table generator. Adds generic HPET table generator. Adds generic WSMT table generator. Cc: Sami Mujawar Cc: Pierre Gondois Cc: Abdul Lateef Attar Abdul Lateef Attar (5): DynamicTablesPkg: Adds ACPI FADT Table generator DynamicTablesPkg: Adds ACPI HPET Table generator DynamicTablesPkg: Adds ACPI WSMT Table generator DynamicTablesPkg: Adds ACPI SSDT HPET Table generator DynamicTablesPkg: Adds X64 arch MADT Table generator DynamicTablesPkg/DynamicTables.dsc.inc | 22 +- DynamicTablesPkg/DynamicTablesPkg.ci.yaml | 4 +- DynamicTablesPkg/Include/AcpiTableGenerator.h | 4 + .../Include/ArchNameSpaceObjects.h | 237 ++++++ .../Include/ConfigurationManagerObject.h | 7 + .../Include/X64NameSpaceObjects.h | 48 ++ .../Library/Acpi/AcpiFadtLib/AcpiFadtLib.inf | 36 + .../Library/Acpi/AcpiFadtLib/Arm/FadtUpdate.c | 39 + .../Library/Acpi/AcpiFadtLib/FadtGenerator.c | 745 ++++++++++++++++++ .../Library/Acpi/AcpiFadtLib/FadtUpdate.h | 26 + .../Library/Acpi/AcpiFadtLib/X64/FadtUpdate.c | 32 + .../Library/Acpi/AcpiHpetLib/AcpiHpetLib.inf | 31 + .../Library/Acpi/AcpiHpetLib/HpetGenerator.c | 246 ++++++ .../Acpi/AcpiSsdtHpetLib/AcpiSsdtHpetLib.inf | 32 + .../Acpi/AcpiSsdtHpetLib/SsdtHpetGenerator.c | 295 +++++++ .../Library/Acpi/AcpiWsmtLib/AcpiWsmtLib.inf | 30 + .../Library/Acpi/AcpiWsmtLib/WsmtGenerator.c | 243 ++++++ .../X64/AcpiMadtLibX64/AcpiMadtLibX64.inf | 27 + .../Acpi/X64/AcpiMadtLibX64/MadtGenerator.c | 375 +++++++++ 19 files changed, 2477 insertions(+), 2 deletions(-) create mode 100644 DynamicTablesPkg/Include/ArchNameSpaceObjects.h create mode 100644 DynamicTablesPkg/Include/X64NameSpaceObjects.h create mode 100644 DynamicTablesPkg/Library/Acpi/AcpiFadtLib/AcpiFadtLib.i= nf create mode 100644 DynamicTablesPkg/Library/Acpi/AcpiFadtLib/Arm/FadtUpdat= e.c create mode 100644 DynamicTablesPkg/Library/Acpi/AcpiFadtLib/FadtGenerator= .c create mode 100644 DynamicTablesPkg/Library/Acpi/AcpiFadtLib/FadtUpdate.h create mode 100644 DynamicTablesPkg/Library/Acpi/AcpiFadtLib/X64/FadtUpdat= e.c create mode 100644 DynamicTablesPkg/Library/Acpi/AcpiHpetLib/AcpiHpetLib.i= nf create mode 100644 DynamicTablesPkg/Library/Acpi/AcpiHpetLib/HpetGenerator= .c create mode 100644 DynamicTablesPkg/Library/Acpi/AcpiSsdtHpetLib/AcpiSsdtH= petLib.inf create mode 100644 DynamicTablesPkg/Library/Acpi/AcpiSsdtHpetLib/SsdtHpetG= enerator.c create mode 100644 DynamicTablesPkg/Library/Acpi/AcpiWsmtLib/AcpiWsmtLib.i= nf create mode 100644 DynamicTablesPkg/Library/Acpi/AcpiWsmtLib/WsmtGenerator= .c create mode 100644 DynamicTablesPkg/Library/Acpi/X64/AcpiMadtLibX64/AcpiMa= dtLibX64.inf create mode 100644 DynamicTablesPkg/Library/Acpi/X64/AcpiMadtLibX64/MadtGe= nerator.c --=20 2.34.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 (#117203): https://edk2.groups.io/g/devel/message/117203 Mute This Topic: https://groups.io/mt/105195457/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-