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
..
2008-12-15 23:03:10 +00:00
2009-01-07 11:13:13 -08:00
2008-08-02 21:32:35 +01:00
2008-08-02 21:32:35 +01:00
2008-08-02 21:32:35 +01:00
2009-01-06 15:59:10 -08:00
2008-08-02 21:32:35 +01:00
2008-12-04 09:21:55 +00:00
2008-09-01 12:06:27 +01:00
2008-08-02 21:32:35 +01:00
2009-01-14 19:56:50 -08:00
2008-08-02 21:32:35 +01:00
2008-11-29 18:49:55 +00:00
2008-09-25 15:35:28 +01:00
2008-08-02 21:32:35 +01:00
2008-11-27 12:38:21 +00:00
2008-08-02 21:32:35 +01:00
2008-08-02 21:32:35 +01:00
2008-08-02 21:32:35 +01:00
2008-08-02 21:32:35 +01:00
2008-09-01 12:06:23 +01:00
2008-08-02 21:32:35 +01:00
2008-08-02 21:32:35 +01:00
2008-08-02 21:32:35 +01:00
2008-10-23 12:53:32 +01:00
2009-03-15 21:01:21 -04:00
2008-11-29 18:49:55 +00:00
2008-08-02 21:32:35 +01:00
2008-08-02 21:32:35 +01:00
2008-10-16 15:40:05 +02:00
2008-08-02 21:32:35 +01:00
2008-08-02 21:32:35 +01:00
2008-08-02 21:32:35 +01:00
2008-08-02 21:32:35 +01:00
2008-08-02 21:32:35 +01:00
2009-03-15 21:01:20 -04:00
2008-08-02 21:32:35 +01:00
2008-08-07 09:55:48 +01:00
2008-08-02 21:32:35 +01:00
2008-10-20 18:27:03 +02:00
2008-09-01 12:06:26 +01:00
2008-08-02 21:32:35 +01:00
2008-08-07 09:55:48 +01:00
2008-08-02 21:32:35 +01:00
2009-03-15 21:01:21 -04:00
2008-08-07 09:39:37 +01:00
2008-11-06 13:23:07 +00:00
2008-08-02 21:32:35 +01:00
2008-11-30 11:45:54 +00:00
2008-08-02 21:32:35 +01:00
2008-08-02 21:32:35 +01:00
2008-08-02 21:32:35 +01:00
2008-08-02 21:32:35 +01:00
2008-11-29 19:14:31 +00:00
2008-08-02 21:32:35 +01:00
2009-01-14 19:56:50 -08:00
2008-08-02 21:32:35 +01:00
2008-08-15 08:35:42 -07:00
2008-08-02 21:32:35 +01:00
2008-08-02 21:32:35 +01:00
2008-09-01 12:06:26 +01:00
2008-08-02 21:32:35 +01:00
2008-08-02 21:32:35 +01:00
2008-08-02 21:32:35 +01:00
2008-08-02 21:32:35 +01:00
2008-08-02 21:32:35 +01:00
2008-09-06 12:10:45 +01:00
2009-03-15 21:01:21 -04:00
2008-08-02 21:32:35 +01:00
2008-11-29 18:49:55 +00:00
2009-01-08 12:04:47 +00:00
2008-08-07 09:55:48 +01:00
2008-08-02 21:32:35 +01:00
2008-08-02 21:32:35 +01:00
2008-12-14 13:22:51 +00:00
2008-08-02 21:32:35 +01:00
2008-08-02 21:32:35 +01:00
2008-08-02 21:32:35 +01:00
2008-11-28 15:39:02 +00:00
2008-08-02 21:32:35 +01:00
2008-08-02 21:32:35 +01:00
2008-09-13 21:35:55 +01:00
2008-08-02 21:32:35 +01:00
2008-08-02 21:32:35 +01:00
2008-08-02 21:32:35 +01:00
2008-08-02 21:32:35 +01:00
2008-10-09 21:31:56 +01:00
2008-08-02 21:32:35 +01:00
2008-08-02 21:32:35 +01:00
2008-08-02 21:32:35 +01:00
2008-12-15 22:13:26 +00:00
2008-08-02 21:32:35 +01:00
2008-09-06 10:35:51 +01:00
2008-08-02 21:32:35 +01:00
2008-08-02 21:32:35 +01:00
2008-08-02 21:32:35 +01:00
2008-08-02 21:32:35 +01:00
2008-08-02 21:32:35 +01:00
2008-08-02 21:32:35 +01:00
2008-11-28 15:36:44 +00:00
2008-08-02 21:32:35 +01:00
2008-08-02 21:32:35 +01:00
2008-08-02 21:32:35 +01:00
2008-08-02 21:32:35 +01:00
2008-08-02 21:32:35 +01:00
2008-08-02 21:32:35 +01:00
2008-12-01 14:54:57 +00:00
2008-08-02 21:32:35 +01:00
2008-08-02 21:32:35 +01:00
2008-10-01 17:24:04 +01:00
2008-08-02 21:32:35 +01:00
2008-08-02 21:32:35 +01:00
2008-08-02 21:32:35 +01:00
2008-09-04 09:46:11 +01:00
2008-11-27 12:37:59 +00:00
2008-08-02 21:32:35 +01:00
2009-01-06 18:10:28 -08:00
2008-11-28 23:20:38 +00:00
2008-08-02 21:32:35 +01:00
2008-08-02 21:32:35 +01:00
2008-08-02 21:32:35 +01:00
2008-09-06 10:35:51 +01:00
2008-08-02 21:32:35 +01:00
2008-08-07 09:55:48 +01:00
2008-08-02 21:32:35 +01:00
2008-08-12 19:54:08 +01:00
2008-08-02 21:32:35 +01:00
2008-08-02 21:32:35 +01:00
2008-08-02 21:32:35 +01:00
2008-11-29 18:49:55 +00:00
2008-08-02 21:32:35 +01:00
2008-08-02 21:32:35 +01:00
2008-08-12 19:54:07 +01:00
2008-08-02 21:32:35 +01:00
2008-08-02 21:32:35 +01:00
2008-08-02 21:32:35 +01:00
2008-09-06 12:10:45 +01:00
2008-08-02 21:32:35 +01:00