* [PATCH] ARM: mach-shmobile: Set CONSISTENT_DMA_SIZE to 158 MB
@ 2010-04-28 8:25 Magnus Damm
2010-04-29 14:36 ` Paul Mundt
0 siblings, 1 reply; 2+ messages in thread
From: Magnus Damm @ 2010-04-28 8:25 UTC (permalink / raw)
To: linux-sh
From: Magnus Damm <damm@opensource.se>
This patch sets CONSISTENT_DMA_SIZE to 158 MB
for all SH-Mobile ARM processors.
The DMA area is mapped at 0xf6000000 - 0xffdfffff,
on top of the 256 MB I/O window at 0xe6000000.
Signed-off-by: Magnus Damm <damm@opensource.se>
---
arch/arm/mach-shmobile/include/mach/memory.h | 3 +++
1 file changed, 3 insertions(+)
--- 0001/arch/arm/mach-shmobile/include/mach/memory.h
+++ work/arch/arm/mach-shmobile/include/mach/memory.h 2010-04-28 17:17:08.000000000 +0900
@@ -4,4 +4,7 @@
#define PHYS_OFFSET UL(CONFIG_MEMORY_START)
#define MEM_SIZE UL(CONFIG_MEMORY_SIZE)
+/* DMA memory at 0xf6000000 - 0xffdfffff */
+#define CONSISTENT_DMA_SIZE (158 << 20)
+
#endif /* __ASM_MACH_MEMORY_H */
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] ARM: mach-shmobile: Set CONSISTENT_DMA_SIZE to 158 MB
2010-04-28 8:25 [PATCH] ARM: mach-shmobile: Set CONSISTENT_DMA_SIZE to 158 MB Magnus Damm
@ 2010-04-29 14:36 ` Paul Mundt
0 siblings, 0 replies; 2+ messages in thread
From: Paul Mundt @ 2010-04-29 14:36 UTC (permalink / raw)
To: linux-sh
On Wed, Apr 28, 2010 at 05:25:30PM +0900, Magnus Damm wrote:
> This patch sets CONSISTENT_DMA_SIZE to 158 MB
> for all SH-Mobile ARM processors.
>
> The DMA area is mapped at 0xf6000000 - 0xffdfffff,
> on top of the 256 MB I/O window at 0xe6000000.
>
> Signed-off-by: Magnus Damm <damm@opensource.se>
On Wed, Apr 28, 2010 at 05:36:57PM +0900, Magnus Damm wrote:
> Extend VMALLOC_END to the I/O Window at 0xe6000000.
>
> Signed-off-by: Magnus Damm <damm@opensource.se>
Both applied, thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-04-29 14:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-28 8:25 [PATCH] ARM: mach-shmobile: Set CONSISTENT_DMA_SIZE to 158 MB Magnus Damm
2010-04-29 14:36 ` Paul Mundt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).