All of lore.kernel.org
 help / color / mirror / Atom feed
From: tstdenis@elliptictech.com (Tom St Denis)
To: linux-arm-kernel@lists.infradead.org
Subject: ARM DMA Zones (coherent memory pool)
Date: Tue, 22 Jan 2013 07:36:13 -0500 (EST)	[thread overview]
Message-ID: <644316582.100321.1358858173237.JavaMail.root@elliptictech.com> (raw)
In-Reply-To: <1706190290.100315.1358858042869.JavaMail.root@elliptictech.com>

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

WARNING: multiple messages have this Message-ID (diff)
From: Tom St Denis <tstdenis@elliptictech.com>
To: linux-kernel@vger.kernel.org
Cc: linux-arm-kernel@lists.infradead.org
Subject: ARM DMA Zones (coherent memory pool)
Date: Tue, 22 Jan 2013 07:36:13 -0500 (EST)	[thread overview]
Message-ID: <644316582.100321.1358858173237.JavaMail.root@elliptictech.com> (raw)
In-Reply-To: <1706190290.100315.1358858042869.JavaMail.root@elliptictech.com>

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

       reply	other threads:[~2013-01-22 12:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1706190290.100315.1358858042869.JavaMail.root@elliptictech.com>
2013-01-22 12:36 ` Tom St Denis [this message]
2013-01-22 12:36   ` ARM DMA Zones (coherent memory pool) Tom St Denis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=644316582.100321.1358858173237.JavaMail.root@elliptictech.com \
    --to=tstdenis@elliptictech.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.