OpenCloudOS-Kernel/arch/arm/mach-ks8695
Nicolas Pitre 58edb51572 [ARM] make page_to_dma() highmem aware
If a machine class has a custom __virt_to_bus() implementation then it
must provide a __arch_page_to_dma() implementation as well which is
_not_ based on page_address() to support highmem.

This patch fixes existing __arch_page_to_dma() and provide a default
implementation otherwise.  The default implementation for highmem is
based on __pfn_to_bus() which is defined only when no custom
__virt_to_bus() is provided by the machine class.

That leaves only ebsa110 and footbridge which cannot support highmem
until they provide their own __arch_page_to_dma() implementation.
But highmem support on those legacy platforms with limited memory is
certainly not a priority.

Signed-off-by: Nicolas Pitre <nico@marvell.com>
2009-03-15 21:01:21 -04:00
..
include/mach [ARM] make page_to_dma() highmem aware 2009-03-15 21:01:21 -04:00
Kconfig [ARM] DSM320: Add support for the DSM320 2008-12-14 11:34:48 +00:00
Makefile [ARM] DSM320: Add support for the DSM320 2008-12-14 11:34:48 +00:00
Makefile.boot [ARM] 4331/3: Support for Micrel/Kendin KS8695 processor 2007-05-11 22:02:48 +01:00
board-dsm320.c [ARM] DSM320: Add support for the DSM320 2008-12-14 11:34:48 +00:00
board-micrel.c [ARM] KS8695: Fixup the KS8695 GPIO to be GPIOLIB 2008-12-14 11:34:47 +00:00
cpu.c [ARM] Convert asm/io.h to linux/io.h 2008-09-06 12:10:45 +01:00
devices.c [ARM] fix AT91, davinci, h720x, ks8695, msm, mx2, mx3, netx, omap1, omap2, pxa, s3c 2009-01-08 16:29:42 +00:00
generic.h [ARM] 4331/3: Support for Micrel/Kendin KS8695 processor 2007-05-11 22:02:48 +01:00
gpio.c [ARM] KS8695: Add GPIO to IRQ mapping function 2008-12-14 11:34:47 +00:00
irq.c [ARM] Convert asm/io.h to linux/io.h 2008-09-06 12:10:45 +01:00
leds.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
pci.c Merge branches 'machtypes', 'core', 'ep93xx', 'ks8695', 'netdev' and 'sa1100' into devel 2008-10-09 21:31:54 +01:00
time.c [ARM] Convert asm/io.h to linux/io.h 2008-09-06 12:10:45 +01:00