All of lore.kernel.org
 help / color / mirror / Atom feed
* ARM DMA Zones (coherent memory pool)
       [not found] <1706190290.100315.1358858042869.JavaMail.root@elliptictech.com>
@ 2013-01-22 12:36   ` Tom St Denis
  0 siblings, 0 replies; 2+ messages in thread
From: Tom St Denis @ 2013-01-22 12:36 UTC (permalink / raw)
  To: linux-kernel; +Cc: linux-arm-kernel

Hi all,

I was wondering if there was a proper way of instructing the init code (atomic_pool_init) for the DMA coherent subsystem to point to a fixed location instead of using alloc_pages()?

I ask because on our system (Zynq702/706 boards) DDR has a high latency (~25-30 cycles) whereas FPGA memory can be much quicker.  What I'd like to do is create a 256Kbyte memory in FPGA BRAMs and then have the CPU point at it for the DMA zone.

Is that at all possible through a simple kernel cmdline or patch?

Tom

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

* ARM DMA Zones (coherent memory pool)
@ 2013-01-22 12:36   ` Tom St Denis
  0 siblings, 0 replies; 2+ messages in thread
From: Tom St Denis @ 2013-01-22 12:36 UTC (permalink / raw)
  To: linux-arm-kernel

Hi all,

I was wondering if there was a proper way of instructing the init code (atomic_pool_init) for the DMA coherent subsystem to point to a fixed location instead of using alloc_pages()?

I ask because on our system (Zynq702/706 boards) DDR has a high latency (~25-30 cycles) whereas FPGA memory can be much quicker.  What I'd like to do is create a 256Kbyte memory in FPGA BRAMs and then have the CPU point at it for the DMA zone.

Is that at all possible through a simple kernel cmdline or patch?

Tom

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

end of thread, other threads:[~2013-01-22 12:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1706190290.100315.1358858042869.JavaMail.root@elliptictech.com>
2013-01-22 12:36 ` ARM DMA Zones (coherent memory pool) Tom St Denis
2013-01-22 12:36   ` Tom St Denis

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.