From: Andreas Hansson Date: Thu, 7 Mar 2013 10:55:01 +0000 (-0500) Subject: x86: Make the table walker reset the packet delay X-Git-Tag: stable_2013_06_16~64 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c4645c0d68de84685a844a52a769431aa3edc6ad;p=gem5.git x86: Make the table walker reset the packet delay This patch fixes an issue related to the table walker recycling packets that still have a bus delay that is not accounted for. For now, we simply ignore the values and reset them to zero. --- diff --git a/src/arch/x86/pagetable_walker.cc b/src/arch/x86/pagetable_walker.cc index c768bb428..853e062e7 100644 --- a/src/arch/x86/pagetable_walker.cc +++ b/src/arch/x86/pagetable_walker.cc @@ -574,6 +574,9 @@ Walker::WalkerState::recvPacket(PacketPtr pkt) assert(!read); inflight--; if (pkt->isRead()) { + // @todo someone should pay for this + pkt->busFirstWordDelay = pkt->busLastWordDelay = 0; + state = nextState; nextState = Ready; PacketPtr write = NULL;