Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932272AbbFIE5p (ORCPT ); Tue, 9 Jun 2015 00:57:45 -0400 Received: from ozlabs.org ([103.22.144.67]:38937 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753328AbbFIE5B (ORCPT ); Tue, 9 Jun 2015 00:57:01 -0400 Date: Tue, 9 Jun 2015 13:57:16 +1000 From: David Gibson To: Alexey Kardashevskiy Cc: linuxppc-dev@lists.ozlabs.org, Alex Williamson , Benjamin Herrenschmidt , Gavin Shan , Paul Mackerras , Wei Yang , linux-kernel@vger.kernel.org Subject: Re: [PATCH kernel v12 27/34] powerpc/powernv: Implement multilevel TCE tables Message-ID: <20150609035716.GB11000@voom.redhat.com> References: <1433486126-23551-1-git-send-email-aik@ozlabs.ru> <1433486126-23551-28-git-send-email-aik@ozlabs.ru> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="neYutvxvOLaeuPCA" Content-Disposition: inline In-Reply-To: <1433486126-23551-28-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: 2176 Lines: 56 --neYutvxvOLaeuPCA Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jun 05, 2015 at 04:35:19PM +1000, Alexey Kardashevskiy wrote: > TCE tables might get too big in case of 4K IOMMU pages and DDW enabled > on huge guests (hundreds of GB of RAM) so the kernel might be unable to > allocate contiguous chunk of physical memory to store the TCE table. >=20 > To address this, POWER8 CPU (actually, IODA2) supports multi-level > TCE tables, up to 5 levels which splits the table into a tree of > smaller subtables. >=20 > This adds multi-level TCE tables support to > pnv_pci_ioda2_table_alloc_pages() and pnv_pci_ioda2_table_free_pages() > 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 --neYutvxvOLaeuPCA Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJVdmQbAAoJEGw4ysog2bOSXaMQALxIjlsnDVIuDlLd/zMpp8NL kQmoKViBtTrMn1bCZ8W1MQtFrvBnLeq8VHMmBOeVbWJkbtDHMjOHULpZsEWkfkv4 8DUI++dSZgsuCUrCtiikCa9MWrNpCGgWfwvZIqbxxcwFDH7hBWeciGNXORqyTjh6 lnK5/Vky1nak4g1sKu4f6F3pArYs9Y5t6NcPQEkvsXABA7wPbuXgqaHDdFS5vDHM nruT5ZxW+YItK0tWQgudVjAtFvum+syFnZCF1EcpCfhz0qeQOfdqI/+zJwg98UEo TOyV1oVDGMO7sbjT0l6cSPuWWz/PknjX/GfOV4CeaVlpliogpUhCouLzpv+Mdrhk R19ZqGhNnS9V0UL/xuCjjdLZtmQLz91NLgWXcrEkXBGlRT4+mG7PInO/gw4dh8cf PufnkxVrVL6Pir9w8+dz4mNf/IWchGD7ny/UcA95wOZ5mZIePUlDI76ZuVmSj6Dd d6biXQdz8KFWFMvoEVsK+9FLLrqOITpjYAmQfFS1KkXjjeZnTHZy03foBBXBhXPI j8nV1Pb3y9dcZo+TpWo5TnqpsWCuSf81RB8fu/xQL5JHEIsM+g3YfrGj9v/2Wkyp t6fLINERyKebtWivgksfHY3zX6TBiST4ys+PjQJEhOgcYwP/wcghVCfLlkv5asMv R7qIW9keGcNaD5yFkHlH =1fus -----END PGP SIGNATURE----- --neYutvxvOLaeuPCA-- -- 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/