------- Comment From far...@us.ibm.com 2022-03-03 16:21 EDT-------
A draft of the kvm-unit-test patches for these changes are now posted upstream:

https://lore.kernel.org/r/20220303210425.1693486-1-far...@linux.ibm.com/

There are a couple of additional cleanups in the series, but the key points are:
- (Patch 1) The SIGP SENSE used to determine if a CPU is operating/stopped now 
loops if it returns a CC2 (now possible with the kernel changes here)
- (Patch 4 and 5) The test of the SIGP STOP/RESTART opcodes don't do any 
additional looping other than that CC2 loop for a SIGP SENSE

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1962578

Title:
  [UBUNTU 20.04] Fix SIGP processing on KVM/s390

Status in Ubuntu on IBM z Systems:
  New
Status in linux package in Ubuntu:
  In Progress
Status in linux source package in Focal:
  New
Status in linux source package in Impish:
  New

Bug description:
  Decription:
     KVM: SIGP RESTART is reporting a CPU state 'stopped' after SIGP RESTART 
was issued, while it should report a 'busy' condition until the CPU is really 
started.

   The patches to fix this have already been picked for jammy/master-
  next:

  812de04661c4 "KVM: s390: Clarify SIGP orders versus STOP/RESTART"
  435d17955519 "KVM: s390: Add a routine for setting userspace CPU state"
  4563bcad46bf "KVM: s390: Simplify SIGP Set Arch handling"

   For Ubuntu 20.04 the focal/master-next already contains:
  d74b0d2d38d3 KVM: s390: Clarify SIGP orders versus STOP/RESTART

   so we additionally need the following two upstream commits in focal
  67cf68b6a5cc KVM: s390: Add a routine for setting userspace CPU state
  8eeba194a32e KVM: s390: Simplify SIGP Set Arch handling

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/1962578/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to