linux_dsm_epyc7002/arch/powerpc/platforms
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
..
8xx powerpc/irq: Stop exporting irq_map 2011-05-04 15:02:15 +10:00
40x of/flattree: Add of_flat_dt_match() helper function 2011-01-01 13:03:25 -07:00
44x powerpc/smp: smp_ops->kick_cpu() should be able to fail 2011-04-20 17:01:18 +10:00
52xx powerpc/irq: Stop exporting irq_map 2011-05-04 15:02:15 +10:00
82xx powerpc/irq: Stop exporting irq_map 2011-05-04 15:02:15 +10:00
83xx Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc 2011-03-18 06:31:43 -07:00
85xx powerpc/irq: Stop exporting irq_map 2011-05-04 15:02:15 +10:00
86xx powerpc/irq: Stop exporting irq_map 2011-05-04 15:02:15 +10:00
512x powerpc/irq: Stop exporting irq_map 2011-05-04 15:02:15 +10:00
amigaone of/address: Clean up function declarations 2010-08-01 01:42:42 -06:00
cell powerpc: Convert old cpumask API into new one 2011-05-04 15:22:59 +10:00
chrp powerpc/smp: smp_ops->kick_cpu() should be able to fail 2011-04-20 17:01:18 +10:00
embedded6xx powerpc/irq: Stop exporting irq_map 2011-05-04 15:02:15 +10:00
iseries powerpc/irq: Stop exporting irq_map 2011-05-04 15:02:15 +10:00
maple powerpc: Convert to new irq_* function names 2011-03-29 14:48:12 +02:00
pasemi Fix common misspellings 2011-03-31 11:26:23 -03:00
powermac powerpc/irq: Stop exporting irq_map 2011-05-04 15:02:15 +10:00
prep powerpc/kconfig: Kill PPC_MULTIPLATFORM 2009-03-11 17:11:35 +11:00
ps3 powerpc: Remove ioremap_flags 2011-05-19 14:30:43 +10:00
pseries pseries/iommu: Restore iommu table pointer when restoring iommu ops 2011-05-19 14:30:43 +10:00
wsp powerpc: Add WSP platform 2011-05-06 13:32:35 +10:00
fsl_uli1575.c PCI: add pci_bus_for_each_resource(), remove direct bus->resource[] refs 2010-02-23 09:43:31 -08:00
Kconfig powerpc: Add WSP platform 2011-05-06 13:32:35 +10:00
Kconfig.cputype powerpc: Add Initiate Coprocessor Store Word (icswx) support 2011-05-04 15:19:26 +10:00
Makefile powerpc: Add WSP platform 2011-05-06 13:32:35 +10:00