This is the 3rd version of my VGIC patches. Not much code change this time, apart from: - a handful of bugs fixed - some performance improvement - adapted to the new WFI handling code - reworked after Christoffer review - rebased on v11 One thing that hasn't changed yet is the interrupt injection API. Once we're happy with the rest of the code, it won't be a big deal to fix it, and there seem to be some thoughts in this area. We also need to investigate some of the most recent KVM injection features (KVM_IRQ_LINE_STATUS, irqfd...), but I don't see it as a blocker for a merge of this code. This is based on the kvm-arm-v11-stage branch, and is available at: git://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git kvm-arm-v3.6-rc3-vgic. It also relies on the fixes available on my kvm-arm-v3.6-rc3-fixes branch. Tested on the TC2 platform, A15 cluster only. Marc Zyngier (12): ARM: KVM: Only kick a vcpu if it is actually in guest mode ARM: KVM: Keep track of currently running vcpus ARM: KVM: Initial VGIC infrastructure support ARM: KVM: Initial VGIC MMIO support code ARM: KVM: VGIC distributor handling ARM: KVM: VGIC virtual CPU interface management ARM: KVM: VGIC interrupt injection ARM: KVM: VGIC control interface world switch ARM: KVM: VGIC initialisation code ARM: KVM: vgic: reduce the number of vcpu kick ARM: KVM: Add VGIC configuration option ARM: KVM: VGIC: Update KVM API documentation Documentation/virtual/kvm/api.txt | 26 +- arch/arm/include/asm/kvm_arm.h | 12 + arch/arm/include/asm/kvm_emulate.h | 21 + arch/arm/include/asm/kvm_host.h | 12 + arch/arm/include/asm/kvm_vgic.h | 298 ++++++++++ arch/arm/kernel/asm-offsets.c | 12 + arch/arm/kvm/Kconfig | 7 + arch/arm/kvm/Makefile | 1 + arch/arm/kvm/arm.c | 99 +++- arch/arm/kvm/interrupts.S | 86 +++ arch/arm/kvm/mmu.c | 22 +- arch/arm/kvm/vgic.c | 1082 ++++++++++++++++++++++++++++++++++++ virt/kvm/kvm_main.c | 5 +- 13 files changed, 1665 insertions(+), 18 deletions(-) create mode 100644 arch/arm/include/asm/kvm_vgic.h create mode 100644 arch/arm/kvm/vgic.c -- 1.7.11.4 _______________________________________________ kvmarm mailing list kvmarm@xxxxxxxxxxxxxxxxxxxxx https://lists.cs.columbia.edu/cucslists/listinfo/kvmarm