From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cornelia Huck Subject: Re: [PATCH] KVM: s390: Fix sdnxo setting for nested guests Date: Tue, 11 Apr 2017 13:55:21 +0200 Message-ID: <20170411135521.2bc5ee53.cornelia.huck@de.ibm.com> References: <70b26028-8076-c7ff-be17-b99946a20642@redhat.com> <1491568065-7491-1-git-send-email-borntraeger@de.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Paolo Bonzini , Radim =?UTF-8?B?S3LEjW3DocWZ?= , KVM , linux-s390 , David Hildenbrand To: Christian Borntraeger Return-path: Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:39827 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752345AbdDKLza (ORCPT ); Tue, 11 Apr 2017 07:55:30 -0400 Received: from pps.filterd (m0098396.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.20/8.16.0.20) with SMTP id v3BBrdMV016603 for ; Tue, 11 Apr 2017 07:55:29 -0400 Received: from e06smtp13.uk.ibm.com (e06smtp13.uk.ibm.com [195.75.94.109]) by mx0a-001b2d01.pphosted.com with ESMTP id 29rf05wuwv-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Tue, 11 Apr 2017 07:55:29 -0400 Received: from localhost by e06smtp13.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 11 Apr 2017 12:55:27 +0100 In-Reply-To: <1491568065-7491-1-git-send-email-borntraeger@de.ibm.com> Sender: kvm-owner@vger.kernel.org List-ID: On Fri, 7 Apr 2017 14:27:45 +0200 Christian Borntraeger wrote: > If the guest does not use the host register management, but it uses > the sdnx area, we must fill in a proper sdnxo value (address of sdnx > and the sdnxc). > > Reported-by: David Hildenbrand > Signed-off-by: Christian Borntraeger > --- > arch/s390/kvm/vsie.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/s390/kvm/vsie.c b/arch/s390/kvm/vsie.c > index 2fafc2b..025b1f2 100644 > --- a/arch/s390/kvm/vsie.c > +++ b/arch/s390/kvm/vsie.c > @@ -627,7 +627,7 @@ static int pin_blocks(struct kvm_vcpu *vcpu, struct vsie_page *vsie_page) > rc = set_validity_icpt(scb_s, 0x10b0U); > if (rc) > goto unpin; > - scb_s->sdnxo = hpa; > + scb_s->sdnxo = hpa | sdnxc; > } > return 0; > unpin: Acked-by: Cornelia Huck