diff mbox series

[kvm-unit-tests,v3,6/9] s390x: uv-host: Switch to smp_sigp

Message ID 20230502130732.147210-7-frankja@linux.ibm.com (mailing list archive)
State New, archived
Headers show
Series s390x: uv-host: Fixups and extensions part 1 | expand

Commit Message

Janosch Frank May 2, 2023, 1:07 p.m. UTC
Let's move to the new smp_sigp() interface which abstracts cpu
numbers.

Signed-off-by: Janosch Frank <frankja@linux.ibm.com>
---
 s390x/uv-host.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Nico Boehr May 10, 2023, 8:53 a.m. UTC | #1
Quoting Janosch Frank (2023-05-02 15:07:29)
> Let's move to the new smp_sigp() interface which abstracts cpu
> numbers.
> 
> Signed-off-by: Janosch Frank <frankja@linux.ibm.com>

Did you intentionally drop my R-b?

anyways:
Reviewed-by: Nico Boehr <nrb@linux.ibm.com>
diff mbox series

Patch

diff --git a/s390x/uv-host.c b/s390x/uv-host.c
index 0048a19f..a9543593 100644
--- a/s390x/uv-host.c
+++ b/s390x/uv-host.c
@@ -440,12 +440,12 @@  static void test_config_create(void)
 	 * non-zero prefix.
 	 */
 	if (smp_query_num_cpus() > 1) {
-		sigp_retry(1, SIGP_SET_PREFIX,
+		smp_sigp(1, SIGP_SET_PREFIX,
 			   uvcb_cgc.conf_var_stor_origin + PAGE_SIZE, NULL);
 		rc = uv_call(0, (uint64_t)&uvcb_cgc);
 		report(uvcb_cgc.header.rc == 0x10b && rc == 1 &&
 		       !uvcb_cgc.guest_handle, "variable storage area contains lowcore");
-		sigp_retry(1, SIGP_SET_PREFIX, 0x0, NULL);
+		smp_sigp(1, SIGP_SET_PREFIX, 0x0, NULL);
 	}
 
 	tmp = uvcb_cgc.guest_sca;