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