linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* CONSISTENT_DMA_SIZE limitations
@ 2010-04-28  6:25 Magnus Damm
  2010-04-28  6:47 ` Eric Miao
  0 siblings, 1 reply; 5+ messages in thread
From: Magnus Damm @ 2010-04-28  6:25 UTC (permalink / raw)
  To: linux-arm-kernel

Hi everyone,

Are there any special CONSISTENT_DMA_SIZE limitiations in the latest
upstrem ARM kernel?

On SH-Mobile ARM a single 256 MB I/O window is mapped virt:phys 1:1 at
0xe6000000 -> 0xf5ffffff at ->map_io() time.

The virtual area on top of the I/O window at 0xf6000000 -> 0xffdfffff
seems suitable for consistent dma mappings. Extending
CONSISTENT_DMA_SIZE from the default 2MB to 158 MB makes efficient use
of the entire range. Empty 2MB space is left at the top as usual.

Extending CONSISTENT_DMA_SIZE seems like a good idea to me, but I'm
not sure if doing so will break something else. Perhaps I need to
rework some code in arch/arm/mm/dma-mapping.c?

I'm asking because most platforms only export up to 14 MB, and
Documentation/arm/memory.txt mentions 0xff000000 -> 0xffbfffff as
reserved.

Thanks!

/ magnus

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-04-28  7:53 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-28  6:25 CONSISTENT_DMA_SIZE limitations Magnus Damm
2010-04-28  6:47 ` Eric Miao
2010-04-28  7:07   ` Shilimkar, Santosh
2010-04-28  7:53     ` Magnus Damm
2010-04-28  7:08   ` Magnus Damm

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).