linux-s390.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/1] KVM: s390: diag9c forwarding
@ 2021-02-15 16:06 Pierre Morel
  2021-02-15 16:06 ` [PATCH v3 1/1] s390:kvm: " Pierre Morel
  0 siblings, 1 reply; 4+ messages in thread
From: Pierre Morel @ 2021-02-15 16:06 UTC (permalink / raw)
  To: kvm; +Cc: linux-s390, borntraeger, frankja, cohuck, david, thuth, pmorel

This patch will forward the yieldto hypercall (diag9c) if in the host
the target CPU is also not running. As we do not yet have performance
data (and recommendations) the default is turned off, but this can
be changed during runtime.


Pierre Morel (1):
  s390:kvm: diag9c forwarding

 Documentation/virt/kvm/s390-diag.rst | 33 ++++++++++++++++++++++++++++
 arch/s390/include/asm/kvm_host.h     |  1 +
 arch/s390/include/asm/smp.h          |  1 +
 arch/s390/kernel/smp.c               |  1 +
 arch/s390/kvm/diag.c                 | 31 +++++++++++++++++++++++---
 arch/s390/kvm/kvm-s390.c             |  6 +++++
 arch/s390/kvm/kvm-s390.h             |  8 +++++++
 7 files changed, 78 insertions(+), 3 deletions(-)

-- 
2.17.1

Changelog:

From v2:

- update overrun comparison, avoid comparison on unsigned
  (Pierre)

From v1:

- more precise comments
  (Connie)

- Documentation
  (Janosch)

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-02-19 19:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-15 16:06 [PATCH v3 0/1] KVM: s390: diag9c forwarding Pierre Morel
2021-02-15 16:06 ` [PATCH v3 1/1] s390:kvm: " Pierre Morel
2021-02-19 16:09   ` Cornelia Huck
2021-02-19 19:03     ` Pierre Morel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).