gem5/src/cpu/testers
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
..
directedtest mem: Split port retry for all different packet classes 2015-03-02 04:00:35 -05:00
memtest mem: Split port retry for all different packet classes 2015-03-02 04:00:35 -05:00
networktest mem: Split port retry for all different packet classes 2015-03-02 04:00:35 -05:00
rubytest mem: Split port retry for all different packet classes 2015-03-02 04:00:35 -05:00
traffic_gen mem: Split port retry for all different packet classes 2015-03-02 04:00:35 -05:00