Skip to content

s390x: Align SIE tests to 2GB

Nico Boehr kvm linux-s390 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 2 repliesIn review
  2. v12 patches 3 repliesSuperseded

Changes in v2 from the cover letter

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

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3s390x: spec_ex-sie: refactor to use snippet APIs390x/spec_ex-sie.c+6 -70 replies
2/3s390x: sie: ensure guests are aligned to 2GBlib/s390x/sie.c lib/s390x/sie.h lib/s390x/snippet.h +1 more+49 -81 reply
3/3s390x: mvpg-sie: fix virtual-physical address confusionlib/s390x/mmu.h s390x/mvpg-sie.c+13 -41 reply

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchJanosch FrankClaudio Imbrenda
1/3R-b
2/3R-b
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [kvm-unit-tests PATCH v2 0/3] s390x: Align SIE tests to 2GB

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/[email protected]/

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(-)
Signature · 1 line
2.41.0