Skip to contentSkip to conversation

is ioremap_cached() working under linux?

DISCUSSION Dean 1 participant 1 message Jan 13, 2014

lore
Share & tools
lore

Dean

author
#0 lore 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.