From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:6438 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2392223AbfHBNjk (ORCPT ); Fri, 2 Aug 2019 09:39:40 -0400 Received: from pps.filterd (m0098410.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x72DbE6i111119 for ; Fri, 2 Aug 2019 09:39:39 -0400 Received: from e06smtp02.uk.ibm.com (e06smtp02.uk.ibm.com [195.75.94.98]) by mx0a-001b2d01.pphosted.com with ESMTP id 2u4mb2vyaf-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Fri, 02 Aug 2019 09:39:39 -0400 Received: from localhost by e06smtp02.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 2 Aug 2019 14:39:37 +0100 Subject: Re: [PATCH v3 0/3] KVM: selftests: Enable ucall and dirty_log_test on s390x References: <20190731151525.17156-1-thuth@redhat.com> From: Christian Borntraeger Date: Fri, 2 Aug 2019 15:39:31 +0200 MIME-Version: 1.0 In-Reply-To: <20190731151525.17156-1-thuth@redhat.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Message-Id: <551b42ae-78a1-e55a-e4b8-bb5cc3a8eb8b@de.ibm.com> Sender: linux-s390-owner@vger.kernel.org List-ID: To: Thomas Huth , kvm@vger.kernel.org Cc: Janosch Frank , linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, linux-s390@vger.kernel.org, David Hildenbrand , Paolo Bonzini , Peter Xu , Andrew Jones On 31.07.19 17:15, Thomas Huth wrote: > Implement the ucall() interface on s390x to be able to use the > dirty_log_test KVM selftest on s390x, too. > > v3: > - Fix compilation issue on aarch64 (thanks to Andrew for testing it!) > - Added Reviewed-bys > > v2: > - Split up ucall.c into architecture specific files > - Removed some #ifdef __s390x__ in the dirty_log patch > > Thomas Huth (3): > KVM: selftests: Split ucall.c into architecture specific files > KVM: selftests: Implement ucall() for s390x > KVM: selftests: Enable dirty_log_test on s390x > > tools/testing/selftests/kvm/Makefile | 9 +- > tools/testing/selftests/kvm/dirty_log_test.c | 61 ++++++- > .../testing/selftests/kvm/include/kvm_util.h | 8 +- > .../testing/selftests/kvm/lib/aarch64/ucall.c | 112 +++++++++++++ > tools/testing/selftests/kvm/lib/s390x/ucall.c | 56 +++++++ > tools/testing/selftests/kvm/lib/ucall.c | 157 ------------------ > .../testing/selftests/kvm/lib/x86_64/ucall.c | 56 +++++++ > .../selftests/kvm/s390x/sync_regs_test.c | 6 +- > 8 files changed, 287 insertions(+), 178 deletions(-) > create mode 100644 tools/testing/selftests/kvm/lib/aarch64/ucall.c > create mode 100644 tools/testing/selftests/kvm/lib/s390x/ucall.c > delete mode 100644 tools/testing/selftests/kvm/lib/ucall.c > create mode 100644 tools/testing/selftests/kvm/lib/x86_64/ucall.c > Paolo, I guess you do not mind if I carry patch 1 also via the s390x tree? Thanks, all applied