Received: by 2002:a25:86ce:0:0:0:0:0 with SMTP id y14csp1601646ybm; Thu, 23 May 2019 03:57:57 -0700 (PDT) X-Google-Smtp-Source: APXvYqz/+JAXm6ySSYW1Y2jwKhN7GKN+YhAL2DYOfobpMKIBIueSSHk5zCrYc0j/88Su/d0Zo6j+ X-Received: by 2002:a63:8a4a:: with SMTP id y71mr96342926pgd.270.1558609077792; Thu, 23 May 2019 03:57:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558609077; cv=none; d=google.com; s=arc-20160816; b=Kea23dz1BCnBR1e3+V9uW6/+g00WZhsmvIt5bsWj6wH5+/nqZ/HZSlV52KmJ7yXOHG 9aH379pW+ns2P1rCtM2Pl4LKhWB5ENdiNlS8h9VNW6uhfqzwIQY1rODQZ0iCsF8qXxnZ BxjK/l/xfBrj9V/EdJjE3V7pLMheaX0rx6IC7/LYeeEArPSark0r6ucBnPN9kfDJczGc uPbApU7BRkqoR9NtOTdp8rK6uYHDLviW8zv70gmGL7dC2Ya9p6mHm6F0OYk7aLH02sli NvwnuMKU6YOZJJyGUDQEvxFns3ickL54bCH5gmc6dpXTLEH5EtbFF2j9y0kuC7sR0kRO nSIw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=PkT/eW1+GFlHAZYZQM5EU0YZUovdPsL8Vnb185if+XA=; b=WaX1LnGmyU7liWDaF7oEcHmYxIMPyAACGNqnWosqCahtvHpXs8dxbvy0D+C8dLFoiB BYIGx8UlN5Bg5u72NUsHm4K+8J7FstGXzCOtA3QtdvNtOe9sgWBAOEFD/Qg/Qf1Nsfbz wXa962REQvFS0jcLMAWqEdpxmZNQCTFT3bvIh4LwDQr0MmtlB+PtevcI7U6qWrgfVzn2 tykRv6Zj4ipKe0YziQZOFkXFIRU7HF7gb3viY55btUKXdIkPRc7S8Tnoi0KOkZ+YMIKf a2k1BVwqFRq3zoWH1ghpyiVPa1mp4g80EWdIZII9NdSUm6+6Dnzcf2+a2RNcmguYxDZ+ blMw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 9si27109013pfc.90.2019.05.23.03.57.41; Thu, 23 May 2019 03:57:57 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730080AbfEWK4a (ORCPT + 99 others); Thu, 23 May 2019 06:56:30 -0400 Received: from mx1.redhat.com ([209.132.183.28]:37440 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726310AbfEWK4a (ORCPT ); Thu, 23 May 2019 06:56:30 -0400 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 1331410F6F; Thu, 23 May 2019 10:56:30 +0000 (UTC) Received: from kamzik.brq.redhat.com (unknown [10.43.2.160]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 9B3B35D9C3; Thu, 23 May 2019 10:56:25 +0000 (UTC) Date: Thu, 23 May 2019 12:56:23 +0200 From: Andrew Jones To: Thomas Huth Cc: Christian Borntraeger , Janosch Frank , kvm@vger.kernel.org, Paolo Bonzini , Radim =?utf-8?B?S3LEjW3DocWZ?= , Shuah Khan , David Hildenbrand , Cornelia Huck , linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-s390@vger.kernel.org Subject: Re: [RFC PATCH 4/4] KVM: selftests: Add the sync_regs test for s390x Message-ID: <20190523105623.3zlnbleniovobwzk@kamzik.brq.redhat.com> References: <20190516111253.4494-1-thuth@redhat.com> <20190516111253.4494-5-thuth@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190516111253.4494-5-thuth@redhat.com> User-Agent: NeoMutt/20180716 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.39]); Thu, 23 May 2019 10:56:30 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, May 16, 2019 at 01:12:53PM +0200, Thomas Huth wrote: > The test is an adaption of the same test for x86. Note that there > are some differences in the way how s390x deals with the kvm_valid_regs > in struct kvm_run, so some of the tests had to be removed. Also this > test is not using the ucall() interface on s390x yet (which would need > some work to be usable on s390x), so it simply drops out of the VM with > a diag 0x501 breakpoint instead. > > Signed-off-by: Thomas Huth > --- > MAINTAINERS | 1 + > tools/testing/selftests/kvm/Makefile | 2 + > .../selftests/kvm/s390x/sync_regs_test.c | 151 ++++++++++++++++++ > 3 files changed, 154 insertions(+) > create mode 100644 tools/testing/selftests/kvm/s390x/sync_regs_test.c > > diff --git a/MAINTAINERS b/MAINTAINERS > index 514d1f88ee26..68f76ee9e821 100644 > --- a/MAINTAINERS > +++ b/MAINTAINERS > @@ -8645,6 +8645,7 @@ F: arch/s390/include/asm/gmap.h > F: arch/s390/include/asm/kvm* > F: arch/s390/kvm/ > F: arch/s390/mm/gmap.c > +F: tools/testing/selftests/kvm/s390x/ > F: tools/testing/selftests/kvm/*/s390x/ Do we need these lines added? We have tools/testing/selftests/kvm/ in the common KVM section already. If we do want to specify them specifically, then I guess we need x86 and arm MAINTAINERS updates as well. Thanks, drew