Hello all,
For example i want to copy a block of memory using memcpy from "msmc to ddr" or vice versa. L2 (as 256KB) and L1(as 32KB) is enabled as caches. When i transfer say 512KB, the L2 cache holds some memory values that is not written back. When I do Cache_wb it operates on the whole L2 cache and decreases the performance. I want only the dirty data to be written back. The cache_wb function that takes pointer argument is not working properly since the pointer address will not be valid in the cache due to the big block sized transfer.
What is the proper way of transferring blocks of memory considering cache?