From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9405BC33CB1 for ; Fri, 17 Jan 2020 10:46:55 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 6DF362073A for ; Fri, 17 Jan 2020 10:46:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727012AbgAQKqy (ORCPT ); Fri, 17 Jan 2020 05:46:54 -0500 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:40572 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726915AbgAQKqy (ORCPT ); Fri, 17 Jan 2020 05:46:54 -0500 Received: from pps.filterd (m0098404.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 00HAbwqq021956 for ; Fri, 17 Jan 2020 05:46:53 -0500 Received: from e06smtp07.uk.ibm.com (e06smtp07.uk.ibm.com [195.75.94.103]) by mx0a-001b2d01.pphosted.com with ESMTP id 2xk0qtraud-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Fri, 17 Jan 2020 05:46:53 -0500 Received: from localhost by e06smtp07.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 17 Jan 2020 10:46:51 -0000 Received: from b06cxnps4074.portsmouth.uk.ibm.com (9.149.109.196) 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) Fri, 17 Jan 2020 10:46:47 -0000 Received: from d06av26.portsmouth.uk.ibm.com (d06av26.portsmouth.uk.ibm.com [9.149.105.62]) by b06cxnps4074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 00HAkkxE49217748 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 17 Jan 2020 10:46:46 GMT Received: from d06av26.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 9B498AE051; Fri, 17 Jan 2020 10:46:46 +0000 (GMT) Received: from d06av26.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 13404AE053; Fri, 17 Jan 2020 10:46:45 +0000 (GMT) Received: from localhost.localdomain (unknown [9.145.184.110]) by d06av26.portsmouth.uk.ibm.com (Postfix) with ESMTP; Fri, 17 Jan 2020 10:46:44 +0000 (GMT) From: Janosch Frank To: kvm@vger.kernel.org Cc: thuth@redhat.com, borntraeger@de.ibm.com, linux-s390@vger.kernel.org, david@redhat.com, cohuck@redhat.com Subject: [kvm-unit-tests PATCH v3 0/9] s390x: smp: Improve smp code and reset checks Date: Fri, 17 Jan 2020 05:46:31 -0500 X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TM-AS-GCONF: 00 x-cbid: 20011710-0028-0000-0000-000003D1F5CD X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 20011710-0029-0000-0000-0000249620D3 Message-Id: <20200117104640.1983-1-frankja@linux.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.138,18.0.572 definitions=2020-01-17_02:2020-01-16,2020-01-17 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 phishscore=0 malwarescore=0 clxscore=1015 mlxscore=0 suspectscore=0 adultscore=0 bulkscore=0 lowpriorityscore=0 priorityscore=1501 spamscore=0 mlxlogscore=365 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-1910280000 definitions=main-2001170083 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org Let's extend sigp reset testing and clean up the smp library as well. GIT: https://github.com/frankjaa/kvm-unit-tests/tree/smp_cleanup v3: * Added patch to introduce cpu loop in cpu setup * Added patch that removes cpu loops in favor of the previously introduced one * Fixed inline assembly for fpc dirtying * Moved cpu stop hunk from first into the second patch * Reworked patch #4 commit message and added a comment when waiting for PU v2: * Added cpu stop to test_store_status() * Added smp_cpu_destroy() to the end of smp.c main() * New patch that prints cpu id on interrupt errors * New patch that reworks cpu start in the smp library (needed for lpar) * nullp is now an array Janosch Frank (9): s390x: smp: Cleanup smp.c s390x: smp: Only use smp_cpu_setup once s390x: Add cpu id to interrupt error prints s390x: smp: Rework cpu start and active tracking s390x: smp: Wait for cpu setup to finish s390x: smp: Loop if secondary cpu returns into cpu setup again s390x: smp: Remove unneeded cpu loops s390x: smp: Test all CRs on initial reset s390x: smp: Dirty fpc before initial reset test lib/s390x/interrupt.c | 20 +++++------ lib/s390x/smp.c | 52 ++++++++++++++++----------- s390x/cstart64.S | 4 +++ s390x/smp.c | 82 +++++++++++++++++++++++++++---------------- 4 files changed, 97 insertions(+), 61 deletions(-) -- 2.20.1