diff options
author | Nishanth Aravamudan <nacc@linux.vnet.ibm.com> | 2014-01-10 15:10:41 -0800 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2014-01-15 13:46:45 +1100 |
commit | 97e7dc523acaa335d44517b06ef5609b3ee65c6a (patch) | |
tree | 927bb7eede2a0031a5bb34e88cbe6654e71c85d2 /arch/powerpc/kernel | |
parent | ae69e1eddc646ff8dc1d5439005d1f82c33f9ae7 (diff) | |
download | kernel_replicant_linux-97e7dc523acaa335d44517b06ef5609b3ee65c6a.tar.gz kernel_replicant_linux-97e7dc523acaa335d44517b06ef5609b3ee65c6a.tar.bz2 kernel_replicant_linux-97e7dc523acaa335d44517b06ef5609b3ee65c6a.zip |
Revert "pseries/iommu: Remove DDW on kexec"
After reverting 25ebc45b93452d0bc60271f178237123c4b26808
("powerpc/pseries/iommu: remove default window before attempting DDW
manipulation"), we no longer remove the base window in enable_ddw.
Therefore, we no longer need to reset the DMA window state in
find_existing_ddw_windows(). We can instead go back to what was done
before, which simply reuses the previous configuration, if any. Further,
this removes the final caller of the reset-pe-dma-windows call, so
remove those functions.
This fixes an EEH on kdump with the ipr driver. The EEH occurs, because
the initcall removes the DDW configuration (64-bit DMA window), but
doesn't ensure the ops are via the IOMMU -- a DMA operation occurs
during probe (still investigating this) and we EEH.
This reverts commit 14b6f00f8a4fdec5ccd45a0710284de301a61628.
Signed-off-by: Nishanth Aravamudan <nacc@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/kernel')
0 files changed, 0 insertions, 0 deletions