[kvm-unit-tests,v5,2/7] s390x: smp: Fix ecall and emcall report strings
diff mbox series

Message ID 20200201152851.82867-3-frankja@linux.ibm.com
State New
Headers show
Series
  • s390x: smp: Improve smp code and reset checks
Related show

Commit Message

Janosch Frank Feb. 1, 2020, 3:28 p.m. UTC
Instead of "smp: ecall: ecall" we now get "smp: ecall: received".

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

Comments

Thomas Huth Feb. 1, 2020, 6:53 p.m. UTC | #1
On 01/02/2020 16.28, Janosch Frank wrote:
> Instead of "smp: ecall: ecall" we now get "smp: ecall: received".
> 
> Signed-off-by: Janosch Frank <frankja@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 e37eb56..93a9594 100644
> --- a/s390x/smp.c
> +++ b/s390x/smp.c
> @@ -125,7 +125,7 @@ static void ecall(void)
>  	load_psw_mask(mask);
>  	set_flag(1);
>  	while (lc->ext_int_code != 0x1202) { mb(); }
> -	report(1, "ecall");
> +	report(1, "received");
>  	set_flag(1);
>  }
>  
> @@ -160,7 +160,7 @@ static void emcall(void)
>  	load_psw_mask(mask);
>  	set_flag(1);
>  	while (lc->ext_int_code != 0x1201) { mb(); }
> -	report(1, "ecall");
> +	report(1, "received");
>  	set_flag(1);
>  }

Reviewed-by: Thomas Huth <thuth@redhat.com>
Cornelia Huck Feb. 3, 2020, 11:06 a.m. UTC | #2
On Sat,  1 Feb 2020 10:28:46 -0500
Janosch Frank <frankja@linux.ibm.com> wrote:

> Instead of "smp: ecall: ecall" we now get "smp: ecall: received".
> 
> Signed-off-by: Janosch Frank <frankja@linux.ibm.com>
> ---
>  s390x/smp.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Reviewed-by: Cornelia Huck <cohuck@redhat.com>

Patch
diff mbox series

diff --git a/s390x/smp.c b/s390x/smp.c
index e37eb56..93a9594 100644
--- a/s390x/smp.c
+++ b/s390x/smp.c
@@ -125,7 +125,7 @@  static void ecall(void)
 	load_psw_mask(mask);
 	set_flag(1);
 	while (lc->ext_int_code != 0x1202) { mb(); }
-	report(1, "ecall");
+	report(1, "received");
 	set_flag(1);
 }
 
@@ -160,7 +160,7 @@  static void emcall(void)
 	load_psw_mask(mask);
 	set_flag(1);
 	while (lc->ext_int_code != 0x1201) { mb(); }
-	report(1, "ecall");
+	report(1, "received");
 	set_flag(1);
 }