From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web11.8048.1624457219068848906 for ; Wed, 23 Jun 2021 07:06:59 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: arm.com, ip: 217.140.110.172, mailfrom: pierre.gondois@arm.com) 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 BB4E8ED1; Wed, 23 Jun 2021 07:06:58 -0700 (PDT) Received: from e120189.arm.com (unknown [10.57.78.245]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 1B3043F718; Wed, 23 Jun 2021 07:06:56 -0700 (PDT) From: "PierreGondois" To: devel@edk2.groups.io, Sami Mujawar , Laszlo Ersek Cc: Ard Biesheuvel , Leif Lindholm , Akanksha Jain , Alexandru Elisei Subject: [PATCH v1 0/5] Add ACPI support for Kvmtool Date: Wed, 23 Jun 2021 15:06:35 +0100 Message-Id: <20210623140640.16754-1-Pierre.Gondois@arm.com> X-Mailer: git-send-email 2.17.1 From: Pierre Gondois Kvmtool dynamically generates a device tree describing the platform to boot on. Using the patch-sets listed below, the DynamicTables framework generates ACPI tables describing a similar platform. This patch-set: - adds a ConfigurationManager allowing to generate ACPI tables for Kvmtool - adds the acpiview command line utility to the ArmVirtPkg - update ArmVirtPkg.ci.yaml to add new words and use the DynamicTablesPkg This patch sets also set the default platform description format to ACPI instead of the device tree (c.f.: PcdForceNoAcpi is set to FALSE). The changes can be seen at: https://github.com/PierreARM/edk2/tree/1456_Add_ACPI_support_for_Kvmtool_v1 The results of the CI can be seen at: https://github.com/tianocore/edk2/pull/1753 This patch-set is dependent over the following patch-sets: [PATCH v1 00/10] Various DynamicTablesPkg modifications https://edk2.groups.io/g/devel/message/76929 and: [PATCH v1 00/13] Create a SSDT CPU topology generator https://edk2.groups.io/g/devel/message/76941 and: [PATCH v1 0/7] Create a SSDT PCIe generator https://edk2.groups.io/g/devel/message/76958 and: [PATCH v1 00/14] Implement a FdtHwInfoParserLib https://edk2.groups.io/g/devel/message/76967 and: [PATCH v1 0/5] Add DynamicPlatRepoLib https://edk2.groups.io/g/devel/message/76984 Pierre Gondois (1): ArmVirtPkg: Add cspell exceptions Sami Mujawar (4): ArmVirtPkg: Add DSDT ACPI table for Kvmtool firmware ArmVirtPkg: Add Configuration Manager for Kvmtool firmware ArmVirtPkg: Enable ACPI support for Kvmtool ArmVirtPkg: Enable Acpiview for ArmVirtPkg ArmVirtPkg/ArmVirt.dsc.inc | 3 +- ArmVirtPkg/ArmVirtKvmTool.dsc | 18 +- ArmVirtPkg/ArmVirtKvmTool.fdf | 11 + ArmVirtPkg/ArmVirtPkg.ci.yaml | 3 + .../KvmtoolCfgMgrDxe/AslTables/Dsdt.asl | 19 + .../KvmtoolCfgMgrDxe/ConfigurationManager.c | 948 ++++++++++++++++++ .../KvmtoolCfgMgrDxe/ConfigurationManager.h | 94 ++ .../ConfigurationManagerDxe.inf | 58 ++ 8 files changed, 1151 insertions(+), 3 deletions(-) create mode 100644 ArmVirtPkg/KvmtoolCfgMgrDxe/AslTables/Dsdt.asl create mode 100644 ArmVirtPkg/KvmtoolCfgMgrDxe/ConfigurationManager.c create mode 100644 ArmVirtPkg/KvmtoolCfgMgrDxe/ConfigurationManager.h create mode 100644 ArmVirtPkg/KvmtoolCfgMgrDxe/ConfigurationManagerDxe.inf -- 2.17.1