From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33006) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XPtD1-0000gS-VQ for qemu-devel@nongnu.org; Fri, 05 Sep 2014 09:05:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XPtCt-0001Ih-5G for qemu-devel@nongnu.org; Fri, 05 Sep 2014 09:05:47 -0400 Date: Fri, 5 Sep 2014 22:40:21 +1000 From: David Gibson Message-ID: <20140905124021.GD29795@voom.redhat.com> References: <1409307142-2600-1-git-send-email-aik@ozlabs.ru> <1409307142-2600-4-git-send-email-aik@ozlabs.ru> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="iVCmgExH7+hIHJ1A" Content-Disposition: inline In-Reply-To: <1409307142-2600-4-git-send-email-aik@ozlabs.ru> Subject: Re: [Qemu-devel] [RFC PATCH v3 03/18] spapr_iommu: Disable in-kernel IOMMU tables for >4GB windows List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexey Kardashevskiy Cc: Alex Williamson , qemu-ppc@nongnu.org, qemu-devel@nongnu.org, Alexander Graf --iVCmgExH7+hIHJ1A Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Aug 29, 2014 at 08:12:07PM +1000, Alexey Kardashevskiy wrote: > The existing KVM_CREATE_SPAPR_TCE ioctl only support 4G windows max as > the window size parameter to the kernel ioctl() is 32-bit so > there's no way of expressing a TCE window > 4GB. >=20 > We are going to add huge DMA windows support so this will create small > window and unexpectedly fail later. >=20 > This disables KVM_CREATE_SPAPR_TCE for windows bigger that 4GB. Since > those windows are normally mapped at the boot time, there will be no > performance impact. >=20 > Signed-off-by: Alexey Kardashevskiy Reviewed-by: David Gibson --=20 David Gibson | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_ | _way_ _around_! http://www.ozlabs.org/~dgibson --iVCmgExH7+hIHJ1A Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJUCa81AAoJEGw4ysog2bOSK2oP/jzg7bzMQBpCQQaxUBtyrSKO /qs6qbdO/fMvyWNTaSn2vDYqIpFANDrv+Ke82sKlFsGwldOLo+Qs1/A3R3hmYgRL x2fnK2yS1/TaAN4qt3cgqX/mQ2GQs3+uX0yrr2Ln+u+XWw/CagdYZQvsN1Rm5WxK Uy6/6gSI9g3V3P1stnEHI40LrCGK/zkaMWj74Jk4vGX4uAxfNYLKsZ+iSIvwQt9R BIOpOsJZgA1PVBX2rEgWMcLCgCiWXKZn1eNAnspe414isEz6iXW1upndUsSbxCkk Gwqf/JCrAQlIakjrGP3qcGnjC2ztrThtV8fOYTVZUWh6e4Kx9+BDaYEkstaNaLP4 9e4dy+ekT3P/Yp7z3e6zrQBT8TlhfGkh85vO/OryZzz67fwwKhv71uA83q4HR0uf RZcaaSZMYVt7ciC0svdbp0MNg1BpGmZfHk6aCcupeDX229xVkSbBXPIBNPwa4eyg 4Ct12KdaRsd9BFAkpoLMTriF4CZDbHJ4PjQPjphstWkZSuSv0S78Y0k/MAiguNK0 iEIMdHWkPislOZ8TOYh66VGKFfRGErc96t+s3X/NuBB4aEJdjz1Djrah6wZjAy31 q+wv2+cUftCc2KKTuq1tbdPp/J/AO9p5zTn1gu/wfWSK1TxhDQ6z7o/wOSrcBYqV MyaNZd/U/AtFbADwGBNx =+Aee -----END PGP SIGNATURE----- --iVCmgExH7+hIHJ1A--