All, After Will Deacon's review, here's another set of patches, now at version two. Mostly trying to improve readability of the code, but also fixing a number of potential issues. Tested on TC2 and arm64 VE model. Christoffer Dall (1): KVM: ARM: vgic: Add comment for SGI handling Marc Zyngier (15): ARM: gic: define GICH offsets for VGIC support ARM: KVM: fix kvm_arch_vm_ioctl() return value on KVM_CREATE_IRQCHIP ARM: KVM: fix error path for vgic/timer hyp init ARM: KVM: vgic: fix another batch of hardcoded irq numbers ARM: KVM: vgic: refactor level irq handling ARM: KVM: vgic: only retire interrupts on the disable path ARM: KVM: vgic: don't rely on maintenance interrupt to be nearly synchronous ARM: KVM: use GICH_* constants as provided by gic.h ARM: KVM: vgic: move the "unlikely" statement for vgic init ARM: KVM: vgic: rewrite irq injection validation ARM: KVM: vgic: add cpu hotplug notifier ARM: KVM: vgic: use of_node_put() once done with DT ARM: KVM: vgic: assign default return value at declaration time ARM: KVM: timer: add cpu hotplug notifier ARM: KVM: timer: use of_node_put() once done with DT arch/arm/include/asm/hardware/gic.h | 24 +++ arch/arm/include/asm/kvm_arm.h | 12 -- arch/arm/include/asm/kvm_vgic.h | 20 +- arch/arm/kvm/arch_timer.c | 50 ++++- arch/arm/kvm/arm.c | 41 ++-- arch/arm/kvm/interrupts_head.S | 6 + arch/arm/kvm/vgic.c | 401 +++++++++++++++++++++--------------- 7 files changed, 330 insertions(+), 224 deletions(-) -- 1.8.0.1 _______________________________________________ kvmarm mailing list kvmarm@xxxxxxxxxxxxxxxxxxxxx https://lists.cs.columbia.edu/cucslists/listinfo/kvmarm