Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1160982

Re: [PATCH kernel v12 27/34] powerpc/powernv: Implement multilevel TCE tables

From David Gibson <david@gibson.dropbear.id.au>
Newsgroups linux.kernel
Subject Re: [PATCH kernel v12 27/34] powerpc/powernv: Implement multilevel TCE tables
Date 2015-06-09 07:00 +0200
Message-ID <pzjNM-4t5-21@gated-at.bofh.it> (permalink)
References <pxTsl-ql-5@gated-at.bofh.it> <pxTC2-Ci-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

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.
> 
> 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.
> 
> This adds multi-level TCE tables support to
> pnv_pci_ioda2_table_alloc_pages() and pnv_pci_ioda2_table_free_pages()
> helpers.
> 
> Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>

Reviewed-by: David Gibson <david@gibson.dropbear.id.au>

-- 
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

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH kernel v12 27/34] powerpc/powernv: Implement multilevel  TCE tables David Gibson <david@gibson.dropbear.id.au> - 2015-06-09 07:00 +0200

csiph-web