kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Claudio Imbrenda <imbrenda@linux.ibm.com>
To: pbonzini@redhat.com
Cc: kvm@vger.kernel.org, borntraeger@de.ibm.com, frankja@linux.ibm.com
Subject: [kvm-unit-tests GIT PULL 12/13] s390x: smp: Allocate memory in DMA31 space
Date: Mon, 17 Jan 2022 17:59:48 +0100	[thread overview]
Message-ID: <20220117165949.75964-13-imbrenda@linux.ibm.com> (raw)
In-Reply-To: <20220117165949.75964-1-imbrenda@linux.ibm.com>

From: Janosch Frank <frankja@linux.ibm.com>

The store status at address order works with 31 bit addresses so let's
use them.

Signed-off-by: Janosch Frank <frankja@linux.ibm.com>
Reviewed-by: Claudio Imbrenda <imbrenda@linux.ibm.com>
[Fix order number - found by Nico Boehr]
Signed-off-by: Claudio Imbrenda <imbrenda@linux.ibm.com>
---
 s390x/smp.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/s390x/smp.c b/s390x/smp.c
index 329ca92d..1bbe4c31 100644
--- a/s390x/smp.c
+++ b/s390x/smp.c
@@ -121,7 +121,7 @@ static void test_stop_store_status(void)
 
 static void test_store_status(void)
 {
-	struct cpu_status *status = alloc_pages(1);
+	struct cpu_status *status = alloc_pages_flags(1, AREA_DMA31);
 	uint32_t r;
 
 	report_prefix_push("store status at address");
@@ -241,7 +241,7 @@ static void test_func_initial(void)
 
 static void test_reset_initial(void)
 {
-	struct cpu_status *status = alloc_pages(0);
+	struct cpu_status *status = alloc_pages_flags(0, AREA_DMA31);
 	struct psw psw;
 	int i;
 
-- 
2.31.1


  parent reply	other threads:[~2022-01-17 17:00 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-17 16:59 [kvm-unit-tests GIT PULL 00/13] s390x update 2022-01-17 Claudio Imbrenda
2022-01-17 16:59 ` [kvm-unit-tests GIT PULL 01/13] s390x: snippets: mvpg-snippet: Remove unneeded includes Claudio Imbrenda
2022-01-17 16:59 ` [kvm-unit-tests GIT PULL 02/13] lib: s390x: sie: Add sca allocation and freeing Claudio Imbrenda
2022-01-17 16:59 ` [kvm-unit-tests GIT PULL 03/13] s390x: sie: Add PV fields to SIE control block Claudio Imbrenda
2022-01-17 16:59 ` [kvm-unit-tests GIT PULL 04/13] s390x: sie: Add UV information into VM struct Claudio Imbrenda
2022-01-17 16:59 ` [kvm-unit-tests GIT PULL 05/13] s390x: uv: Add more UV call functions Claudio Imbrenda
2022-01-17 16:59 ` [kvm-unit-tests GIT PULL 06/13] s390x: lib: Extend UV library with PV guest management Claudio Imbrenda
2022-01-17 16:59 ` [kvm-unit-tests GIT PULL 07/13] lib: s390: sie: Add PV guest register handling Claudio Imbrenda
2022-01-17 16:59 ` [kvm-unit-tests GIT PULL 08/13] s390x: snippets: Add PV support Claudio Imbrenda
2022-01-17 16:59 ` [kvm-unit-tests GIT PULL 09/13] lib: s390x: Introduce snippet helpers Claudio Imbrenda
2022-01-17 16:59 ` [kvm-unit-tests GIT PULL 10/13] s390x: mvpg-sie: Use " Claudio Imbrenda
2022-01-17 16:59 ` [kvm-unit-tests GIT PULL 11/13] s390x: sie: Add PV diag test Claudio Imbrenda
2022-01-17 16:59 ` Claudio Imbrenda [this message]
2022-01-17 16:59 ` [kvm-unit-tests GIT PULL 13/13] s390x: firq: Fix sclp buffer allocation 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=20220117165949.75964-13-imbrenda@linux.ibm.com \
    --to=imbrenda@linux.ibm.com \
    --cc=borntraeger@de.ibm.com \
    --cc=frankja@linux.ibm.com \
    --cc=kvm@vger.kernel.org \
    --cc=pbonzini@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;
as well as URLs for NNTP newsgroup(s).