Hi all, The panic condition indicates that the noncoherent cache is receiving snoop requests. As it is noncoherent, the cache can't handle snoops and therefore gem5 crashes. For the noncoherent cache to work correctly, it has to be placed below the Point of Coherence, that is a coherent_xbar which has the point_of_coherence parameter set to true.
HTH, Nikos On 06/01/2020 20:14, Shougang Yuan wrote: > Hi, All, > > Would you mind to share the details about using the NoncoherentCache. I > have the same issue about "panic: panic condition !from_cpu_side > occurred: Non-coherent cache received functional snoop request" when I > use the NoncoherentCache as the last level cache(L3 cache). I defined > the L3 cache as an instance of NoncoherentCache, and define the L3Bus > similar to L2Xbar. But I suffered the previous error and can not resolve > it. Instead, I use Cache for L3 and make my code work. But I am still > wondering how you get rid of this error. > > Best regards. > > Yuan > > On Wed, Dec 25, 2019 at 5:38 AM Muhammad Aamir > <[email protected] <mailto:[email protected]>> wrote: > > Hi yuan, would you please state how you were able to get rid of the > "Non-coherent cache received functional snoop request" error? As I > would like to know as well. > > Thanks > > On Thu, 19 Dec 2019 at 12:58, 616653241 <[email protected] > <mailto:[email protected]>> wrote: > > Hi, Giacomo, > Thank you very much. That is what i need. > > ------------------ 原始邮件 ------------------ > *发件人:* "Giacomo Travaglini"<[email protected] > <mailto:[email protected]>>; > *发送时间:* 2019年12月19日(星期四) 下午5:50 > *收件人:* "616653241"<[email protected] > <mailto:[email protected]>>;"gem5-users"<[email protected] > <mailto:[email protected]>>; > *主题:* Re: [gem5-users] 回复: ask for help about simulate with > noncherentcahe > > Can I suggest you to have a look at configs/example/memtest.py? > The script is using a Noncoherent cache as LLC. > > Maybe this would help you on how to attach it. > > Otherwise we were running regressions using a Noncoherent cache > in the past. > > > https://gem5-review.googlesource.com/c/public/gem5/+/22683/2/tests/configs/base_config.py#b280 > > (This is not happening anymore, but feel free to take the script > as an inspiration) > > Giacomo > > ------------------------------------------------------------------------ > *From:* gem5-users <[email protected] > <mailto:[email protected]>> on behalf of 616653241 > <[email protected] <mailto:[email protected]>> > *Sent:* 19 December 2019 01:43 > *To:* gem5-users <[email protected] <mailto:[email protected]>> > *Subject:* [gem5-users] 回复: ask for help about simulate with > noncherentcahe > Hi,Abhishek, > Thank you for your answer. > But, I'm a beginner, and I still dont know how to > do it. > I just modified the caches.py and the two_level.py > Script( see the attached files). But I got a error says > "Non-coherent cache received functional snoop request". It may > should be in the LLC, but I dont know how to do it? > So, can you give some advice? Thank you again. > > > ------------------ 原始邮件 ------------------ > *发件人:* "Abhishek Singh"<[email protected] > <mailto:[email protected]>>; > *发送时间:* 2019年12月19日(星期四) 凌晨1:09 > *收件人:* "gem5 users mailing list"<[email protected] > <mailto:[email protected]>>; > *主题:* Re: [gem5-users] ask for help about simulate with > noncherentcahe > > Hi yuan, > In order to that, you need to call non-coherent cache > instead of cache in config/common/Caches.py file. > From my experience I am able to use LLC as non coherent cache. > Please note this is how I used in classic cache model. > > On Wed, Dec 18, 2019 at 11:54 AM 616653241 <[email protected] > <mailto:[email protected]>> wrote: > > hi, everyone, > can anybody tell me that how does gem5 O3 CPU simulate with > noncoherentcache? > yours > wuhua > > _______________________________________________ > gem5-users mailing list > [email protected] <mailto:[email protected]> > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users > > IMPORTANT NOTICE: The contents of this email and any attachments > are confidential and may also be privileged. If you are not the > intended recipient, please notify the sender immediately and do > not disclose the contents to any other person, use it for any > purpose, or store or copy the information in any medium. Thank you. > _______________________________________________ > gem5-users mailing list > [email protected] <mailto:[email protected]> > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users > > _______________________________________________ > gem5-users mailing list > [email protected] <mailto:[email protected]> > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users > > > _______________________________________________ > gem5-users mailing list > [email protected] > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users > IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you. _______________________________________________ gem5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
