From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932244AbaEPOtW (ORCPT ); Fri, 16 May 2014 10:49:22 -0400 Received: from e06smtp12.uk.ibm.com ([195.75.94.108]:49371 "EHLO e06smtp12.uk.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756447AbaEPOtV (ORCPT ); Fri, 16 May 2014 10:49:21 -0400 Date: Fri, 16 May 2014 16:49:11 +0200 From: Michael Mueller To: Christian Borntraeger Cc: qemu-devel@nongnu.org, kvm@vger.kernel.org, linux-s390@vger.kernel.org, linux-kernel@vger.kernel.org, Cornelia Huck , Alexander Graf , Gleb Natapov , Paolo Bonzini , Richard Henderson , Andreas Faerber , "Jason J. Herne" Subject: Re: [PATCH v1 RFC 0/6] KVM: s390: cpu model implementation Message-ID: <20140516164911.1e62c844@bee> In-Reply-To: <5375F739.2090903@de.ibm.com> References: <1399993114-15333-1-git-send-email-mimu@linux.vnet.ibm.com> <5375F739.2090903@de.ibm.com> Organization: IBM X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.13; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 14051614-8372-0000-0000-000009B70A25 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 16 May 2014 13:32:09 +0200 Christian Borntraeger wrote: > On 13/05/14 16:58, Michael Mueller wrote: > > The proposed patch set implements S390 cpu model support in kvm. A cpu > > model is defined by a triple comprizing the cpu type , the cpu facility > > set and instruction blocking control. A consumer requests a feasible > > combination of that that triple before vcpu creation. All subsequently > > created vcpu's will use this cpu configuration. > > > > Michael Mueller (6): > > s390/sclp: add sclp_get_ibc function > > KVM: s390: split SIE state guest prefix field > > KVM: s390: use facilities and cpu_id per KVM > > KVM: s390: add ibc api > > KVM: s390: initial implementation of soft facilities > > KVM: s390: add cpu model support > > > > arch/s390/include/asm/kvm_host.h | 13 +- > > arch/s390/include/asm/sclp.h | 1 + > > arch/s390/include/uapi/asm/kvm.h | 23 ++++ > > arch/s390/kvm/Makefile | 2 +- > > arch/s390/kvm/diag.c | 2 +- > > arch/s390/kvm/gaccess.c | 4 +- > > arch/s390/kvm/gaccess.h | 8 +- > > arch/s390/kvm/ibc.c | 29 +++++ > > arch/s390/kvm/kvm-s390.c | 263 +++++++++++++++++++++++++++++++++------ > > arch/s390/kvm/kvm-s390.h | 43 ++++++- > > arch/s390/kvm/priv.c | 16 ++- > > arch/s390/kvm/softfac.c | 38 ++++++ > > drivers/s390/char/sclp_early.c | 12 +- > > 13 files changed, 397 insertions(+), 57 deletions(-) > > create mode 100644 arch/s390/kvm/ibc.c > > create mode 100644 arch/s390/kvm/softfac.c > > > > I will add patch 1 and 2 to the next KVM: s390: pull request as there > does not seem to be potential for discussion / interface changes. > Everything else looks ok, but I want to wait if additional feedback > about the overall design comes in. Perfect... > > Christian