public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [kvm-unit-tests PATCH v2 0/3] s390x: Align SIE tests to 2GB
@ 2023-11-06 17:07 Nico Boehr
  2023-11-06 17:08 ` [kvm-unit-tests PATCH v2 1/3] s390x: spec_ex-sie: refactor to use snippet API Nico Boehr
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Nico Boehr @ 2023-11-06 17:07 UTC (permalink / raw)
  To: frankja, imbrenda, thuth; +Cc: kvm, linux-s390

v2:
---
* reverse xmas (thanks Claudio)
* kerneldoc (thanks Claudio)
* fix a virtual-physical confusion in mvpg-sie
* pick up Janoschs r-bs

Some environments on s390x require guests to be aligned to 2GB. This is a
problem when kvm-unit-tests act as a hypervisor, since guests run with MSO/MSL
there and guest memory doesn't satisfy this requirement.

This series ensures kvm-unit-tests fulfills the 2G alignment requirement.

Note that these changes make mvpg-sie test case fail under KVM due to a bug in
prefix handling, a fix is was submitted here:
https://lore.kernel.org/kvm/20231102153549.53984-1-imbrenda@linux.ibm.com/

Nico Boehr (3):
  s390x: spec_ex-sie: refactor to use snippet API
  s390x: sie: ensure guests are aligned to 2GB
  s390x: mvpg-sie: fix virtual-physical address confusion

 lib/s390x/mmu.h     |  2 ++
 lib/s390x/sie.c     | 42 ++++++++++++++++++++++++++++++++++++++++++
 lib/s390x/sie.h     |  2 ++
 lib/s390x/snippet.h |  9 +++------
 s390x/mvpg-sie.c    | 15 +++++++++++----
 s390x/sie.c         |  4 ++--
 s390x/spec_ex-sie.c | 13 ++++++-------
 7 files changed, 68 insertions(+), 19 deletions(-)

-- 
2.41.0


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

end of thread, other threads:[~2023-11-07 12:54 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-06 17:07 [kvm-unit-tests PATCH v2 0/3] s390x: Align SIE tests to 2GB Nico Boehr
2023-11-06 17:08 ` [kvm-unit-tests PATCH v2 1/3] s390x: spec_ex-sie: refactor to use snippet API Nico Boehr
2023-11-06 17:08 ` [kvm-unit-tests PATCH v2 2/3] s390x: sie: ensure guests are aligned to 2GB Nico Boehr
2023-11-07 12:26   ` Claudio Imbrenda
2023-11-06 17:08 ` [kvm-unit-tests PATCH v2 3/3] s390x: mvpg-sie: fix virtual-physical address confusion Nico Boehr
2023-11-07 12:54   ` Claudio Imbrenda

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox