Thread (1 message) 1 message, 1 author, 2012-10-23

Is it too strict for VIPT cache flushing in flush_cache_[mm|range]?

From: Ning Jiang <hidden>
Date: 2012-10-23 02:55:23

2012/10/16 Ning Jiang [off-list ref]:
I found that the implementation of flush_cache_mm() and
flush_cache_range() for VIPT aliasing case is to clean + invalidate
whole data cache, but for a physically tagged cache, why do we need to
perform such an operation? Is it because we'll have aliasing issue?

I searched through the git history and found it is brought in the
commit "d7b6b358"  "[ARM] Fix ARMv6 VIPT cache >= 32K", before that,
there is indeed no flushing, why we "Fix ARMv6 VIPT cache >= 32K"?

Sorry for asking such stupid question, but it really confuses me ;-)

Thanks,
Ning
Maybe someone in the mail list can give an answer ;-)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help