[J][PATCH 0/2][v3] KVM: Improve SIGP architectural compliance (LP: 1959735)

frank.heimes at canonical.com frank.heimes at canonical.com
Fri Feb 4 15:11:49 UTC 2022


BugLink: https://bugs.launchpad.net/bugs/1959735

Linux as a guest operating system often doesn't have as stringent requirements
to architectural compliance as traditional operating systems that rely on it. 
Specifically, KVM implements the SIGP RESTART in a non-compliant way, 
as it reports a CPU state to be stopped after SIGP RESTART was issued, 
while it should report a busy condition until the CPU is really started.
This feature covers the necessary fixes/improvements to KVM SIGP processing.

v2: fixed hash, cherry picked from linux (instead of linux-next), based on 5.15.0-20.20
v3: changed order of cherry-picks

Eric Farman (2):
  KVM: s390: Simplify SIGP Set Arch handling
  KVM: s390: Add a routine for setting userspace CPU state

 arch/s390/kvm/kvm-s390.c |  6 +++---
 arch/s390/kvm/kvm-s390.h |  9 +++++++++
 arch/s390/kvm/sigp.c     | 14 +-------------
 3 files changed, 13 insertions(+), 16 deletions(-)

-- 
2.25.1




More information about the kernel-team mailing list