[GIT PULL] KVM Fixes for 4.14-rc5

From: Paolo Bonzini
Date: Thu Dec 21 2017 - 07:11:21 EST


The following changes since commit 50c4c4e268a2d7a3e58ebb698ac74da0de40ae36:

Linux 4.15-rc3 (2017-12-10 17:56:26 -0800)

are available in the git repository at:

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

for you to fetch changes up to aa12f594f97efe50223611dbd13ecca4e8dafee6:

tools/kvm_stat: sort '-f help' output (2017-12-21 13:03:32 +0100)

ARM fixes:
- A bug in handling of SPE state for non-vhe systems
- A fix for a crash on system shutdown
- Three timer fixes, introduced by the timer optimizations for v4.15

x86 fixes:
- fix for a WARN that was introduced in 4.15
- fix for SMM when guest uses PCID
- fixes for several bugs found by syzkaller

... and a dozen papercut fixes for the kvm_stat tool.

Christoffer Dall (2):
KVM: arm/arm64: Properly handle arch-timer IRQs after vtimer_save_state
KVM: arm/arm64: Fix timer enable flow

Julien Thierry (1):
arm64: kvm: Prevent restoring stale PMSCR_EL1 for vcpu

Lan Tianyu (1):
KVM/x86: Check input paging mode when cs.l is set

Marc Zyngier (2):
KVM: arm/arm64: Fix HYP unmapping going off limits
KVM: arm/arm64: timer: Don't set irq as forwarded if no usable GIC

Paolo Bonzini (2):
Merge tag 'kvm-arm-fixes-for-v4.15-2' of git://git.kernel.org/.../kvmarm/kvmarm into HEAD
kvm: x86: fix RSM when PCID is non-zero

Peter Xu (1):
kvm: x86: fix WARN due to uninitialized guest FPU state

Stefan Raspl (11):
tools/kvm_stat: fix command line option '-g'
tools/kvm_stat: fix drilldown in events-by-guests mode
tools/kvm_stat: fix missing field update after filter change
tools/kvm_stat: fix extra handling of 'help' with fields filter
tools/kvm_stat: fix child trace events accounting
tools/kvm_stat: add hint on '-f help' to man page
tools/kvm_stat: handle invalid regular expressions
tools/kvm_stat: suppress usage information on command line errors
tools/kvm_stat: stop ignoring unhandled arguments
tools/kvm_stat: add line for totals
tools/kvm_stat: sort '-f help' output

Wanpeng Li (3):
KVM: MMU: Fix infinite loop when there is no available mmu page
KVM: X86: Fix load RFLAGS w/o the fixed bit
KVM: Fix stack-out-of-bounds read in write_mmio

arch/arm64/kvm/hyp/debug-sr.c | 3 ++
arch/x86/kvm/emulate.c | 32 ++++++++++++++----
arch/x86/kvm/mmu.c | 8 ++---
arch/x86/kvm/x86.c | 48 ++++++++++++++++++--------
include/kvm/arm_arch_timer.h | 2 +-
include/trace/events/kvm.h | 7 ++--
tools/kvm/kvm_stat/kvm_stat | 74 ++++++++++++++++++++++++-----------------
tools/kvm/kvm_stat/kvm_stat.txt | 4 ++-
virt/kvm/arm/arch_timer.c | 40 +++++++++++++---------
virt/kvm/arm/arm.c | 2 +-
virt/kvm/arm/mmio.c | 6 ++--
virt/kvm/arm/mmu.c | 10 +++---
12 files changed, 151 insertions(+), 85 deletions(-)