gem5/src/mem/ruby/system
Andreas Hansson f26a289295 mem: Split port retry for all different packet classes
This patch fixes a long-standing isue with the port flow
control. Before this patch the retry mechanism was shared between all
different packet classes. As a result, a snoop response could get
stuck behind a request waiting for a retry, even if the send/recv
functions were split. This caused message-dependent deadlocks in
stress-test scenarios.

The patch splits the retry into one per packet (message) class. Thus,
sendTimingReq has a corresponding recvReqRetry, sendTimingResp has
recvRespRetry etc. Most of the changes to the code involve simply
clarifying what type of request a specific object was accepting.

The biggest change in functionality is in the cache downstream packet
queue, facing the memory. This queue was shared by requests and snoop
responses, and it is now split into two queues, each with their own
flow control, but the same physical MasterPort. These changes fixes
the previously seen deadlocks.
2015-03-02 04:00:35 -05:00
..
CacheRecorder.cc mem: Clean up Request initialisation 2015-01-22 05:00:53 -05:00
CacheRecorder.hh ruby: eliminate type Time 2014-09-01 16:55:41 -05:00
DMASequencer.cc mem: Split port retry for all different packet classes 2015-03-02 04:00:35 -05:00
DMASequencer.hh mem: Split port retry for all different packet classes 2015-03-02 04:00:35 -05:00
RubyPort.cc mem: Split port retry for all different packet classes 2015-03-02 04:00:35 -05:00
RubyPort.hh mem: Split port retry for all different packet classes 2015-03-02 04:00:35 -05:00
RubyPortProxy.cc MEM: Add port proxies instead of non-structural ports 2012-01-17 12:55:08 -06:00
RubyPortProxy.hh MEM: Add port proxies instead of non-structural ports 2012-01-17 12:55:08 -06:00
RubySystem.py Ruby: Update backing store option to propagate through to all RubyPorts 2015-02-26 09:58:26 -06:00
SConscript ruby: move files from ruby/system to ruby/structures 2014-09-01 16:55:40 -05:00
Sequencer.cc mem: Always use SenderState for response routing in RubyPort 2015-01-22 05:01:24 -05:00
Sequencer.hh ruby: move files from ruby/system to ruby/structures 2014-09-01 16:55:40 -05:00
Sequencer.py Ruby: Update backing store option to propagate through to all RubyPorts 2015-02-26 09:58:26 -06:00
System.cc Ruby: Update backing store option to propagate through to all RubyPorts 2015-02-26 09:58:26 -06:00
System.hh Ruby: Update backing store option to propagate through to all RubyPorts 2015-02-26 09:58:26 -06:00