Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S966120AbbD2D0L (ORCPT ); Tue, 28 Apr 2015 23:26:11 -0400 Received: from ozlabs.org ([103.22.144.67]:50339 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965327AbbD2D0F (ORCPT ); Tue, 28 Apr 2015 23:26:05 -0400 Date: Wed, 29 Apr 2015 12:49:59 +1000 From: David Gibson To: Alexey Kardashevskiy Cc: linuxppc-dev@lists.ozlabs.org, Benjamin Herrenschmidt , Paul Mackerras , Alex Williamson , Gavin Shan , linux-kernel@vger.kernel.org Subject: Re: [PATCH kernel v9 12/32] powerpc/spapr: vfio: Switch from iommu_table to new iommu_table_group Message-ID: <20150429024959.GI32589@voom.redhat.com> References: <1429964096-11524-1-git-send-email-aik@ozlabs.ru> <1429964096-11524-13-git-send-email-aik@ozlabs.ru> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="EdRE1UL8d3mMOE6m" Content-Disposition: inline In-Reply-To: <1429964096-11524-13-git-send-email-aik@ozlabs.ru> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2528 Lines: 64 --EdRE1UL8d3mMOE6m Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Apr 25, 2015 at 10:14:36PM +1000, Alexey Kardashevskiy wrote: > Modern IBM POWERPC systems support multiple (currently two) TCE tables > per IOMMU group (a.k.a. PE). This adds a iommu_table_group container > for TCE tables. Right now just one table is supported. >=20 > For P5IOC2 and IODA, iommu_table_group is embedded into PE struct > (pnv_ioda_pe and pnv_phb) and does not require iommu_free_table(), only . > iommu_reset_table(). >=20 > For pSeries, this replaces multiple calls of kzalloc_node() with a new > iommu_pseries_group_alloc() helper and stores the table group struct > pointer into the pci_dn struct. For release, a iommu_table_group_free() > helper is added. >=20 > This should cause no behavioural change. >=20 > Signed-off-by: Alexey Kardashevskiy > [aw: for the vfio related changes] > Acked-by: Alex Williamson I'm not particularly fond of the "table_group" name, but I can't really think of a better name for now. So, 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 --EdRE1UL8d3mMOE6m Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJVQEbXAAoJEGw4ysog2bOS2akP/iFfQm6Qod3xpH1CnJuHScai ZiYxrO9tXPxql5VYk57D7vd6j9bfgjsKsypSSuWv0/5GPGYmIVFerZCwYmPKFgmP bWF+4rX4t/BXIxmIIsTPb228nm+GPyr96+oJNEwoIPPBOXaY+NrO4sOM3Mk9wF+F yq0Ujba5yR2sLrQrDLHZsKqbxDwKPe3EDc824q9aGMO4eFQfmtpAI+ZsHsjTKBen VTaPM8yflqYpL9J2pH/nK9dNkAHHqZnIWuKPcf03uZTEJmQRFpnto2Q2sHbDxvG7 qT0dFqNJmi1nxh4T3V6k45WANElV7Gc/c033A7sWiNfjV+PxE0NEyEedl96Rhd5R 8uKhiz7Khtpb9jRLETfLGODj76GCDvBiYeio9/EyiarWAu/eSuTBVrODxexcDl+p sajZ7jJ0QRgZfzzwMiCVzC/LNEzYBoUR+r4JY2ny4Ci03iDD8gQcIba7wLLXZ6TJ 3l21gNKSuhhB1L0WPu8qVK5u9lUubz/IfF0lWqGEyj0JlR7kLUuRyM1GZWLG8atY oBW+R7eWoASiWL171uITcJZ9zLWxMswnA3SOymK2CD98veWTcbFaG5Uye6B8PNdi e4SxtOlYcyB3ddjSPIkINgFH3IRKQHW5uo7pJUAhZLLPz1n+j6icnpubS/jI2c6P 4k2HLIth7dJQf8ovd0El =nBpN -----END PGP SIGNATURE----- --EdRE1UL8d3mMOE6m-- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/