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 B77867803DB for ; Thu, 21 Mar 2024 15:53:54 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=KxU6zK0E8vQIVE5Y7Q/H7CxmNAVPvDcpT/DT1XWDJ8U=; c=relaxed/simple; d=groups.io; h=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; s=20240206; t=1711036433; v=1; b=2HDCF+XVF0UAPdtej81VMpGIKsuyNRxJLs5UINb3qO/v6hZ5wOiCadF6XBesZdp2wu2boYuR 5S65Qzst8Yz3rXg39olNRjVoqaobmagCg35k/khx/drnCkQ0NT5AMxTMyJFpxuqtYeU1CsPX1cf NRlpL/nPIg3aRxQqj2Ne/+VB/cnZrKwEq/evDsugMOHM29Wuhf2r4bpo2eRNs2Mp963JrcXkCH1 bMBMptlWs7k3SaTI3S71vNN3obbjvjaCU6rl2Gungid0L9D3aYBb91Wtsx4d9Von4avDQmTVgWj ZRmCeG+OkLQ/4nL80OGs7VhQV1VvwWQk4zVz/7oYc5MBA== X-Received: by 127.0.0.2 with SMTP id y9T4YY7687511xawAApAPcqi; Thu, 21 Mar 2024 08:53:53 -0700 X-Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web11.354.1711036432366178534 for ; Thu, 21 Mar 2024 08:53:52 -0700 X-Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 0F1D81007; Thu, 21 Mar 2024 08:54:26 -0700 (PDT) X-Received: from e126645.nice.arm.com (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id C62893F67D; Thu, 21 Mar 2024 08:53:48 -0700 (PDT) From: "PierreGondois" To: devel@edk2.groups.io Cc: Pierre Gondois , Sami Mujawar , Pierre Gondois , Yeo Reum Yun , Sunil V L , AbdulLateef Attar , Jeshua Smith , Jeff Brasen , Girish Mahadevan , Leif Lindholm , Meenakshi Aggarwal Subject: [edk2-devel] [PATCH 00/16] DynamicTablesPkg: Move objects to Arch Common NameSpace (first) Date: Thu, 21 Mar 2024 16:53:03 +0100 Message-Id: <20240321155319.701355-1-pierre.gondois@arm.com> MIME-Version: 1.0 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, 21 Mar 2024 08:53:52 -0700 Reply-To: devel@edk2.groups.io,pierre.gondois@arm.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: RN0pAPrsvGk7qP0s11qz6roUx7686176AA= Content-Transfer-Encoding: quoted-printable X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20240206 header.b=2HDCF+XV; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=arm.com (policy=none); spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io Following [1] and [2], other architectures than Arm aim to leverage the DynamicTablesPkg. The package uses namespaces/domains to split objects IDs. Currently most of the objects are part of the Arm namespace. Some objects are generic enough to be re-used by other architectures. In [2], an Arch Common namespace Id was created and some objects present in the Arm namespace were identified to be moved to this Arch Common namespace. Continue the effort by moving these objects to this new namespace. Some platforms rely on the DynamicTablesPkg and its namespace organization. Additional patches matching this change for the: - Juno - VExpress platforms will be submitted along this patchset. As the actual patchset is more than 20 patches, split it in two parts to avoid being detected as a spam/fraudulous activity. [1] Branch to reorg Dynamic Tables & support other arch https://edk2.groups.io/g/devel/topic/104054584#116308 [2] DynamicTablesPkg: Arch Common Namespace https://edk2.groups.io/g/devel/message/116330 Cc: Sami Mujawar Cc: Pierre Gondois Cc: Yeo Reum Yun Cc: Sunil V L Cc: AbdulLateef Attar Cc: Jeshua Smith Cc: Jeff Brasen Cc: Girish Mahadevan Cc: Leif Lindholm Cc: Meenakshi Aggarwal Pierre Gondois (1): DynamicTablesPkg/SsdtCpuTopology: Update function's parameter description Sami Mujawar (15): DynamicTablesPkg: Replace ProcNodeIdInfo with EArmObjReserved29 DynamicTablesPkg: Introduce ObjectId to validate CmObject Parser Array DynamicTablesPkg: Introduce an Arch Common Namespace header file DynamicTablesPkg: Add support for ArchCommon objects in CmObjParser DynamicTablesPkg: TokenFixer: Return Non Arm NS objs as unsupported DynamicTablesPkg: Update DynamicPlatRepo for Arch Common namespace DynamicTablesPkg: Update documentation for CM_OBJECT_ID DynamicTablesPkg: Drop Cpu Info object ID from Arm Namespace DynamicTablesPkg: Drop Reserved29 object ID from Arm Namespace ArmVirtPkg: Kvmtool: Update ConfigMgr to support ArchCommon DynamicTablesPkg & ArmVirtPkg: Move Power Mgmt Profile Info Object DynamicTablesPkg: Move Hypervisor Vendor Id to Arch Common DynamicTablesPkg: Move FADT Fixed Features Flags to Arch Common DynamicTablesPkg: Move Cm Reference object to Arch Common DynamicTablesPkg & ArmVirtPkg: Move Pci Config Space Info .../KvmtoolCfgMgrDxe/ConfigurationManager.c | 80 ++++- .../KvmtoolCfgMgrDxe/ConfigurationManager.h | 20 +- DynamicTablesPkg/DynamicTablesPkg.ci.yaml | 1 + .../Include/ArchCommonNameSpaceObjects.h | 147 +++++++++ .../Include/ArmNameSpaceObjects.h | 204 +++--------- .../Include/ConfigurationManagerObject.h | 36 +-- .../Include/Library/SsdtPcieSupportLib.h | 12 +- .../Include/Library/SsdtSerialPortFixupLib.h | 16 +- .../Acpi/Arm/AcpiDbg2LibArm/Dbg2Generator.c | 20 +- .../Acpi/Arm/AcpiFadtLibArm/FadtGenerator.c | 44 +-- .../Acpi/Arm/AcpiMcfgLibArm/McfgGenerator.c | 28 +- .../Acpi/Arm/AcpiPpttLibArm/PpttGenerator.c | 20 +- .../Acpi/Arm/AcpiSpcrLibArm/SpcrGenerator.c | 18 +- .../SsdtCpuTopologyGenerator.c | 17 +- .../SsdtCpuTopologyGenerator.h | 10 +- .../AcpiSsdtPcieLibArm/SsdtPcieGenerator.c | 60 ++-- .../SsdtSerialPortGenerator.c | 24 +- .../DynamicPlatRepoLib/CmObjectTokenFixer.c | 88 +++--- .../DynamicPlatRepoLib/DynamicPlatRepo.c | 291 +++++++++++++----- .../DynamicPlatRepoInternal.h | 11 +- .../Common/DynamicPlatRepoLib/TokenMapper.c | 9 +- .../SsdtPcieSupportLib/SsdtPcieSupportLib.c | 12 +- .../SsdtSerialPortFixupLib.c | 46 +-- .../ConfigurationManagerObjectParser.c | 224 ++++++-------- .../ConfigurationManagerObjectParser.h | 15 + .../FdtHwInfoParserLib/CmObjectDescUtility.c | 10 +- .../FdtHwInfoParserLib/CmObjectDescUtility.h | 6 +- .../Pci/ArmPciConfigSpaceParser.c | 20 +- .../Pci/ArmPciConfigSpaceParser.h | 10 +- .../Serial/ArmSerialPortParser.c | 79 ++--- .../Serial/ArmSerialPortParser.h | 8 +- DynamicTablesPkg/Readme.md | 96 +++--- 32 files changed, 948 insertions(+), 734 deletions(-) create mode 100644 DynamicTablesPkg/Include/ArchCommonNameSpaceObjects.h --=20 2.25.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#116961): https://edk2.groups.io/g/devel/message/116961 Mute This Topic: https://groups.io/mt/105067964/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-