linux/arch/powerpc
Jia Hongtao 688ba1dbee powerpc/swiotlb: Enable at early stage and disable if not necessary
Remove the dependency on PCI initialization for SWIOTLB initialization.
So that PCI can be initialized at proper time.

SWIOTLB is partly determined by PCI inbound/outbound map which is assigned
in PCI initialization. But swiotlb_init() should be done at the stage of
mem_init() which is much earlier than PCI initialization. So we reserve the
memory for SWIOTLB first and free it if not necessary.

All boards are converted to fit this change.

Signed-off-by: Jia Hongtao <B38951@freescale.com>
Signed-off-by: Li Yang <leoli@freescale.com>
Acked-by: Tony Breeds <tony@bakeyournoodle.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
2012-09-12 14:57:09 -05:00
..
boot powerpc/85xx: introduce support for the Freescale / iVeia P1022RDK 2012-09-12 14:57:07 -05:00
configs powerpc/85xx: introduce support for the Freescale / iVeia P1022RDK 2012-09-12 14:57:07 -05:00
include/asm powerpc/swiotlb: Enable at early stage and disable if not necessary 2012-09-12 14:57:09 -05:00
kernel powerpc/swiotlb: Enable at early stage and disable if not necessary 2012-09-12 14:57:09 -05:00
kvm Merge branch 'merge' into next 2012-09-07 09:48:59 +10:00
lib powerpc: Don't use __put_user() in patch_instruction 2012-09-05 16:05:23 +10:00
math-emu powerpc/math_emu/efp: Look for errata handler when type mismatches 2011-10-06 23:36:47 -05:00
mm powerpc/swiotlb: Enable at early stage and disable if not necessary 2012-09-12 14:57:09 -05:00
net powerpc: Start using ___PPC_RA/B/S/T where necessary 2012-07-10 19:18:25 +10:00
oprofile powerpc/oprofile: Fix marked events support on Power7+ not set. 2012-09-07 11:10:54 +10:00
perf Merge branch 'merge' into next 2012-09-07 09:48:59 +10:00
platforms powerpc/swiotlb: Enable at early stage and disable if not necessary 2012-09-12 14:57:09 -05:00
sysdev powerpc/swiotlb: Enable at early stage and disable if not necessary 2012-09-12 14:57:09 -05:00
xmon powerpc: Rework set_dabr so it can take a DABRX value as well 2012-09-10 09:59:10 +10:00
Kconfig powerpc/85xx: add HOTPLUG_CPU support 2012-09-12 14:57:08 -05:00
Kconfig.debug powerpc: IOMMU fault injection 2012-07-10 19:18:59 +10:00
Makefile crypto: nx - move nx build to driver/crypto Makefile 2012-06-27 14:42:00 +08:00
relocs_check.pl powerpc: Process dynamic relocations for kernel 2011-12-20 10:21:08 -05:00