linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* RAM bank with features
@ 2011-01-28 14:28 Sergey Mironov
  2011-01-28 14:46 ` Russell King - ARM Linux
  0 siblings, 1 reply; 3+ messages in thread
From: Sergey Mironov @ 2011-01-28 14:28 UTC (permalink / raw)
  To: linux-arm-kernel

Hello, community. I am porting Linux to arm1176-based SoC. Our system
has 2 RAM banks. First one (EM0) is quite common, but another (EM1)
has some "features" :
1) Critical one. There are devices that can't use DMA buffers outside EM1.
2) CPU can read and write to it, but can't execute instructions.

What is the finest way of implementing those restrictions? I thought
about defining custom memory zone, but I can't see how to link zones
with platform_device.dev.dma_mask.

Also, is it possible to allocate user pages from EM1 but prevent users
from executing code from them? Say, tell allocator to mark them with
L_PTE_* flag?

Thanks,
Sergey.

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

end of thread, other threads:[~2011-01-29 15:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-28 14:28 RAM bank with features Sergey Mironov
2011-01-28 14:46 ` Russell King - ARM Linux
2011-01-29 15:16   ` Sergey Mironov

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