linux/arch/arm
Lennert Buytenhek 23759dc643 [ARM] 3439/2: xsc3: add I/O coherency support
Patch from Lennert Buytenhek

This patch adds support for the I/O coherent cache available on the
xsc3.  The approach is to provide a simple API to determine whether the
chipset supports coherency by calling arch_is_coherent() and then
setting the appropriate system memory PTE and PMD bits.  In addition,
we call this API on dma_alloc_coherent() and dma_map_single() calls.
A generic version exists that will compile out all the coherency-related
code that is not needed on the majority of ARM systems.

Note that we do not check for coherency in the dma_alloc_writecombine()
function as that still requires a special PTE setting.  We also don't
touch dma_mmap_coherent() as that is a special ARM-only API that is by
definition only used on non-coherent system.

Signed-off-by: Deepak Saxena <dsaxena@plexity.net>
Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2006-04-02 00:07:39 +01:00
..
boot Merge nommu tree 2006-03-28 22:05:10 +01:00
common [PATCH] LED: add sharp charger status LED trigger 2006-03-31 12:18:57 -08:00
configs [ARM] 3387/1: ixp23xx: add defconfig 2006-03-28 21:02:26 +01:00
kernel [ARM] 3439/2: xsc3: add I/O coherency support 2006-04-02 00:07:39 +01:00
lib Merge master.kernel.org:/home/rmk/linux-2.6-arm 2006-03-28 13:53:03 -08:00
mach-aaec2000 [ARM] 3260/1: remove phys_ram from struct machine_desc (part 2) 2006-01-13 20:51:52 +00:00
mach-at91rm9200 [ARM] 3386/1: AT91RM9200 Clock update 2006-03-22 20:14:14 +00:00
mach-clps711x [ARM] 3304/1: Add help descriptions to ARCH config items that don't have one 2006-02-08 21:09:05 +00:00
mach-clps7500 [ARM] 3260/1: remove phys_ram from struct machine_desc (part 2) 2006-01-13 20:51:52 +00:00
mach-ebsa110 [ARM] 3260/1: remove phys_ram from struct machine_desc (part 2) 2006-01-13 20:51:52 +00:00
mach-ep93xx [SERIAL] Provide Cirrus EP93xx AMBA PL010 serial support. 2006-03-26 23:16:39 +01:00
mach-footbridge [PATCH] RTC: Remove RTC UIP synchronization on ARM 2006-03-28 09:16:00 -08:00
mach-h720x [ARM] 3260/1: remove phys_ram from struct machine_desc (part 2) 2006-01-13 20:51:52 +00:00
mach-imx [SERIAL] Remove unnecessary serial.h include 2006-02-05 11:11:20 +00:00
mach-integrator Merge master.kernel.org:/home/rmk/linux-2.6-serial 2006-03-28 13:52:37 -08:00
mach-iop3xx [ARM] 3391/1: use PLAT8250_DEV_PLATFORM{,1} for platform device id instead of 0/1 2006-03-23 12:59:08 +00:00
mach-ixp4xx [ARM] Convert kmalloc+memset to kzalloc 2006-03-21 22:06:17 +00:00
mach-ixp23xx [ARM] 3439/2: xsc3: add I/O coherency support 2006-04-02 00:07:39 +01:00
mach-ixp2000 [ARM] 3383/3: ixp2000: ixdp2x01 platform serial conversion 2006-03-25 23:03:13 +00:00
mach-l7200 [ARM] 3260/1: remove phys_ram from struct machine_desc (part 2) 2006-01-13 20:51:52 +00:00
mach-lh7a40x [ARM] Remove asm/arch/irq.h 2006-03-21 22:05:46 +00:00
mach-omap1 [PATCH] Notifier chain update: API changes 2006-03-27 08:44:50 -08:00
mach-omap2 [ARM] 3391/1: use PLAT8250_DEV_PLATFORM{,1} for platform device id instead of 0/1 2006-03-23 12:59:08 +00:00
mach-pxa [PATCH] backlight: corgi_bl: Generalise to support other Sharp SL hardware 2006-03-31 12:19:00 -08:00
mach-realview [ARM] 3367/1: CLCD mode no longer supported on the RealView boards 2006-03-16 14:10:20 +00:00
mach-rpc [ARM] 3260/1: remove phys_ram from struct machine_desc (part 2) 2006-01-13 20:51:52 +00:00
mach-s3c2410 [ARM] 3440/1: [S3C2410] make SMDK2410 and SMDK2440 similarities common 2006-04-01 18:33:42 +01:00
mach-sa1100 [ARM] 3436/1: 2.6.16-git18: collie_defconfig broken 2006-04-01 12:13:31 +01:00
mach-shark [ARM] 3260/1: remove phys_ram from struct machine_desc (part 2) 2006-01-13 20:51:52 +00:00
mach-versatile [ARM] Adapt vic.c to allow for multiple VICs in a system. 2006-03-21 22:05:52 +00:00
mm [ARM] 3439/2: xsc3: add I/O coherency support 2006-04-02 00:07:39 +01:00
nwfpe [ARM] 3111/2: old ABI compat: adjust NWFPE to be operational within an EABI kernel 2006-01-14 16:36:50 +00:00
oprofile [ARM] Use kcalloc to allocate counter_config array rather than kmalloc 2006-03-21 23:30:02 +00:00
plat-omap [ARM] remove duplicate #includes 2006-02-15 10:13:02 +00:00
tools [ARM] Update mach-types 2006-02-22 09:33:23 +00:00
vfp [ARM] 3398/1: Fix the VFP registers loading/storing base address 2006-03-25 21:58:00 +00:00
Kconfig Merge master.kernel.org:/home/rmk/linux-2.6-arm 2006-03-31 21:33:07 -08:00
Kconfig-nommu [ARM] nommu: fixups for the exception vectors 2006-03-27 15:18:50 +01:00
Kconfig.debug
Makefile Merge nommu tree 2006-03-28 22:05:10 +01:00