Solved bugs while switching cpu models with the --repeat-switch command
Review Request #2468 - Created Oct. 26, 2014 and submitted
| Information | |
|---|---|
| Alberto Javier Naranjo Carmona | |
| gem5 | |
| Reviewers | |
| Default | |
This patch solves some bugs that occured when using the option --repeat-switch, in particular when switching from O3 to timing model (deadlocks while draining and assert(!memReq) in drainSanityCheck()). See the following thread for more info http://www.mail-archive.com/gem5-users%40gem5.org/msg10631.html
All long regression tests passed. tsunami-switcheroo-full passed.
Posted (Oct. 27, 2014, 8:54 a.m.)
thanks for the patch. it looks good, but I'm not sure if the ruby change it supposed to be in there. otherwise I think it's good to go.
-
src/mem/ruby/system/RubyMemoryControl.cc (Diff revision 2) -
is this change supposed to be in here?
Posted (Oct. 27, 2014, 9:39 a.m.)
-
src/cpu/o3/lsq_impl.hh (Diff revision 2) -
I'm not sure which version of gem5 you're using, but in the latest dev repository it looks like this if block is completely gone. I'm not sure if that is because the check has been moved elsewhere or otherwise.
Posted (Oct. 27, 2014, 10:13 a.m.)
-
src/cpu/o3/lsq_impl.hh (Diff revision 2) -
If you have a chance to test the dev repository that would be great.
Review request changed
Updated (Nov. 7, 2014, 1:35 p.m.)
Change Summary:
The previous diff was done with the stable repository and not all the changes matched with the current dev repository. Did the same changes (at least those that still apply) and run the same tests as before. Everything seems OK
Diff: |
Revision 3 (+1 -4) |
|---|
the o3 change seems fine. . someone more familiar with ruby would need to comment on the other one.
