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=-3.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=no 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 5EF35C33C9E for ; Thu, 30 Jan 2020 12:34:50 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 3969C2083E for ; Thu, 30 Jan 2020 12:34:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727112AbgA3Met (ORCPT ); Thu, 30 Jan 2020 07:34:49 -0500 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:49184 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726873AbgA3Mes (ORCPT ); Thu, 30 Jan 2020 07:34:48 -0500 Received: from pps.filterd (m0098419.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 00UCYQMU044821 for ; Thu, 30 Jan 2020 07:34:47 -0500 Received: from e06smtp05.uk.ibm.com (e06smtp05.uk.ibm.com [195.75.94.101]) by mx0b-001b2d01.pphosted.com with ESMTP id 2xu5q68jr5-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 30 Jan 2020 07:34:47 -0500 Received: from localhost by e06smtp05.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 30 Jan 2020 12:34:45 -0000 Received: from b06cxnps3074.portsmouth.uk.ibm.com (9.149.109.194) by e06smtp05.uk.ibm.com (192.168.101.135) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Thu, 30 Jan 2020 12:34:43 -0000 Received: from d06av21.portsmouth.uk.ibm.com (d06av21.portsmouth.uk.ibm.com [9.149.105.232]) by b06cxnps3074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 00UCYg7l60227718 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 30 Jan 2020 12:34:42 GMT Received: from d06av21.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 56A945204F; Thu, 30 Jan 2020 12:34:42 +0000 (GMT) Received: from localhost.localdomain (unknown [9.152.224.44]) by d06av21.portsmouth.uk.ibm.com (Postfix) with ESMTP id B80AB5204E; Thu, 30 Jan 2020 12:34:40 +0000 (GMT) From: Janosch Frank To: kvm@vger.kernel.org Cc: thuth@redhat.com, borntraeger@de.ibm.com, david@redhat.com, cohuck@redhat.com, linux-s390@vger.kernel.org Subject: [PATCH v9 0/6] KVM: s390: Add new reset vcpu API Date: Thu, 30 Jan 2020 07:34:28 -0500 X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TM-AS-GCONF: 00 x-cbid: 20013012-0020-0000-0000-000003A57967 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 20013012-0021-0000-0000-000021FD2E83 Message-Id: <20200130123434.68129-1-frankja@linux.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.138,18.0.572 definitions=2020-01-30_03:2020-01-28,2020-01-30 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 impostorscore=0 lowpriorityscore=0 adultscore=0 priorityscore=1501 mlxlogscore=809 clxscore=1015 mlxscore=0 bulkscore=0 spamscore=0 suspectscore=1 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-1911200001 definitions=main-2001300092 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org Let's implement the remaining resets, namely the normal and clear reset to improve architectural compliance. While we're at it, let's also start testing the new API. Those tests are not yet complete, but will be extended in the future. Christian Borntraeger (1): KVM: s390: do not clobber registers during guest reset/store status Janosch Frank (4): KVM: s390: Cleanup initial cpu reset KVM: s390: Add new reset vcpu API selftests: KVM: Add fpu and one reg set/get library functions selftests: KVM: s390x: Add reset tests Pierre Morel (1): selftests: KVM: testing the local IRQs resets Documentation/virt/kvm/api.txt | 43 ++++ arch/s390/include/asm/kvm_host.h | 5 + arch/s390/kvm/kvm-s390.c | 86 ++++++-- include/uapi/linux/kvm.h | 5 + tools/testing/selftests/kvm/Makefile | 1 + .../testing/selftests/kvm/include/kvm_util.h | 6 + tools/testing/selftests/kvm/lib/kvm_util.c | 48 +++++ tools/testing/selftests/kvm/s390x/resets.c | 203 ++++++++++++++++++ 8 files changed, 379 insertions(+), 18 deletions(-) create mode 100644 tools/testing/selftests/kvm/s390x/resets.c -- 2.20.1