From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:61244 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727061AbfH2MPW (ORCPT ); Thu, 29 Aug 2019 08:15:22 -0400 Received: from pps.filterd (m0098416.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x7TC77w5030985 for ; Thu, 29 Aug 2019 08:15:21 -0400 Received: from e06smtp03.uk.ibm.com (e06smtp03.uk.ibm.com [195.75.94.99]) by mx0b-001b2d01.pphosted.com with ESMTP id 2upeaq0kv8-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 29 Aug 2019 08:15:20 -0400 Received: from localhost by e06smtp03.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 29 Aug 2019 13:15:18 +0100 From: Janosch Frank Subject: [kvm-unit-tests PATCH 0/6] s390x: Add multiboot and smp Date: Thu, 29 Aug 2019 14:14:53 +0200 Message-Id: <20190829121459.1708-1-frankja@linux.ibm.com> Sender: linux-s390-owner@vger.kernel.org List-ID: To: kvm@vger.kernel.org Cc: linux-s390@vger.kernel.org, david@redhat.com, thuth@redhat.com Cross testing emulated instructions has in the past brought up some issues on all available IBM Z hypervisors. So let's upstream the last part of multiboot: sclp interrupts and line mode console. SMP tests are a great way to excercise external interruptions, cpu resets and sigp. The smp library is always initialized and provides very rudimentary CPU management for now. Janosch Frank (6): s390x: Use interrupts in SCLP and add locking s390x: Add linemode console s390x: Add linemode buffer to fix newline on every print s390x: Add initial smp code s390x: Prepare for external calls s390x: SMP test lib/s390x/asm/arch_def.h | 13 ++ lib/s390x/asm/interrupt.h | 5 + lib/s390x/asm/sigp.h | 29 +++- lib/s390x/interrupt.c | 28 +++- lib/s390x/io.c | 5 +- lib/s390x/sclp-console.c | 243 +++++++++++++++++++++++++++++++--- lib/s390x/sclp.c | 54 +++++++- lib/s390x/sclp.h | 59 ++++++++- lib/s390x/smp.c | 272 ++++++++++++++++++++++++++++++++++++++ lib/s390x/smp.h | 51 +++++++ s390x/Makefile | 2 + s390x/cstart64.S | 7 + s390x/smp.c | 242 +++++++++++++++++++++++++++++++++ 13 files changed, 983 insertions(+), 27 deletions(-) create mode 100644 lib/s390x/smp.c create mode 100644 lib/s390x/smp.h create mode 100644 s390x/smp.c -- 2.17.0