From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:13332 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726980AbgA3MiM (ORCPT ); Thu, 30 Jan 2020 07:38:12 -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 00UCc0JR079591 for ; Thu, 30 Jan 2020 07:38:12 -0500 Received: from e06smtp05.uk.ibm.com (e06smtp05.uk.ibm.com [195.75.94.101]) by mx0a-001b2d01.pphosted.com with ESMTP id 2xu6ssa5cf-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 30 Jan 2020 07:38:09 -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 From: Janosch Frank Subject: [PATCH v9 0/6] KVM: s390: Add new reset vcpu API Date: Thu, 30 Jan 2020 07:34:28 -0500 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <20200130123434.68129-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, david@redhat.com, cohuck@redhat.com, linux-s390@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