From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:37581) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ghZnf-0004L9-BQ for qemu-devel@nongnu.org; Thu, 10 Jan 2019 07:51:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ghZne-0007pM-Kb for qemu-devel@nongnu.org; Thu, 10 Jan 2019 07:51:07 -0500 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:48892) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ghZne-0007oX-9z for qemu-devel@nongnu.org; Thu, 10 Jan 2019 07:51:06 -0500 Received: from pps.filterd (m0098393.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id x0ACmxMm078343 for ; Thu, 10 Jan 2019 07:51:04 -0500 Received: from e06smtp07.uk.ibm.com (e06smtp07.uk.ibm.com [195.75.94.103]) by mx0a-001b2d01.pphosted.com with ESMTP id 2px48366d4-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 10 Jan 2019 07:51:04 -0500 Received: from localhost by e06smtp07.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 10 Jan 2019 12:51:01 -0000 Reply-To: pmorel@linux.ibm.com References: <1546968819-8166-1-git-send-email-pmorel@linux.ibm.com> <20190109135919.3ebb7d03.cohuck@redhat.com> From: Pierre Morel Date: Thu, 10 Jan 2019 13:50:56 +0100 MIME-Version: 1.0 In-Reply-To: <20190109135919.3ebb7d03.cohuck@redhat.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Message-Id: Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH] s390x/pci: Set the iommu region size as guest wants List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Cornelia Huck Cc: walling@linux.ibm.com, borntraeger@de.ibm.com, rth@twiddle.net, david@redhat.com, qemu-s390x@nongnu.org, qemu-devel@nongnu.org, pasic@linux.ibm.com, thuth@redhat.com On 09/01/2019 13:59, Cornelia Huck wrote: > On Tue, 8 Jan 2019 18:33:39 +0100 > Pierre Morel wrote: >=20 >> The size of the accessible iommu memory region in the guest >> is calculated by the gues as: >=20 > s/gues/guest/ >=20 >> (PCI Address Limit) - (PCI Base Address) + 1. >> >> Let's use this value to limit the IOMMU region size. >=20 > These are values provided by the guest in the mpcifc call, aren't they? > Let's mention that in the patch description, so it is more obvious :) >=20 OK thanks. Regards, Pierre --=20 Pierre Morel Linux/KVM/QEMU in B=C3=B6blingen - Germany