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

No differences found