public inbox for linux-s390@vger.kernel.org
 help / color / mirror / Atom feed
From: Nico Boehr <nrb@linux.ibm.com>
To: frankja@linux.ibm.com, imbrenda@linux.ibm.com, thuth@redhat.com
Cc: kvm@vger.kernel.org, linux-s390@vger.kernel.org
Subject: [kvm-unit-tests PATCH v1 0/2] s390x: Align SIE tests to 2GB
Date: Fri,  3 Nov 2023 07:35:45 +0100	[thread overview]
Message-ID: <20231103064132.11358-1-nrb@linux.ibm.com> (raw)

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 this currently breaks the mvpg-sie test case under KVM due to prefix
issues, a fix is due for upstream submission.

Nico Boehr (2):
  s390x: spec_ex-sie: refactor to use snippet API
  s390x: sie: ensure guests are aligned to 2GB

 lib/s390x/sie.c     | 42 ++++++++++++++++++++++++++++++++++++++++++
 lib/s390x/sie.h     |  2 ++
 lib/s390x/snippet.h |  9 +++------
 s390x/sie.c         |  4 ++--
 s390x/spec_ex-sie.c | 13 ++++++-------
 5 files changed, 55 insertions(+), 15 deletions(-)

-- 
2.41.0


             reply	other threads:[~2023-11-03  6:41 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-03  6:35 Nico Boehr [this message]
2023-11-03  6:35 ` [kvm-unit-tests PATCH v1 1/2] s390x: spec_ex-sie: refactor to use snippet API Nico Boehr
2023-11-03 12:09   ` Janosch Frank
2023-11-03  6:35 ` [kvm-unit-tests PATCH v1 2/2] s390x: sie: ensure guests are aligned to 2GB Nico Boehr
2023-11-03 13:33   ` Claudio Imbrenda
2023-11-03 12:14 ` [kvm-unit-tests PATCH v1 0/2] s390x: Align SIE tests " Claudio Imbrenda

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20231103064132.11358-1-nrb@linux.ibm.com \
    --to=nrb@linux.ibm.com \
    --cc=frankja@linux.ibm.com \
    --cc=imbrenda@linux.ibm.com \
    --cc=kvm@vger.kernel.org \
    --cc=linux-s390@vger.kernel.org \
    --cc=thuth@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox