changeset 300266bf68ec in /z/repo/m5
details: http://repo.m5sim.org/m5?cmd=changeset;node=300266bf68ec
description:
        bus: add assertion to catch illegal retry
        on mem-inhibited transaction.

diffstat:

1 file changed, 3 insertions(+)
src/mem/bus.cc |    3 +++

diffs (13 lines):

diff -r f8453ff56966 -r 300266bf68ec src/mem/bus.cc
--- a/src/mem/bus.cc    Fri Oct 02 01:32:58 2009 -0700
+++ b/src/mem/bus.cc    Sat Oct 03 18:07:39 2009 -0700
@@ -244,6 +244,9 @@
             // Packet not successfully sent. Leave or put it on the retry list.
             // illegal to block responses... can lead to deadlock
             assert(!pkt->isResponse());
+            // It's also illegal to force a transaction to retry after
+            // someone else has committed to respond.
+            assert(!pkt->memInhibitAsserted());
             DPRINTF(Bus, "recvTiming: src %d dst %d %s 0x%x TGT RETRY\n",
                     src, pkt->getDest(), pkt->cmdString(), pkt->getAddr());
             addToRetryList(src_port);
_______________________________________________
m5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/m5-dev

Reply via email to