is ioremap_cached() working under linux?

Dean dean.sinaean at gmail.com
Mon Jan 13 06:54:11 EST 2014


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.



More information about the linux-arm-kernel mailing list