is ioremap_cached() working under linux?
From: Dean <hidden>
Date: 2014-01-13 11:54:11
From: Dean <hidden>
Date: 2014-01-13 11:54:11
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.