kernel-ark/arch/powerpc
Nishanth Aravamudan eb0dd411bd pseries/iommu: Restore iommu table pointer when restoring iommu ops
When we swtich to direct dma ops, we set the dma data union to have the
dma offset.  When we switch back to iommu table ops because of a later
dma_set_mask, we need to restore the iommu table pointer. Without this
change, crashes have been observed on kexec where (for reasons still
being investigated) we fall back to a 32-bit dma mask on a particular
device and then panic because the table pointer is not valid.

The easiset way to find this value is to call
pci_dma_dev_setup_pSeriesLP which will search up the pci tree until it
finds the node with the table.

Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com>
Cc: Milton Miller <miltonm@bga.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Anton Blanchard <anton@samba.org>
Cc: linuxppc-dev@lists.ozlabs.org
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2011-05-19 14:30:43 +10:00
..
boot powerpc: Use the deterministic mode of ar 2011-05-19 14:30:40 +10:00
configs powerpc/pseries: Enable iSCSI support for a number of cards 2011-05-19 14:30:41 +10:00
include/asm powerpc: Remove ioremap_flags 2011-05-19 14:30:43 +10:00
kernel powerpc: Improve scheduling of system call entry instructions 2011-05-19 14:30:42 +10:00
kvm powerpc: Always use SPRN_SPRG_HSCRATCH0 when running in HV mode 2011-04-20 11:03:23 +10:00
lib powerpc: Remove ioremap_flags 2011-05-19 14:30:43 +10:00
math-emu powerpc/85xx: Fix SPE float to integer conversion failure 2011-03-15 13:48:15 -05:00
mm powerpc: Remove ioremap_flags 2011-05-19 14:30:43 +10:00
oprofile Fix common misspellings 2011-03-31 11:26:23 -03:00
platforms pseries/iommu: Restore iommu table pointer when restoring iommu ops 2011-05-19 14:30:43 +10:00
sysdev powerpc: Remove ioremap_flags 2011-05-19 14:30:43 +10:00
xmon powerpc: Convert old cpumask API into new one 2011-05-04 15:22:59 +10:00
Kconfig powerpc/boot: Add an ePAPR compliant boot wrapper 2011-04-20 16:59:21 +10:00
Kconfig.debug powerpc: Add early debug for WSP platforms 2011-05-06 13:32:41 +10:00
Makefile powerpc: Fix typo in uImage target 2010-08-24 15:26:32 +10:00
relocs_check.pl powerpc: Check for unsupported relocs when using CONFIG_RELOCATABLE 2009-09-24 15:31:40 +10:00