All of lore.kernel.org
 help / color / mirror / Atom feed
From: dean.sinaean@gmail.com (Dean)
To: linux-arm-kernel@lists.infradead.org
Subject: is ioremap_cached() working under linux?
Date: Mon, 13 Jan 2014 19:54:11 +0800	[thread overview]
Message-ID: <52D3D3E3.5080302@gmail.com> (raw)

Hi, all,
    Our system uses a FPGA chip which has two ARM cores in it. We 
developed a DDR memory controller on FPGA which is connected to ARM via 
AXI system bus.
    What I am trying to do is to test if the implemented DDR memory 
controller works with L2 Cache.
    Can I do this by ioremap_cached the DDR memory and then do 
read/writes on it?

    What I am thinking is:
    (1) ioremap_cached the memory region.
    (2) do read/write operations on it.
    (3) flush_cache_all();

Will my idea work?

Thank you all.
Dean.

                 reply	other threads:[~2014-01-13 11:54 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=52D3D3E3.5080302@gmail.com \
    --to=dean.sinaean@gmail.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.