Skip to content

kvm-s390: collection of kvm-s390 fixes - v3

[email protected] kvm 1 version Applied

Status from this message: Applied all, thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/6kvm-s390: Fix memory slot versus run - v3arch/s390/kvm/kvm-s390.c+31 -50 replies
2/6kvm-s390: use hrtimer for clock wakeup from idle - v2arch/s390/include/asm/kvm_host.h arch/s390/kvm/interrupt.c arch/s390/kvm/kvm-s390.c +1 more+35 -140 replies
3/6kvm-s390: optimize float int lock: spin_lock_bh --> spin_lockarch/s390/kvm/interrupt.c arch/s390/kvm/kvm-s390.c arch/s390/kvm/priv.c +1 more+22 -220 replies
4/6: kvm-s390: Unlink vcpu on destroy - v2arch/s390/kvm/kvm-s390.c+8 -20 replies
5/6kvm-s390: Sanity check on validity interceptarch/s390/kvm/intercept.c+18 -100 replies
6/6kvm-s390: Verify memory in kvm runarch/s390/kvm/kvm-s390.c+6 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/6] kvm-s390: collection of kvm-s390 fixes - v3

From: Christian Ehrhardt <[email protected]>

*updates in v3*
- fix memory slot vs. run uses trylock to avoid a potential livelock
- fix memory slot vs. run checks if it is the first and only memslot registered

*updates in v2*
- hrtimer wakeup use a more accurate calculation
- unlink vcpu uses smb_mb so the pointer is really zero when the page is freed

This is a collection of fixes for kvm-s390 that originate from several tests made in the last few months. They are now tested a while and should be ready to be merged.

Patches included:
[PATCH 1/6] kvm-s390: Fix memory slot versus run' - v3
[PATCH 2/6] kvm-s390: use hrtimer for clock wakeup from idle' - v2 [PATCH 3/6] kvm-s390: optimize float int lock: spin_lock_bh --> spin_lock' [PATCH 4/6] kvm-s390: Unlink vcpu on destroy' - v2
[PATCH 5/6] kvm-s390: Sanity check on validity intercept' [PATCH 6/6] kvm-s390: Verify memory in kvm run'

Overall-Diffstat:

 arch/s390/include/asm/kvm_host.h |    5 ++-
 arch/s390/kvm/intercept.c        |   28 +++++++++++------
 arch/s390/kvm/interrupt.c        |   53 ++++++++++++++++++++------------
 arch/s390/kvm/kvm-s390.c         |   63 ++++++++++++++++++++++++++++++++-------
 arch/s390/kvm/kvm-s390.h         |    4 +-
 arch/s390/kvm/priv.c             |    4 +-
 arch/s390/kvm/sigp.c             |   16 ++++-----
 7 files changed, 120 insertions(+), 53 deletions(-)