android_kernel_samsung_msm8976/arch/powerpc/platforms
Linas Vepstas 650f7b3b2f [POWERPC] pseries: Handle null iommu dma-window property correctly
Some versions of pSeries firmware fail to set up a
dma-window property for PCI slots that are unoccupied.
As a result, the loop searching for this propery, in
pci_dma_dev_setup_pSeriesLP(), can run to the end, resulting
in a NULL pointer dereference later in the routine. This
patch prevents the crash, and prints a warning message.

This is theoretically a rare error, as it occurs on what
is hopefully just beta levels of firmware. But just in case
this firmware escapes into the wild, this patch will avoid
the crash.

Signed-off-by: Linas Vepstas <linas@austin.ibm.com>
2007-05-02 20:04:29 +10:00
..
4xx [POWERPC] Re-organize Kconfig code for 4xx in arch/powerpc 2007-04-24 21:32:00 +10:00
8xx Merge branch 'kconfig' of master.kernel.org:/pub/scm/linux/kernel/git/galak/powerpc into for-2.6.22 2007-04-24 08:42:11 +10:00
52xx [POWERPC] Avoid putting cpu node twice 2007-04-30 11:05:48 +10:00
82xx Merge branch 'kconfig' of master.kernel.org:/pub/scm/linux/kernel/git/galak/powerpc into for-2.6.22 2007-04-24 08:42:11 +10:00
83xx Merge branch 'kconfig' of master.kernel.org:/pub/scm/linux/kernel/git/galak/powerpc into for-2.6.22 2007-04-24 08:42:11 +10:00
85xx Merge branch 'kconfig' of master.kernel.org:/pub/scm/linux/kernel/git/galak/powerpc into for-2.6.22 2007-04-24 08:42:11 +10:00
86xx Merge branch 'kconfig' of master.kernel.org:/pub/scm/linux/kernel/git/galak/powerpc into for-2.6.22 2007-04-24 08:42:11 +10:00
apus powerpc: Merge enough to start building in arch/powerpc. 2005-09-26 16:04:21 +10:00
cell [POWERPC] Spinlock initializer cleanup 2007-04-30 11:02:06 +10:00
celleb [POWERPC] Generic check_legacy_ioport 2007-04-27 21:14:30 +10:00
chrp [POWERPC] Remove old interface find_devices 2007-04-24 22:09:02 +10:00
embedded6xx [POWERPC] kernel: Remove loops_per_jiffy code for 7448HPC2 platforms 2007-05-02 16:42:16 +10:00
iseries [POWERPC] Generic check_legacy_ioport 2007-04-27 21:14:30 +10:00
maple [POWERPC] Rename MPIC_BROKEN_U3 to MPIC_U3_HT_IRQS 2007-04-24 22:06:58 +10:00
pasemi [POWERPC] get_property cleanups 2007-04-30 11:02:05 +10:00
powermac [POWERPC] powermac: Fix G5-cpufreq for cpu on/offline 2007-05-02 20:04:28 +10:00
prep [POWERPC] Split several platforms into their respective Kconfig file 2007-03-22 10:07:32 -05:00
ps3 [POWERPC] Spinlock initializer cleanup 2007-04-30 11:02:06 +10:00
pseries [POWERPC] pseries: Handle null iommu dma-window property correctly 2007-05-02 20:04:29 +10:00
Kconfig [POWERPC] Clean up cpufreq Kconfig dependencies 2007-04-30 11:02:03 +10:00
Makefile [POWERPC] Restore 'proper' link order in platform 2007-02-13 15:35:53 +11:00