android_kernel_xiaomi_sm8350/arch/powerpc
Jake Moilanen 569975591c [POWERPC] DMA 4GB boundary protection
There are many adapters which cannot handle DMAing across any 4 GB
boundary.  For instance, the latest Emulex adapters.

This normally is not an issue as firmware gives dma-windows under
4gigs.  However, some of the new System-P boxes have dma-windows above
4gigs, and this present a problem.

During initialization of the IOMMU tables, the last entry at each 4GB
boundary is marked as used.  Thus no mappings can cross the boundary.
If a table ends at a 4GB boundary, the entry is not marked as used.

A boot option to remove this 4GB protection is given w/ protect4gb=off.
This exposes the potential issue for driver and hardware development
purposes.

Signed-off-by: Jake Moilanen <moilanen@austin.ibm.com>
Acked-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2007-04-13 03:55:13 +10:00
..
boot [POWERPC] 85xx: Add initial MPC8544 DS platform files. 2007-03-29 19:39:27 -05:00
configs Merge branch 'linux-2.6' into for-2.6.22 2007-04-13 03:50:03 +10:00
kernel [POWERPC] DMA 4GB boundary protection 2007-04-13 03:55:13 +10:00
lib [POWERPC] Make ppc64_defconfig without CONFIG_PPC_PSERIES build 2007-03-09 15:03:24 +11:00
math-emu [POWERPC] ppc math-emu needs -fno-builtin-fabs for math.c and fabs.c 2006-09-26 15:24:35 +10:00
mm Merge branch 'linux-2.6' into for-2.6.22 2007-04-13 03:50:03 +10:00
oprofile [POWERPC] cell: pm_rtas_activat_signals routine cleanup 2007-02-13 22:03:07 +01:00
platforms Merge branch 'linux-2.6' into for-2.6.22 2007-04-13 03:50:03 +10:00
sysdev Merge branch 'linux-2.6' into for-2.6.22 2007-04-13 03:50:03 +10:00
xmon [POWERPC] Allow xmon to build without CONFIG_DEBUG_BUGVERBOSE 2007-03-09 15:03:26 +11:00
.gitignore [POWERPC] Add files build to .gitignore 2006-12-04 20:41:29 +11:00
Kconfig [POWERPC] 86xx/85xx: Move 8641 PCI-Express to arch/powerpc/sysdev/fsl_pcie.c. 2007-03-26 17:03:25 -05:00
Kconfig.debug [POWERPC] Removed config options that we don't support in embedded6xx 2007-03-22 10:06:40 -05:00
Makefile [POWERPC] Create a "wrapper" script and use it in arch/powerpc/boot 2006-09-28 14:30:02 +10:00