Hi Sherif, 

Maybe the functionality is already there, but it may not be as easy as it 
sounds depending on what you mean by "flushing". Functionally invalidating 
cache lines is staightforward, but anything that is dirty in the cache should 
be written back, and this may be harder to handle especially if you want 
timing, not just functionality. If I had to start somewhere, I would see how 
back invalidations are handled (invalidation of L1 line because line is evicted 
from L2 and L2 is inclusive of L1) and apply the same process on dirty line 
sequentially.ur 

Maybe more context would be helpful :) 

Arth 


De: "gem5 users mailing list" <gem5-users@gem5.org> 
À: "gem5 users mailing list" <gem5-users@gem5.org> 
Cc: "Sherif AbdelFadil" <sherif.m.fa...@gmail.com> 
Envoyé: Lundi 29 Mars 2021 10:45:12 
Objet: [gem5-users] Flushing the Caches 

Hi, 
I was wondering if someone already implemented the functionality of flushing 
all caches in gem5. It seems relatively simple to implement and I imagine it 
would be useful in a lot of cases, yet I couldn't find anything online. 

Regards, 
Sherif 

_______________________________________________ 
gem5-users mailing list -- gem5-users@gem5.org 
To unsubscribe send an email to gem5-users-le...@gem5.org 
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s 
_______________________________________________
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

Reply via email to