All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4 0/1] KVM: s390: diag9c (directed yield) forwarding
@ 2021-02-22 12:41 Pierre Morel
  2021-02-22 12:41 ` [PATCH v4 1/1] " Pierre Morel
  0 siblings, 1 reply; 5+ messages in thread
From: Pierre Morel @ 2021-02-22 12:41 UTC (permalink / raw)
  To: kvm; +Cc: linux-s390, borntraeger, frankja, cohuck, david, thuth, pmorel

This patch will forward the yield_to 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.

The documentation notation for the titles is kept coherent with
the other DIAGNOSE entries using the zVM notation DIAGNOSE 'X'9C,
While in the explanation part we use the standard Linux notation
DIAGNOSE 0x9c.

Regards,
Pierre


Pierre Morel (1):
  KVM: s390: diag9c (directed yield) 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 v3:

- rewording of the commit message
  (Connie)

- great rewording of the documentation
  (Connie)

- Keep smp_yield_cpu symbol GPL
  (Connie)

- More explicit diag9c_forwarding_hz parameter description
  (Connie)

From v2:

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

From v1:

- more precise comments
  (Connie)

- Documentation
  (Janosch)

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

end of thread, other threads:[~2021-02-23 15:13 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-22 12:41 [PATCH v4 0/1] KVM: s390: diag9c (directed yield) forwarding Pierre Morel
2021-02-22 12:41 ` [PATCH v4 1/1] " Pierre Morel
2021-02-23 11:14   ` Cornelia Huck
2021-02-23 11:32     ` Pierre Morel
2021-02-23 15:12   ` Christian Borntraeger

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.