From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=217.140.106.50; helo=cam-smtp0.cambridge.arm.com; envelope-from=sami.mujawar@arm.com; receiver=edk2-devel@lists.01.org Received: from cam-smtp0.cambridge.arm.com (unknown [217.140.106.50]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id CC1282194D3B9 for ; Fri, 12 Oct 2018 07:40:51 -0700 (PDT) Received: from E107187.Arm.com (e107187.arm.com [10.1.195.55]) by cam-smtp0.cambridge.arm.com (8.13.8/8.13.8) with ESMTP id w9CEeDcC018284; Fri, 12 Oct 2018 15:40:15 +0100 From: Sami Mujawar To: edk2-devel@lists.01.org Cc: ard.biesheuvel@linaro.org, leif.lindholm@linaro.org, star.zeng@intel.com, jian.j.wang@intel.com, ruiyu.ni@intel.com, lersek@redhat.com, julien.grall@linaro.org, evan.lloyd@arm.com, Matteo.Carlini@arm.com, Stephanie.Hughes-Fitt@arm.com, nd@arm.com Date: Fri, 12 Oct 2018 15:40:03 +0100 Message-Id: <20181012144009.48732-1-sami.mujawar@arm.com> X-Mailer: git-send-email 2.11.0.windows.3 Subject: [PATCH 0/6] Add kvmtool emulated platform support for ARM X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Oct 2018 14:40:52 -0000 Kvmtool is a virtual machine manager that enables hosting KVM guests. ARM is working to enhance kvmtool support to enable launching of KVM guest with UEFI support. This patch series enables UEFI support for kvmtool's emulated ARM platform and is required to allow testing of kvmtool enhancements. Note: 1. These kvmtool platform support patches currently expose the kvmtool provided DT to the OS. Support for ACPI is planned, using Dynamic Tables Framework and should be available in the near future. 2. This new platform port can only be used with the updated kvmtool that is currently under development review. The changes can be seen at https://github.com/samimujawar/edk2/tree/299_kvmtool_plat_support_v1 Sami Mujawar (6): PcAtChipsetPkg: Add MMIO Support to SerialIo Lib PcAtChipsetPkg: Add MMIO Support to RTC driver MdeModulePkg: Map persistent (NV) memory ArmVirtPkg: Save DT base address from X0 in PCD ArmVirtPkg: Add kvmtool platform driver ArmVirtPkg: Support for kvmtool emulated platform ArmVirtPkg/ArmVirtKvmTool.dsc | 390 ++++++++++++++++++++ ArmVirtPkg/ArmVirtKvmTool.fdf | 297 +++++++++++++++ ArmVirtPkg/ArmVirtPkg.dec | 12 +- ArmVirtPkg/KvmtoolPlatformDxe/KvmtoolPlatformDxe.c | 211 +++++++++++ ArmVirtPkg/KvmtoolPlatformDxe/KvmtoolPlatformDxe.inf | 60 +++ ArmVirtPkg/PrePi/AArch64/ModuleEntryPoint.S | 9 +- MdeModulePkg/MdeModulePkg.dec | 9 + MdeModulePkg/Universal/Variable/EmuRuntimeDxe/EmuVariable.c | 77 +++- MdeModulePkg/Universal/Variable/EmuRuntimeDxe/EmuVariableRuntimeDxe.inf | 6 + PcAtChipsetPkg/Library/SerialIoLib/SerialIoLib.inf | 4 + PcAtChipsetPkg/Library/SerialIoLib/SerialPortLib.c | 98 ++++- PcAtChipsetPkg/PcAtChipsetPkg.dec | 8 + PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcRtc.c | 38 +- PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcRtcEntry.c | 112 +++++- PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf | 8 + 15 files changed, 1309 insertions(+), 30 deletions(-) create mode 100644 ArmVirtPkg/ArmVirtKvmTool.dsc create mode 100644 ArmVirtPkg/ArmVirtKvmTool.fdf create mode 100644 ArmVirtPkg/KvmtoolPlatformDxe/KvmtoolPlatformDxe.c create mode 100644 ArmVirtPkg/KvmtoolPlatformDxe/KvmtoolPlatformDxe.inf -- 'Guid(CE165669-3EF3-493F-B85D-6190EE5B9759)'