summaryrefslogtreecommitdiff
path: root/src/mem/dram_ctrl.cc
diff options
context:
space:
mode:
authorAndreas Hansson <andreas.hansson@arm.com>2015-11-06 03:26:35 -0500
committerAndreas Hansson <andreas.hansson@arm.com>2015-11-06 03:26:35 -0500
commit8bc925e36d0e5de7e70a6d5bf2b1824649932599 (patch)
tree8ffddb6d34d4c574e9d43b75c5be804a1d0d328e /src/mem/dram_ctrl.cc
parent8e55d51aaa71d71c7058e8ee15c89d3482991ba2 (diff)
downloadgem5-8bc925e36d0e5de7e70a6d5bf2b1824649932599.tar.xz
mem: Align rules for sinking inhibited packets at the slave
This patch aligns how the memory-system slaves, i.e. the various memory controllers and the bridge, identify and deal with sinking of inhibited packets that are only useful within the coherent part of the memory system. In the future we could shift the onus to the crossbar, and add a parameter "is_point_of_coherence" that would allow it to sink the aforementioned packets.
Diffstat (limited to 'src/mem/dram_ctrl.cc')
-rw-r--r--src/mem/dram_ctrl.cc6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/mem/dram_ctrl.cc b/src/mem/dram_ctrl.cc
index 4bd83f761..abf570910 100644
--- a/src/mem/dram_ctrl.cc
+++ b/src/mem/dram_ctrl.cc
@@ -590,10 +590,8 @@ DRAMCtrl::recvTimingReq(PacketPtr pkt)
DPRINTF(DRAM, "recvTimingReq: request %s addr %lld size %d\n",
pkt->cmdString(), pkt->getAddr(), pkt->getSize());
- // simply drop inhibited packets and clean evictions
- if (pkt->memInhibitAsserted() ||
- pkt->cmd == MemCmd::CleanEvict) {
- DPRINTF(DRAM, "Inhibited packet or clean evict -- Dropping it now\n");
+ // sink inhibited packets without further action
+ if (pkt->memInhibitAsserted()) {
pendingDelete.reset(pkt);
return true;
}