06-11-2012 05:21 AM
We have a custom a board with a Zynq chip and we will use a dedicated part of the DDR3 memory as shared memory between the PL and PS.
We use the area that is already reserved in function xilinx_memory_init() -> memblock_remove((0xF000000, 0x1000000). I want to make sure that this area is not cached, but I find it hard to obtain information about this. Does anyone know if memory that is reserved by using memblock_remove is cached?
In the PS we will use the memory in user space by mapping it using mmap.
Thanks in advance!
06-12-2012 05:08 PM
This call is only telling the kernel to leave it alone as the mmap call could setup memory with caching or without, but I'm never real clear on if that will work (O_SYNC) or not.