powerpc/pseries: Add support for dynamic dma windows
authorNishanth Aravamudan <nacc@us.ibm.com>
Thu, 10 Feb 2011 09:10:47 +0000 (09:10 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 4 Mar 2011 07:19:05 +0000 (18:19 +1100)
commit4e8b0cf46b2570331a4c4157d53906883c442a22
tree125c42222f64709d6073dc9d6ea3b9bc03624a27
parent6edc642ebee87dfceb97050d51c5ab1fe539a597
powerpc/pseries: Add support for dynamic dma windows

If firmware allows us to map all of a partition's memory for DMA on a
particular bridge, create a 1:1 mapping of that memory. Add hooks for
dealing with hotplug events. Dynamic DMA windows can use larger than the
default page size, and we use the largest one possible.

Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Documentation/kernel-parameters.txt
arch/powerpc/platforms/pseries/iommu.c