Linus, The following changes since commit cf9b0772f2e410645fece13b749bd56505b998b8: Merge tag 'armsoc-drivers' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc (2017-11-16 16:05:01 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/virt/kvm/kvm tags/kvm-4.15-2 for you to fetch changes up to d02fcf50779ec9d8eb7a81473fd76efe3f04b3a5: kvm: vmx: Allow disabling virtual NMI support (2017-11-17 13:20:07 +0100) ---------------------------------------------------------------- Trimmed second batch of KVM changes for Linux 4.15 * GICv4 Support for KVM/ARM All ARM patches were in next-20171113. I have postponed most x86 fixes to 4.15-rc2 and UMIP to 4.16, but there are fixes that would be good to have already in 4.15-rc1: * re-introduce support for CPUs without virtual NMI (cc stable) and allow testing of KVM without virtual NMI on available CPUs * fix long-standing performance issues with assigned devices on AMD (cc stable) ---------------------------------------------------------------- Christoffer Dall (3): Merge git://git.kernel.org/.../tip/tip.git irq/core KVM: arm/arm64: Fix GICv4 ITS initialization issues KVM: arm/arm64: Don't queue VLPIs on INV/INVALL Eric Auger (2): KVM: arm/arm64: register irq bypass consumer on ARM/ARM64 KVM: arm/arm64: vgic: restructure kvm_vgic_(un)map_phys_irq Marc Zyngier (23): KVM: arm: Select ARM_GIC_V3 and ARM_GIC_V3_ITS KVM: arm/arm64: vgic: Move kvm_vgic_destroy call around KVM: arm/arm64: vITS: Add MSI translation helpers KVM: arm/arm64: vITS: Add a helper to update the affinity of an LPI KVM: arm/arm64: GICv4: Add property field and per-VM predicate KVM: arm/arm64: GICv4: Add init/teardown of the per-VM vPE irq domain KVM: arm/arm64: GICv4: Wire mapping/unmapping of VLPIs in VFIO irq bypass KVM: arm/arm64: GICv4: Handle INT command applied to a VLPI KVM: arm/arm64: GICv4: Unmap VLPI when freeing an LPI KVM: arm/arm64: GICv4: Propagate affinity changes to the physical ITS KVM: arm/arm64: GICv4: Handle CLEAR applied to a VLPI KVM: arm/arm64: GICv4: Handle MOVALL applied to a vPE KVM: arm/arm64: GICv4: Propagate property updates to VLPIs KVM: arm/arm64: GICv4: Handle INVALL applied to a vPE KVM: arm/arm64: GICv4: Use pending_last as a scheduling hint KVM: arm/arm64: GICv4: Add doorbell interrupt handling KVM: arm/arm64: GICv4: Use the doorbell interrupt as an unblocking source KVM: arm/arm64: GICv4: Hook vPE scheduling into vgic flush/sync KVM: arm/arm64: GICv4: Enable virtual cpuif if VLPIs can be delivered KVM: arm/arm64: GICv4: Prevent a VM using GICv4 from being saved KVM: arm/arm64: GICv4: Prevent userspace from changing doorbell affinity KVM: arm/arm64: GICv4: Enable VLPI support KVM: arm/arm64: GICv4: Theory of operations Paolo Bonzini (4): Merge tag 'kvm-arm-gicv4-for-v4.15' of git://git.kernel.org/.../kvmarm/kvmarm into HEAD KVM: SVM: obey guest PAT kvm: vmx: Reinstate support for CPUs without virtual NMI kvm: vmx: Allow disabling virtual NMI support Documentation/admin-guide/kernel-parameters.txt | 4 + Documentation/virtual/kvm/devices/arm-vgic-its.txt | 2 + arch/arm/kvm/Kconfig | 5 + arch/arm/kvm/Makefile | 1 + arch/arm64/kvm/Kconfig | 3 + arch/arm64/kvm/Makefile | 1 + arch/x86/kvm/svm.c | 7 + arch/x86/kvm/vmx.c | 161 ++++++--- include/kvm/arm_vgic.h | 41 ++- virt/kvm/arm/arch_timer.c | 24 +- virt/kvm/arm/arm.c | 48 ++- virt/kvm/arm/hyp/vgic-v3-sr.c | 9 +- virt/kvm/arm/vgic/vgic-init.c | 7 + virt/kvm/arm/vgic/vgic-its.c | 204 ++++++++---- virt/kvm/arm/vgic/vgic-mmio-v3.c | 5 + virt/kvm/arm/vgic/vgic-v3.c | 14 + virt/kvm/arm/vgic/vgic-v4.c | 364 +++++++++++++++++++++ virt/kvm/arm/vgic/vgic.c | 67 +++- virt/kvm/arm/vgic/vgic.h | 10 + 19 files changed, 819 insertions(+), 158 deletions(-) create mode 100644 virt/kvm/arm/vgic/vgic-v4.c