[GIT PULL] KVM fixes for 5.12-rc3

From: Paolo Bonzini
Date: Sun Mar 14 2021 - 04:39:20 EST


Linus,

The following changes since commit 9e46f6c6c959d9bb45445c2e8f04a75324a0dfd0:

KVM: SVM: Clear the CR4 register on reset (2021-03-02 14:39:11 -0500)

are available in the Git repository at:

https://git.kernel.org/pub/scm/virt/kvm/kvm.git tags/for-linus

for you to fetch changes up to 35737d2db2f4567106c90060ad110b27cb354fa4:

KVM: LAPIC: Advancing the timer expiration on guest initiated write (2021-03-12 13:18:52 -0500)

----------------------------------------------------------------
More fixes for ARM and x86.

----------------------------------------------------------------
Andrew Scull (1):
KVM: arm64: Fix nVHE hyp panic host context restore

Jia He (1):
KVM: arm64: Fix range alignment when walking page tables

Marc Zyngier (7):
KVM: arm64: Turn kvm_arm_support_pmu_v3() into a static key
KVM: arm64: Don't access PMSELR_EL0/PMUSERENR_EL0 when no PMU is available
KVM: arm64: Rename __vgic_v3_get_ich_vtr_el2() to __vgic_v3_get_gic_config()
KVM: arm64: Workaround firmware wrongly advertising GICv2-on-v3 compatibility
KVM: arm64: Ensure I-cache isolation between vcpus of a same VM
KVM: arm64: Reject VM creation when the default IPA size is unsupported
KVM: arm64: Fix exclusive limit for IPA size

Muhammad Usama Anjum (2):
kvm: x86: use NULL instead of using plain integer as pointer
kvm: x86: annotate RCU pointers

Sami Tolvanen (1):
KVM: arm64: Don't use cbz/adr with external symbols

Sean Christopherson (3):
KVM: x86: Ensure deadline timer has truly expired before posting its IRQ
KVM: SVM: Connect 'npt' module param to KVM's internal 'npt_enabled'
KVM: x86/mmu: Skip !MMU-present SPTEs when removing SP in exclusive mode

Suzuki K Poulose (1):
KVM: arm64: nvhe: Save the SPE context early

Wanpeng Li (2):
KVM: kvmclock: Fix vCPUs > 64 can't be online/hotpluged
KVM: LAPIC: Advancing the timer expiration on guest initiated write

Will Deacon (1):
KVM: arm64: Avoid corrupting vCPU context register in guest exit

Documentation/virt/kvm/api.rst | 3 +++
arch/arm64/include/asm/kvm_asm.h | 8 +++----
arch/arm64/include/asm/kvm_hyp.h | 8 ++++++-
arch/arm64/kernel/image-vars.h | 3 +++
arch/arm64/kvm/arm.c | 7 +++++-
arch/arm64/kvm/hyp/entry.S | 8 ++++---
arch/arm64/kvm/hyp/include/hyp/switch.h | 9 +++++---
arch/arm64/kvm/hyp/nvhe/debug-sr.c | 12 ++++++++--
arch/arm64/kvm/hyp/nvhe/host.S | 15 +++++++------
arch/arm64/kvm/hyp/nvhe/hyp-main.c | 12 +++++-----
arch/arm64/kvm/hyp/nvhe/switch.c | 14 +++++++++---
arch/arm64/kvm/hyp/nvhe/tlb.c | 3 ++-
arch/arm64/kvm/hyp/pgtable.c | 1 +
arch/arm64/kvm/hyp/vgic-v3-sr.c | 40 +++++++++++++++++++++++++++++++--
arch/arm64/kvm/hyp/vhe/tlb.c | 3 ++-
arch/arm64/kvm/mmu.c | 3 +--
arch/arm64/kvm/perf.c | 10 +++++++++
arch/arm64/kvm/pmu-emul.c | 10 ---------
arch/arm64/kvm/reset.c | 12 ++++++----
arch/arm64/kvm/vgic/vgic-v3.c | 12 +++++++---
arch/x86/include/asm/kvm_host.h | 4 ++--
arch/x86/kernel/kvmclock.c | 19 ++++++++--------
arch/x86/kvm/lapic.c | 12 +++++++++-
arch/x86/kvm/mmu/tdp_mmu.c | 11 +++++++++
arch/x86/kvm/svm/svm.c | 25 +++++++++++----------
arch/x86/kvm/x86.c | 2 +-
include/kvm/arm_pmu.h | 9 ++++++--
27 files changed, 194 insertions(+), 81 deletions(-)