[GIT PULL] KVM changes for Linux 5.2-rc2

From: Paolo Bonzini
Date: Sun May 26 2019 - 05:59:35 EST


Linus,

The following changes since commit a188339ca5a396acc588e5851ed7e19f66b0ebd9:

Linux 5.2-rc1 (2019-05-19 15:47:09 -0700)

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 66f61c92889ff3ca365161fb29dd36d6354682ba:

KVM: x86: fix return value for reserved EFER (2019-05-24 21:55:02 +0200)

----------------------------------------------------------------
The usual smattering of fixes and tunings that came in too late for the
merge window, but should not wait four months before they appear in
a release. I also travelled a bit more than usual in the first part
of May, which didn't help with picking up patches and reports promptly.

----------------------------------------------------------------
Andrew Jones (3):
kvm: selftests: aarch64: dirty_log_test: fix unaligned memslot size
kvm: selftests: aarch64: fix default vm mode
kvm: selftests: aarch64: compile with warnings on

Borislav Petkov (1):
x86/kvm/pmu: Set AMD's virt PMU version to 1

Christian Borntraeger (2):
KVM: s390: change default halt poll time to 50us
KVM: s390: fix memory slot handling for KVM_SET_USER_MEMORY_REGION

Christoffer Dall (1):
MAINTAINERS: KVM: arm/arm64: Remove myself as maintainer

Dan Carpenter (1):
KVM: selftests: Fix a condition in test_hv_cpuid()

James Morse (2):
KVM: arm64: Move pmu hyp code under hyp's Makefile to avoid instrumentation
KVM: arm/arm64: Move cc/it checks under hyp's Makefile to avoid instrumentation

Jim Mattson (2):
kvm: x86: Include multiple indices with CPUID leaf 0x8000001d
kvm: x86: Include CPUID leaf 0x8000001e in kvm's supported CPUID

Paolo Bonzini (10):
Merge tag 'kvm-s390-master-5.2-1' of git://git.kernel.org/.../kvms390/linux into HEAD
Merge tag 'kvmarm-fixes-for-5.2' of git://git.kernel.org/.../kvmarm/kvmarm into HEAD
KVM: nVMX: really fix the size checks on KVM_SET_NESTED_STATE
kvm: selftests: avoid type punning
kvm: fix compilation on s390
KVM: selftests: do not blindly clobber registers in guest asm
KVM: x86: do not spam dmesg with VMCS/VMCB dumps
KVM: x86/pmu: mask the result of rdpmc according to the width of the counters
KVM: x86/pmu: do not mask the value that is written to fixed PMUs
KVM: x86: fix return value for reserved EFER

Peter Xu (1):
kvm: Check irqchip mode before assign irqfd

Sean Christopherson (1):
KVM: nVMX: Clear nested_run_pending if setting nested state fails

Stefan Raspl (1):
tools/kvm_stat: fix fields filter for child events

Suthikulpanit, Suravee (1):
kvm: svm/avic: fix off-by-one in checking host APIC ID

Thomas Huth (3):
KVM: selftests: Compile code with warnings enabled
KVM: selftests: Remove duplicated TEST_ASSERT in hyperv_cpuid.c
KVM: selftests: Wrap vcpu_nested_state_get/set functions with x86 guard

Wanpeng Li (4):
KVM: Fix spinlock taken warning during host resume
KVM: nVMX: Fix using __this_cpu_read() in preemptible context
KVM: LAPIC: Fix lapic_timer_advance_ns parameter overflow
KVM: LAPIC: Expose per-vCPU timer_advance_ns to userspace

Wei Yongjun (1):
KVM: s390: fix typo in parameter description

Yi Wang (1):
kvm: vmx: Fix -Wmissing-prototypes warnings

MAINTAINERS | 2 -
arch/arm/kvm/hyp/Makefile | 1 +
arch/arm64/include/asm/kvm_host.h | 3 -
arch/arm64/kvm/hyp/Makefile | 1 +
arch/arm64/kvm/hyp/switch.c | 39 ++++++
arch/arm64/kvm/pmu.c | 38 ------
arch/s390/include/asm/kvm_host.h | 2 +-
arch/s390/kvm/kvm-s390.c | 37 +++---
arch/x86/kvm/cpuid.c | 8 +-
arch/x86/kvm/debugfs.c | 18 +++
arch/x86/kvm/irq.c | 7 ++
arch/x86/kvm/irq.h | 1 +
arch/x86/kvm/pmu.c | 10 +-
arch/x86/kvm/pmu.h | 3 +-
arch/x86/kvm/pmu_amd.c | 4 +-
arch/x86/kvm/svm.c | 15 ++-
arch/x86/kvm/vmx/nested.c | 35 +++---
arch/x86/kvm/vmx/pmu_intel.c | 26 ++--
arch/x86/kvm/vmx/vmx.c | 26 ++--
arch/x86/kvm/vmx/vmx.h | 1 +
arch/x86/kvm/x86.c | 4 +-
tools/kvm/kvm_stat/kvm_stat | 16 ++-
tools/kvm/kvm_stat/kvm_stat.txt | 2 +
tools/testing/selftests/kvm/Makefile | 4 +-
tools/testing/selftests/kvm/dirty_log_test.c | 8 +-
tools/testing/selftests/kvm/include/kvm_util.h | 2 +
.../testing/selftests/kvm/lib/aarch64/processor.c | 11 +-
tools/testing/selftests/kvm/lib/kvm_util.c | 5 +-
tools/testing/selftests/kvm/lib/ucall.c | 2 +-
tools/testing/selftests/kvm/lib/x86_64/processor.c | 4 +-
.../selftests/kvm/x86_64/cr4_cpuid_sync_test.c | 1 +
tools/testing/selftests/kvm/x86_64/evmcs_test.c | 7 +-
tools/testing/selftests/kvm/x86_64/hyperv_cpuid.c | 9 +-
.../selftests/kvm/x86_64/platform_info_test.c | 1 -
tools/testing/selftests/kvm/x86_64/smm_test.c | 3 +-
tools/testing/selftests/kvm/x86_64/state_test.c | 7 +-
.../testing/selftests/kvm/x86_64/sync_regs_test.c | 54 ++++----
.../kvm/x86_64/vmx_close_while_nested_test.c | 5 +-
.../kvm/x86_64/vmx_set_nested_state_test.c | 2 +-
.../selftests/kvm/x86_64/vmx_tsc_adjust_test.c | 5 +-
virt/kvm/arm/aarch32.c | 121 ------------------
virt/kvm/arm/hyp/aarch32.c | 136 +++++++++++++++++++++
virt/kvm/eventfd.c | 9 ++
virt/kvm/kvm_main.c | 7 +-
44 files changed, 399 insertions(+), 303 deletions(-)
create mode 100644 virt/kvm/arm/hyp/aarch32.c