From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cornelia Huck Subject: Re: [PATCH/RFC 6/9] KVM: s390: Guest's memory access functions get access registers Date: Mon, 16 Mar 2015 14:12:49 +0100 Message-ID: <20150316141249.68ddd889.cornelia.huck@de.ibm.com> References: <1426495905-17531-1-git-send-email-borntraeger@de.ibm.com> <1426495905-17531-7-git-send-email-borntraeger@de.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: KVM , Paolo Bonzini , Marcelo Tosatti , Alexander Graf , Jens Freimann , Alexander Yarygin To: Christian Borntraeger Return-path: Received: from e06smtp11.uk.ibm.com ([195.75.94.107]:36535 "EHLO e06smtp11.uk.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751221AbbCPNM5 (ORCPT ); Mon, 16 Mar 2015 09:12:57 -0400 Received: from /spool/local by e06smtp11.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 16 Mar 2015 13:12:55 -0000 Received: from b06cxnps3075.portsmouth.uk.ibm.com (d06relay10.portsmouth.uk.ibm.com [9.149.109.195]) by d06dlp03.portsmouth.uk.ibm.com (Postfix) with ESMTP id DDA611B0804B for ; Mon, 16 Mar 2015 13:13:14 +0000 (GMT) Received: from d06av03.portsmouth.uk.ibm.com (d06av03.portsmouth.uk.ibm.com [9.149.37.213]) by b06cxnps3075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id t2GDCqiQ66060542 for ; Mon, 16 Mar 2015 13:12:52 GMT Received: from d06av03.portsmouth.uk.ibm.com (localhost [127.0.0.1]) by d06av03.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id t2GDCoLP007228 for ; Mon, 16 Mar 2015 07:12:51 -0600 In-Reply-To: <1426495905-17531-7-git-send-email-borntraeger@de.ibm.com> Sender: kvm-owner@vger.kernel.org List-ID: On Mon, 16 Mar 2015 09:51:42 +0100 Christian Borntraeger wrote: > From: Alexander Yarygin > > In access register mode, the write_guest() read_guest() and other > functions will invoke the access register translation, which > requires an ar, designated by one of the instruction fields. > > Signed-off-by: Alexander Yarygin > Reviewed-by: Thomas Huth > Signed-off-by: Christian Borntraeger > --- > arch/s390/kvm/diag.c | 4 +-- > arch/s390/kvm/gaccess.c | 8 ++--- > arch/s390/kvm/gaccess.h | 16 +++++----- > arch/s390/kvm/intercept.c | 4 +-- > arch/s390/kvm/kvm-s390.c | 10 +++--- > arch/s390/kvm/kvm-s390.h | 26 +++++++++++++--- > arch/s390/kvm/priv.c | 79 ++++++++++++++++++++++++++++------------------- > arch/s390/kvm/sigp.c | 4 +-- > 8 files changed, 93 insertions(+), 58 deletions(-) Acked-by: Cornelia Huck