From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:12802 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728916AbgAUNnS (ORCPT ); Tue, 21 Jan 2020 08:43:18 -0500 Received: from pps.filterd (m0098417.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 00LDggP6034482 for ; Tue, 21 Jan 2020 08:43:16 -0500 Received: from e06smtp04.uk.ibm.com (e06smtp04.uk.ibm.com [195.75.94.100]) by mx0a-001b2d01.pphosted.com with ESMTP id 2xmgbqa3p8-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Tue, 21 Jan 2020 08:43:16 -0500 Received: from localhost by e06smtp04.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 21 Jan 2020 13:43:14 -0000 From: Janosch Frank Subject: [kvm-unit-tests PATCH v4 0/9] s390x: smp: Improve smp code and reset checks Date: Tue, 21 Jan 2020 08:42:45 -0500 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <20200121134254.4570-1-frankja@linux.ibm.com> Sender: linux-s390-owner@vger.kernel.org List-ID: To: kvm@vger.kernel.org Cc: thuth@redhat.com, borntraeger@de.ibm.com, linux-s390@vger.kernel.org, david@redhat.com, cohuck@redhat.com 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 V4: * Introduce set_flag() for manipulating testflag * Cleanup of stray braces and mb()s 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 | 53 ++++++++++++++---------- s390x/cstart64.S | 4 ++ s390x/smp.c | 93 ++++++++++++++++++++++++++++--------------- 4 files changed, 106 insertions(+), 64 deletions(-) -- 2.20.1