From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Maydell Subject: [RFC v2 0/6] QEMU: Support KVM on ARM Date: Wed, 10 Oct 2012 16:07:33 +0100 Message-ID: <1349881659-8403-1-git-send-email-peter.maydell@linaro.org> Cc: kvmarm@lists.cs.columbia.edu, kvm@vger.kernel.org, patches@linaro.org To: qemu-devel@nongnu.org Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+gceq-qemu-devel=gmane.org@nongnu.org Sender: qemu-devel-bounces+gceq-qemu-devel=gmane.org@nongnu.org List-Id: kvm.vger.kernel.org This is a v2 RFC of the QEMU patches to support KVM for ARM on Cortex-A15 hardware. It's intended for use with the kernel tree at git://github.com/virtualopensystems/linux-kvm-arm.git kvm-arm-v12 (ie the 'v2' kernel patches which Christoffer sent out at the start of the month). Patch review appreciated -- I think this is more or less ready to go in once the kernel patches are accepted (assuming no kernel ABI changes, of course). (There are still a few things it would be nice to do better, like driving cp15 access from the cp_regs hashtable rather than hardcoding a small list. If anybody feels any of the todo-type stuff is a blocker to these patches being committed that would be good to know too :-)) Git tree if preferred: git://git.linaro.org/people/pmaydell/qemu-arm.git kvm-arm-v12 Peter Maydell (6): linux-headers: Add ARM KVM headers (not for upstream) ARM: KVM: Add support for KVM on ARM architecture hw/arm_gic: Add presave/postload hooks hw/kvm/arm_gic: Implement support for KVM in-kernel ARM GIC ARM KVM: save and load VFP registers from kernel configure: Enable KVM on ARM configure | 2 +- hw/a15mpcore.c | 8 +- hw/arm/Makefile.objs | 1 + hw/arm_gic_common.c | 10 + hw/arm_gic_internal.h | 2 + hw/arm_pic.c | 28 +++ hw/kvm/arm_gic.c | 162 ++++++++++++++ linux-headers/asm-arm/kvm.h | 131 +++++++++++ linux-headers/asm-arm/kvm_para.h | 1 + linux-headers/asm-generic/kvm_para.h | 5 + linux-headers/asm-x86/kvm.h | 1 + linux-headers/linux/kvm.h | 16 +- target-arm/Makefile.objs | 1 + target-arm/cpu.h | 1 + target-arm/helper.c | 2 +- target-arm/kvm.c | 400 ++++++++++++++++++++++++++++++++++ 16 files changed, 765 insertions(+), 6 deletions(-) create mode 100644 hw/kvm/arm_gic.c create mode 100644 linux-headers/asm-arm/kvm.h create mode 100644 linux-headers/asm-arm/kvm_para.h create mode 100644 linux-headers/asm-generic/kvm_para.h create mode 100644 target-arm/kvm.c -- 1.7.9.5 From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:45790) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TLxtD-0003rq-Nw for qemu-devel@nongnu.org; Wed, 10 Oct 2012 11:08:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TLxt3-00039l-Lf for qemu-devel@nongnu.org; Wed, 10 Oct 2012 11:08:03 -0400 Received: from 38.0.169.217.in-addr.arpa ([217.169.0.38]:51517 helo=mnementh.archaic.org.uk) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TLxt3-00038I-EZ for qemu-devel@nongnu.org; Wed, 10 Oct 2012 11:07:53 -0400 From: Peter Maydell Date: Wed, 10 Oct 2012 16:07:33 +0100 Message-Id: <1349881659-8403-1-git-send-email-peter.maydell@linaro.org> Subject: [Qemu-devel] [RFC v2 0/6] QEMU: Support KVM on ARM List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: kvmarm@lists.cs.columbia.edu, kvm@vger.kernel.org, patches@linaro.org This is a v2 RFC of the QEMU patches to support KVM for ARM on Cortex-A15 hardware. It's intended for use with the kernel tree at git://github.com/virtualopensystems/linux-kvm-arm.git kvm-arm-v12 (ie the 'v2' kernel patches which Christoffer sent out at the start of the month). Patch review appreciated -- I think this is more or less ready to go in once the kernel patches are accepted (assuming no kernel ABI changes, of course). (There are still a few things it would be nice to do better, like driving cp15 access from the cp_regs hashtable rather than hardcoding a small list. If anybody feels any of the todo-type stuff is a blocker to these patches being committed that would be good to know too :-)) Git tree if preferred: git://git.linaro.org/people/pmaydell/qemu-arm.git kvm-arm-v12 Peter Maydell (6): linux-headers: Add ARM KVM headers (not for upstream) ARM: KVM: Add support for KVM on ARM architecture hw/arm_gic: Add presave/postload hooks hw/kvm/arm_gic: Implement support for KVM in-kernel ARM GIC ARM KVM: save and load VFP registers from kernel configure: Enable KVM on ARM configure | 2 +- hw/a15mpcore.c | 8 +- hw/arm/Makefile.objs | 1 + hw/arm_gic_common.c | 10 + hw/arm_gic_internal.h | 2 + hw/arm_pic.c | 28 +++ hw/kvm/arm_gic.c | 162 ++++++++++++++ linux-headers/asm-arm/kvm.h | 131 +++++++++++ linux-headers/asm-arm/kvm_para.h | 1 + linux-headers/asm-generic/kvm_para.h | 5 + linux-headers/asm-x86/kvm.h | 1 + linux-headers/linux/kvm.h | 16 +- target-arm/Makefile.objs | 1 + target-arm/cpu.h | 1 + target-arm/helper.c | 2 +- target-arm/kvm.c | 400 ++++++++++++++++++++++++++++++++++ 16 files changed, 765 insertions(+), 6 deletions(-) create mode 100644 hw/kvm/arm_gic.c create mode 100644 linux-headers/asm-arm/kvm.h create mode 100644 linux-headers/asm-arm/kvm_para.h create mode 100644 linux-headers/asm-generic/kvm_para.h create mode 100644 target-arm/kvm.c -- 1.7.9.5