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 <sami.muja...@arm.com> Cc: Pierre Gondois <pierre.gond...@arm.com> Cc: Yeo Reum Yun <yeoreum....@arm.com> Cc: Sunil V L <suni...@ventanamicro.com> Cc: AbdulLateef Attar <abdullateef.at...@amd.com> Cc: Jeshua Smith <jesh...@nvidia.com> Cc: Jeff Brasen <jbra...@nvidia.com> Cc: Girish Mahadevan <gmahade...@nvidia.com> Cc: Leif Lindholm <quic_llind...@quicinc.com> Cc: Meenakshi Aggarwal <meenakshi.aggar...@nxp.com> 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 -- 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/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-