Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp1804890imm; Wed, 16 May 2018 03:24:15 -0700 (PDT) X-Google-Smtp-Source: AB8JxZoczCVx6AFzMD6eHJimT5gxp45ignWgLsYB1ZXieFCerVfa7mEpGVIJ3cMUOsVdo88mdb93 X-Received: by 2002:a63:6dc6:: with SMTP id i189-v6mr252148pgc.202.1526466255196; Wed, 16 May 2018 03:24:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526466255; cv=none; d=google.com; s=arc-20160816; b=XJzkxHvQVRyRLHjlxMZag8jzKVGfhFO8yELxZj2lh5uLNdE9qjsdtAcA/CzocVDtJZ fkrmxlpOzdlqKrX7qcnA3Cjm7mZgvwmOg/P0CLAi3asGuITNpTsga4rVpk5dwmmhJwvf MtbwMOmxIFgaAT8+b/9xRjwFhgqocOc/9nuq+LNDvyl8EboCvYsiSL6VmtLyhy7sMHC4 lseXbvVXnzqa0rlmuACbNe2YMr5EQmEpk+26VPIkarOWUGzVwEs/eRY/Wrs0U1x5FFMV rQUVfuDOG9u+uKnrSgaRGUKuImUn4f+tD9M1EvekYR3DmV9ONkYo4/xMkfSG4TTmXtJx M4sA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date:arc-authentication-results; bh=JjxSxMKUBsVqTlxazZUK7qQ6Xf06CEz07/5TH2y0bFI=; b=ewOjyRGnkOWRthegrwznSeCItGanuFl6Xf5+XtUNdVi+1ORp6dlOpc0P6zeWtPqKVc cJ/wccowYzhytkKK7IXjitc8hKDCz+xK9B+IoJyVNzaUIuGbf4SsQ5cGPcIj6q/yLvMv 4TW/ARUPF84PZdRFm+aGLrhjGGC5nlbu9oKzMUiKA4mrdpNYi2K5zg/SSiavdS3m6mcg OQAerPxLzVaKEzIlgIObPZ7oeL6RwnilZ7tUvsYi4bGQrjZ7qfEcbliM72xwCHTRd6NU T7ScwDJBGvkrEnSxXNB31B+6Pd7QO/vp88TcbY04u01prJORrlevayQEw8jbeRSRDc/z vBRA== 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 q137-v6si2392958pfc.68.2018.05.16.03.24.01; Wed, 16 May 2018 03:24:15 -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 S1753261AbeEPKVy (ORCPT + 99 others); Wed, 16 May 2018 06:21:54 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:43658 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752701AbeEPKVZ (ORCPT ); Wed, 16 May 2018 06:21:25 -0400 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 74B6E401EF07; Wed, 16 May 2018 10:21:24 +0000 (UTC) Received: from gondolin (ovpn-117-216.ams2.redhat.com [10.36.117.216]) by smtp.corp.redhat.com (Postfix) with ESMTP id 0DCCD10EE6CD; Wed, 16 May 2018 10:21:18 +0000 (UTC) Date: Wed, 16 May 2018 12:21:16 +0200 From: Cornelia Huck To: Tony Krowiak Cc: linux-s390@vger.kernel.org, linux-kernel@vger.kernel.org, kvm@vger.kernel.org, freude@de.ibm.com, schwidefsky@de.ibm.com, heiko.carstens@de.ibm.com, borntraeger@de.ibm.com, kwankhede@nvidia.com, bjsdjshi@linux.vnet.ibm.com, pbonzini@redhat.com, alex.williamson@redhat.com, pmorel@linux.vnet.ibm.com, alifm@linux.vnet.ibm.com, mjrosato@linux.vnet.ibm.com, jjherne@linux.vnet.ibm.com, thuth@redhat.com, pasic@linux.vnet.ibm.com, berrange@redhat.com, fiuczy@linux.vnet.ibm.com, buendgen@de.ibm.com Subject: Re: [PATCH v5 01/13] KVM: s390: Interface to test whether APXA installed Message-ID: <20180516122116.4c3b10a1.cohuck@redhat.com> In-Reply-To: <1525705912-12815-2-git-send-email-akrowiak@linux.vnet.ibm.com> References: <1525705912-12815-1-git-send-email-akrowiak@linux.vnet.ibm.com> <1525705912-12815-2-git-send-email-akrowiak@linux.vnet.ibm.com> Organization: Red Hat GmbH MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.78 on 10.11.54.3 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.5]); Wed, 16 May 2018 10:21:24 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.5]); Wed, 16 May 2018 10:21:24 +0000 (UTC) for IP:'10.11.54.3' DOMAIN:'int-mx03.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'cohuck@redhat.com' RCPT:'' Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 7 May 2018 11:11:40 -0400 Tony Krowiak wrote: > Relocates an existing static function that tests whether > the AP extended addressing facility (APXA) is installed on > the linux host. The primary reason for relocating this > function is because a new compilation unit (arch/s390/kvm/kvm-ap.c) > is being created to contain all of the interfaces and logic > for configuring an AP matrix for a KVM guest. Some of its > functions will also need to determine whether APXA is installed, > so, let's go ahead and relocate this static function as a > public interface in kvm-ap.c. > > Notes: > ---- > 1. The interface to determine whether APXA is installed on the linux > host the information returned from the AP Query Configuration > Information (QCI) function. This function will not be available > if the AP instructions are not installed on the linux host, so a check > will be included to verify that. > > 2. Currently, the AP bus interfaces accessing the AP instructions will > not be accessible if CONFIG_ZCRYPT=n, so the relevant code will be > temporarily contained in the new arch/s390/kvm/kvm-ap.c file until > the patch(es) to statically build the required AP bus interfaces are > available. Any ETA for those interfaces? Would be nice if we could avoid introducing temporary interfaces (but I'm certainly not opposing this patch). > > Signed-off-by: Tony Krowiak > --- > MAINTAINERS | 1 + > arch/s390/include/asm/kvm-ap.h | 60 +++++++++++++++++++++++++++++ > arch/s390/kvm/Makefile | 2 +- > arch/s390/kvm/kvm-ap.c | 83 ++++++++++++++++++++++++++++++++++++++++ > arch/s390/kvm/kvm-s390.c | 42 +------------------- > 5 files changed, 147 insertions(+), 41 deletions(-) > create mode 100644 arch/s390/include/asm/kvm-ap.h > create mode 100644 arch/s390/kvm/kvm-ap.c > > diff --git a/MAINTAINERS b/MAINTAINERS > index eab763f..224e97b 100644 > --- a/MAINTAINERS > +++ b/MAINTAINERS > @@ -7792,6 +7792,7 @@ M: Christian Borntraeger > M: Janosch Frank > R: David Hildenbrand > R: Cornelia Huck > +R: Tony Krowiak Don't you want to drop the 'vnet' from your address, as the vnet-less form seems to be the one that will continue working from what I've heard? > L: linux-s390@vger.kernel.org > W: http://www.ibm.com/developerworks/linux/linux390/ > T: git git://git.kernel.org/pub/scm/linux/kernel/git/kvms390/linux.git No objection against this patch, although I still hope it will not be needed :)