Ruby: Remove assert in RubyPort retry list logic
Review Request #2911 - Created June 23, 2015 and submitted
| Information | |
|---|---|
| Jason Lowe-Power | |
| gem5 | |
| default | |
| Reviewers | |
| Default | |
Changeset 10875:e15eea749253 --------------------------- Ruby: Remove assert in RubyPort retry list logic Remove the assert when adding a port to the RubyPort retry list. Instead of asserting, just ignore the added port, since it's already on the list. Without this patch, Ruby+detailed fails for even the simplest tests
build/X86_MESI_Two_Level/gem5.debug configs/example/se.py --cpu-type=detailed --ruby -c tests/test-progs/hello/bin/x86/linux/hello now runs to completion.
Note: this is compatible (and required) with http://reviews.gem5.org/r/2787/ as well.
Posted (June 24, 2015, 12:30 a.m.)
-
src/mem/ruby/system/RubyPort.hh (Diff revision 1) -
A port is not allowed to send a new request until it gets a retry, so the assert is appropriate in this case.
Ship It!
