public inbox for linux-s390@vger.kernel.org
 help / color / mirror / Atom feed
From: David Hildenbrand <david@redhat.com>
To: Janosch Frank <frankja@linux.ibm.com>, kvm@vger.kernel.org
Cc: thuth@redhat.com, linux-s390@vger.kernel.org,
	borntraeger@de.ibm.com, cohuck@redhat.com
Subject: Re: [PATCH v3 00/10] s390x: smp: Improve smp code part 2
Date: Thu, 30 Apr 2020 17:00:33 +0200	[thread overview]
Message-ID: <bfececd9-e66d-46db-e3ed-7d5a07a6c35d@redhat.com> (raw)
In-Reply-To: <20200429143518.1360468-1-frankja@linux.ibm.com>

On 29.04.20 16:35, Janosch Frank wrote:
> Let's continue cleaning up the smp test and smp related functions.
> 
> We add:
>    * Test for external/emergency calls after reset
>    * Test SIGP restart while running
>    * SIGP stop and store status while running
>    * CR testing on reset
> 
> We fix:
>    * Proper check for sigp completion
>    * smp_cpu_setup_state() loop and return address in r14
> 
> v3:
> 	* Added some rev-bys and acks
> 	* Add a workaround for stop and store status
> 	* Beautified cr checking with loop
> 
> v2:
> 	* Added some rev-bys and acks
> 	* Explicitly stop and start cpu before hot restart test
> 
> GIT: https://github.com/frankjaa/kvm-unit-tests/tree/smp_cleanup2
> 
> Janosch Frank (10):
>   s390x: smp: Test all CRs on initial reset
>   s390x: smp: Dirty fpc before initial reset test
>   s390x: smp: Test stop and store status on a running and stopped cpu
>   s390x: smp: Test local interrupts after cpu reset
>   s390x: smp: Loop if secondary cpu returns into cpu setup again
>   s390x: smp: Remove unneeded cpu loops
>   s390x: smp: Use full PSW to bringup new cpu
>   s390x: smp: Wait for sigp completion
>   s390x: smp: Add restart when running test
>   s390x: Fix library constant definitions
> 
>  lib/s390x/asm/arch_def.h |   8 ++--
>  lib/s390x/smp.c          |  11 +++++
>  lib/s390x/smp.h          |   1 +
>  s390x/cstart64.S         |   5 +-
>  s390x/smp.c              | 101 +++++++++++++++++++++++++++++++++++----
>  5 files changed, 112 insertions(+), 14 deletions(-)
> 

I already had #1 applied. Applied everything else except #8, that might
require more thought. Gave it a test under z/VM and TCG.

Under z/VM I get:

ABORT: smp: cpu reset: Unexpected external call interrupt (code 0x1201):
on cpu 1 at 0x110f4

Which - I think - is expected with older kernels (on 5.4.13) that miss
the reset of local interrupts via the new kernel interface

https://github.com/davidhildenbrand/qemu.git s390-tcg-next

Thanks!

-- 
Thanks,

David / dhildenb

      parent reply	other threads:[~2020-04-30 15:01 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-29 14:35 [PATCH v3 00/10] s390x: smp: Improve smp code part 2 Janosch Frank
2020-04-29 14:35 ` [PATCH v3 01/10] s390x: smp: Test all CRs on initial reset Janosch Frank
2020-04-29 14:35 ` [PATCH v3 02/10] s390x: smp: Dirty fpc before initial reset test Janosch Frank
2020-04-29 14:35 ` [PATCH v3 03/10] s390x: smp: Test stop and store status on a running and stopped cpu Janosch Frank
2020-04-29 14:35 ` [PATCH v3 04/10] s390x: smp: Test local interrupts after cpu reset Janosch Frank
2020-04-29 15:12   ` David Hildenbrand
2020-04-29 14:35 ` [PATCH v3 05/10] s390x: smp: Loop if secondary cpu returns into cpu setup again Janosch Frank
2020-04-29 15:12   ` David Hildenbrand
2020-04-29 14:35 ` [PATCH v3 06/10] s390x: smp: Remove unneeded cpu loops Janosch Frank
2020-04-29 14:35 ` [PATCH v3 07/10] s390x: smp: Use full PSW to bringup new cpu Janosch Frank
2020-04-29 14:35 ` [PATCH v3 08/10] s390x: smp: Wait for sigp completion Janosch Frank
2020-04-29 15:15   ` David Hildenbrand
2020-04-30  7:40     ` Janosch Frank
2020-04-30  7:42       ` David Hildenbrand
2020-04-29 14:35 ` [PATCH v3 09/10] s390x: smp: Add restart when running test Janosch Frank
2020-04-29 14:35 ` [PATCH v3 10/10] s390x: Fix library constant definitions Janosch Frank
2020-04-30 15:00 ` David Hildenbrand [this message]

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=bfececd9-e66d-46db-e3ed-7d5a07a6c35d@redhat.com \
    --to=david@redhat.com \
    --cc=borntraeger@de.ibm.com \
    --cc=cohuck@redhat.com \
    --cc=frankja@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