
29 Aug
2016
29 Aug
'16
5:18 p.m.
Hi,
On Sun, Aug 28, 2016 at 04:55:36PM -0700, Stefan Agner wrote:
Hm, that seems dangerous to me, especially the src rounding...
Not sure where that memory gets aligned, but I guess we should use memalign and align the length to cache size or the like...
Yes, you are right. I looked into this some more and found the source of the problem is actually in lib/gunzip.c and not the flush_dcache_range call in fsl_esdhc.c. I sent a new patch to cache-align the memory allocation in gzwrite.
Regards, Clemens