This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Hidden limit on the byte-counts when cache-invalidating

Hello,

In my application, I need to invalidate a big buffer, 2 Mega bytes in size, from the cache. When I ran CACHE_wbInvL1d(addr, size, CACHE_FENCE_WAIT), it does not seem to work as expected. Cache write-back still happens long after the invalidating. So I ended up having to either invalidate/write-back the whole cache or invalidate/write-back 32k or 64k bytes at a time.

Is there a limit on the size of the buffer to be invalidated from the cache?

Thanks,

Daniel