android_kernel_xiaomi_sm8350/arch/powerpc/platforms
Michael Ellerman 3a4295d101 [POWERPC] Fix cell IOMMU code to cope with empty dma-ranges and non-PCI devices
The cell IOMMU code to parse the dma-ranges properties, used for the fixed
mapping, was broken in two ways for some devices.

Firstly it didn't cope with empty dma-ranges properties. An empty property
implies no translation so can be safely skipped.

The code also wrongly assumed it would be looking at PCI devices, and hard
coded the number of address and size cells.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2008-03-20 10:15:10 +11:00
..
8xx
40x Merge branch 'virtex-for-2.6.25' of git://git.secretlab.ca/git/linux-2.6-virtex into for-2.6.25 2008-02-06 21:06:45 -06:00
44x [POWERPC] 44x: Fix Kconfig formatting 2008-02-15 22:05:03 -06:00
52xx [POWERPC] Add export for mpc52xx_set_psc_clkdiv 2008-02-23 22:51:28 -07:00
82xx
83xx [POWERPC] 83xx: Add local bus device nodes to MPC837xMDS device trees. 2008-03-07 08:42:22 -06:00
85xx
86xx
512x [POWERPC] Remove unused CONFIG_WANT_DEVICE_TREE 2008-02-14 22:11:03 +11:00
cell [POWERPC] Fix cell IOMMU code to cope with empty dma-ranges and non-PCI devices 2008-03-20 10:15:10 +11:00
celleb [POWERPC] move celleb DABRX definitions 2008-03-03 08:03:14 +01:00
chrp
embedded6xx [POWERPC] Remove unused CONFIG_WANT_DEVICE_TREE 2008-02-14 22:11:03 +11:00
iseries [POWERPC] free_property() must not be __init 2008-02-14 22:11:02 +11:00
maple
pasemi [POWERPC] pasemi: Register i2c devices at boot 2008-02-21 21:08:35 +11:00
powermac [POWERPC] Fix arch/powerpc/platforms/powermac/pic.c when !CONFIG_ADB_PMU 2008-03-13 10:09:27 +11:00
prep
ps3
pseries [POWERPC] Fix warning in pseries/power.c 2008-02-20 13:33:37 +11:00
fsl_uli1575.c
Kconfig [POWERPC] 83xx: Make 83xx perfmon support selectable 2008-03-10 09:31:43 -05:00
Kconfig.cputype [POWERPC] 83xx: Make 83xx perfmon support selectable 2008-03-10 09:31:43 -05:00
Makefile [POWERPC] mpc512x: Basic platform support 2008-02-06 14:03:10 -07:00