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=-17.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=ham 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 CF690C07E99 for ; Mon, 5 Jul 2021 10:34:09 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id B7DD7613F3 for ; Mon, 5 Jul 2021 10:34:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230511AbhGEKgp (ORCPT ); Mon, 5 Jul 2021 06:36:45 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:37950 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230405AbhGEKgp (ORCPT ); Mon, 5 Jul 2021 06:36:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1625481248; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=MLsg6ynw9oeo8+beNTRKOhPo0W4oRUWZoQkESCG4mkc=; b=STB8+J9YyLJVX29zfzjQp63Gv3NFp1rmm7a1D3oSTEPM2M5Q6pnJZg0GoowpeyfglUJwrG 9hf5vUF2vfAMfcbpiEgr8eyy3Y/A02v3/nezzEryvtpSZEV2dwnNGHeNTefl+72BIzwZtc A8vNUtkH1ijlXp6l8tFjjwBW1JsC0JA= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-534-t-5dCkwNNXW0csR0zYahGg-1; Mon, 05 Jul 2021 06:34:07 -0400 X-MC-Unique: t-5dCkwNNXW0csR0zYahGg-1 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 4BEC69126B; Mon, 5 Jul 2021 10:34:06 +0000 (UTC) Received: from localhost (ovpn-112-39.ams2.redhat.com [10.36.112.39]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 34CF35C1A1; Mon, 5 Jul 2021 10:34:02 +0000 (UTC) From: Cornelia Huck To: Christian Borntraeger , KVM Cc: Christian Borntraeger , Janosch Frank , David Hildenbrand , linux-s390 , Thomas Huth , Claudio Imbrenda , Paolo Bonzini Subject: Re: [PATCH/RFC] KVM: selftests: introduce P44V64 for z196 and EC12 In-Reply-To: <20210701153853.33063-1-borntraeger@de.ibm.com> Organization: Red Hat GmbH References: <20210701153853.33063-1-borntraeger@de.ibm.com> User-Agent: Notmuch/0.32.1 (https://notmuchmail.org) Date: Mon, 05 Jul 2021 12:34:00 +0200 Message-ID: <87o8bhhwx3.fsf@redhat.com> MIME-Version: 1.0 Content-Type: text/plain X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 Precedence: bulk List-ID: X-Mailing-List: linux-s390@vger.kernel.org On Thu, Jul 01 2021, Christian Borntraeger wrote: > Older machines likes z196 and zEC12 do only support 44 bits of physical s/likes/like/ > addresses. Make this the default and check via IBC if we are on a later > machine. We then add P47V64 as an additional model. > > Signed-off-by: Christian Borntraeger > Fixes: 1bc603af73dd ("KVM: selftests: introduce P47V64 for s390x") > --- > tools/testing/selftests/kvm/include/kvm_util.h | 3 ++- > tools/testing/selftests/kvm/lib/guest_modes.c | 16 ++++++++++++++++ > tools/testing/selftests/kvm/lib/kvm_util.c | 5 +++++ > 3 files changed, 23 insertions(+), 1 deletion(-) > Reviewed-by: Cornelia Huck