summaryrefslogtreecommitdiff
path: root/arch/powerpc/platforms/85xx/p1022_ds.c
diff options
context:
space:
mode:
authorMilton Miller <miltonm@bga.com>2011-05-11 16:24:59 +0400
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2011-05-19 11:25:28 +0400
commitc85667802bb5093c4054f8a887a90dd0acf82d3e (patch)
tree739b32c42b8a83e142cd64b48d6723ac666ddc22 /arch/powerpc/platforms/85xx/p1022_ds.c
parent2573f6842201a00f139237e4b42ab16711b582af (diff)
downloadlinux-c85667802bb5093c4054f8a887a90dd0acf82d3e.tar.xz
powerpc/pseries/iommu: Find windows after kexec during boot
Move the discovery of windows previously setup from when the pci driver calls set_dma_mask to an arch_initcall. When kexecing into a kernel with dynamic dma windows allocated, we need to find the windows early so that memory hot remove will be able to delete the tces mapping the to be removed memory and memory hotplug add will map the new memory into the window. We should not wait for the driver to be loaded and the device to be probed. The iommu init hooks are before kmalloc is setup, so defer to arch_initcall. Signed-off-by: Milton Miller <miltonm@bga.com> Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/platforms/85xx/p1022_ds.c')
0 files changed, 0 insertions, 0 deletions