From patchwork Thu Apr 23 09:10:03 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Janosch Frank X-Patchwork-Id: 11505339 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 72E33112C for ; Thu, 23 Apr 2020 09:10:28 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 63C122075A for ; Thu, 23 Apr 2020 09:10:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726474AbgDWJK1 (ORCPT ); Thu, 23 Apr 2020 05:10:27 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:23356 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725854AbgDWJK1 (ORCPT ); Thu, 23 Apr 2020 05:10:27 -0400 Received: from pps.filterd (m0098416.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 03N98pF5066305 for ; Thu, 23 Apr 2020 05:10:25 -0400 Received: from e06smtp07.uk.ibm.com (e06smtp07.uk.ibm.com [195.75.94.103]) by mx0b-001b2d01.pphosted.com with ESMTP id 30k7rkrsew-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 23 Apr 2020 05:10:25 -0400 Received: from localhost by e06smtp07.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 23 Apr 2020 10:10:17 +0100 Received: from b06cxnps4075.portsmouth.uk.ibm.com (9.149.109.197) by e06smtp07.uk.ibm.com (192.168.101.137) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Thu, 23 Apr 2020 10:10:14 +0100 Received: from d06av22.portsmouth.uk.ibm.com (d06av22.portsmouth.uk.ibm.com [9.149.105.58]) by b06cxnps4075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 03N9AJZ566912396 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 23 Apr 2020 09:10:19 GMT Received: from d06av22.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 960AB4C040; Thu, 23 Apr 2020 09:10:19 +0000 (GMT) Received: from d06av22.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id DC5424C066; Thu, 23 Apr 2020 09:10:18 +0000 (GMT) Received: from linux01.pok.stglabs.ibm.com (unknown [9.114.17.81]) by d06av22.portsmouth.uk.ibm.com (Postfix) with ESMTP; Thu, 23 Apr 2020 09:10:18 +0000 (GMT) From: Janosch Frank To: kvm@vger.kernel.org Cc: thuth@redhat.com, linux-s390@vger.kernel.org, david@redhat.com, borntraeger@de.ibm.com, cohuck@redhat.com Subject: [PATCH v2 00/10] s390x: smp: Improve smp code part 2 Date: Thu, 23 Apr 2020 05:10:03 -0400 X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-TM-AS-GCONF: 00 x-cbid: 20042309-0028-0000-0000-000003FD7B07 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 20042309-0029-0000-0000-000024C3455C Message-Id: <20200423091013.11587-1-frankja@linux.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.138,18.0.676 definitions=2020-04-23_07:2020-04-22,2020-04-23 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 priorityscore=1501 clxscore=1015 mlxscore=0 mlxlogscore=518 adultscore=0 bulkscore=0 impostorscore=0 malwarescore=0 suspectscore=0 spamscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2003020000 definitions=main-2004230070 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org 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 GIT: https://github.com/frankjaa/kvm-unit-tests/tree/smp_cleanup2 v2: * Added some rev-bys and acks * Explicitly stop and start cpu before hot restart test 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 | 10 +++++ lib/s390x/smp.h | 1 + s390x/cstart64.S | 5 ++- s390x/smp.c | 94 ++++++++++++++++++++++++++++++++++++---- 5 files changed, 105 insertions(+), 13 deletions(-)