From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36373) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vstjk-0002rh-Jo for qemu-devel@nongnu.org; Tue, 17 Dec 2013 07:27:01 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vstje-0004pP-EP for qemu-devel@nongnu.org; Tue, 17 Dec 2013 07:26:56 -0500 Received: from mnementh.archaic.org.uk ([2001:8b0:1d0::1]:43528) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vstje-0004ox-7h for qemu-devel@nongnu.org; Tue, 17 Dec 2013 07:26:50 -0500 From: Peter Maydell Date: Tue, 17 Dec 2013 12:15:15 +0000 Message-Id: <1387282522-11280-1-git-send-email-peter.maydell@linaro.org> Subject: [Qemu-devel] [PATCH v2 0/7] target-arm: Support AArch64 KVM List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: kvmarm@lists.cs.columbia.edu, Christoffer Dall , patches@linaro.org This patchset adds support for basic AArch64 KVM VM control; it's based on current master. This is a quick resend with the very minor nits Christoffer pointed out fixed; I'm planning to put it into a target-arm pullreq in the next day or two. This patch series supports: * 64 bit KVM VM control * SMP and UP * PSCI boot of secondary CPUs It doesn't support: * migration * reset (partly because there's no way to reset a mach-virt system yet) * anything except "-cpu host" * debugging the VM via qemu gdbstub * running 32 bit VMs on a 64 bit system [Mian's patchset includes support for that but I have left it out for the moment because it needs more thought about UI and so on] Changes v1->v2: * improved a couple of comments * compat string for 64 bit is "arm,arm-v8", not -v7 * removed superfluous include of usb.mak and pci.mak from config Mian M. Hamayun (2): target-arm: Add minimal KVM AArch64 support hw/arm/boot: Add boot support for AArch64 processor Peter Maydell (5): target-arm/kvm: Split 32 bit only code into its own file target-arm: Clean up handling of AArch64 PSTATE configure: Enable KVM for aarch64 host/target combination hw/arm/boot: Allow easier swapping in of different loader code default-configs: Add config for aarch64-softmmu configure | 2 +- default-configs/aarch64-softmmu.mak | 6 + hw/arm/boot.c | 193 ++++++++++---- linux-user/signal.c | 6 +- target-arm/Makefile.objs | 2 + target-arm/cpu.c | 6 + target-arm/cpu.h | 70 ++++- target-arm/gdbstub64.c | 4 +- target-arm/kvm.c | 495 +--------------------------------- target-arm/kvm32.c | 515 ++++++++++++++++++++++++++++++++++++ target-arm/kvm64.c | 204 ++++++++++++++ target-arm/translate-a64.c | 12 +- 12 files changed, 954 insertions(+), 561 deletions(-) create mode 100644 default-configs/aarch64-softmmu.mak create mode 100644 target-arm/kvm32.c create mode 100644 target-arm/kvm64.c -- 1.8.5