From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60564) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z6sk4-0008Oe-T6 for qemu-devel@nongnu.org; Sun, 21 Jun 2015 23:49:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z6sk3-00005O-Og for qemu-devel@nongnu.org; Sun, 21 Jun 2015 23:49:52 -0400 Date: Mon, 22 Jun 2015 13:28:51 +1000 From: David Gibson Message-ID: <20150622032851.GP13352@voom.redhat.com> References: <1434627456-13745-1-git-send-email-aik@ozlabs.ru> <1434627456-13745-6-git-send-email-aik@ozlabs.ru> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="SBikYMzjhZGK9d4p" Content-Disposition: inline In-Reply-To: <1434627456-13745-6-git-send-email-aik@ozlabs.ru> Subject: Re: [Qemu-devel] [PATCH qemu v8 05/14] spapr_iommu: Move table allocation to helpers 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, Gavin Shan , Alexander Graf --SBikYMzjhZGK9d4p Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jun 18, 2015 at 09:37:27PM +1000, Alexey Kardashevskiy wrote: > At the moment presence of vfio-pci devices on a bus affect the way > the guest view table is allocated. If there is no vfio-pci on a PHB > and the host kernel supports KVM acceleration of H_PUT_TCE, a table > is allocated in KVM. However, if there is vfio-pci and we do yet not > KVM acceleration for these, the table has to be allocated by > the userspace. At the moment the table is allocated once at boot time > but next patches will reallocate it. >=20 > This moves kvmppc_create_spapr_tce/g_malloc0 and their counterparts > to helpers. >=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 --SBikYMzjhZGK9d4p Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJVh4DzAAoJEGw4ysog2bOSMYoP/RBEfvrOJ3uIa2jupIptXcB3 ctpdrM8VKSbKmQkV3ZkWxdszlRpiIuX4opIeJJDfue4vn/IaukD2J5MAnQTUy46z 0RTKWuckK8JZW2WNd0t0eu23c+gu6KuwWrYeeQ49lu1CVqX+l25how50rxcEPkxc PHJo2sjhmHxoZP6F7fyavrgM+oo/sSzy9nKQBQA0A2OdYMotVf9Z/xZB/uHHUrkF Hi28piA5VpHWE9D+KP+ssYvDrMMX8E3eU6Flr5zpzfGn8/aGzOugdODV2pdttnUk iuYwsyyJcxumGAYqZqujrc78CV7IpbwfyMzRONAL8wfpHYA4TaiRSQUkLNwPrif+ Gu6/GnmQSr28HFt/4Na566/6jXhvc4KxMWpOiKmP6J2NjOW+oUJHgWV7d8BLNXIB X56cU1i9RrbFiO5H4pqn0ARm3uyCXoOoVDTB3SkcErMOVzOQ10UU/dp4AxGqgSEF qaZzVV14T/R5VCAtxfy9BaF47k4wxcQhnOgDGM/SJevrzdkjXHb4mrSl11cb/NpW DZ5/5P6UQ6h7LtbK5OfPCNV5KHJLHaBelLrRGGdmlyWdxwHC1oKaDPLCIm8DzTrR 7O41ce3iATwJ03XS8ArqSQhkuEngB9v8A9M4LX3t6HwHe+oaoheNctx0t3jjcmN7 pxkomyO2OchSaseOgBQ4 =17V5 -----END PGP SIGNATURE----- --SBikYMzjhZGK9d4p--