# Node ID d355d9ed4576912ae745a4d5927f146e1a3469be # Parent d90aec9435bd720f2af2ef809680608b3b6955c5 diff --git a/src/cpu/o3/fetch.hh b/src/cpu/o3/fetch.hh --- a/src/cpu/o3/fetch.hh +++ b/src/cpu/o3/fetch.hh @@ -169,8 +169,7 @@ ItlbWait, IcacheWaitResponse, IcacheWaitRetry, - IcacheAccessComplete, - NoGoodAddr + IcacheAccessComplete }; /** Fetching Policy, Add new policies here.*/ diff --git a/src/cpu/o3/fetch_impl.hh b/src/cpu/o3/fetch_impl.hh --- a/src/cpu/o3/fetch_impl.hh +++ b/src/cpu/o3/fetch_impl.hh @@ -657,18 +657,6 @@ // If translation was successful, attempt to read the icache block. if (fault == NoFault) { - // Check that we're not going off into random memory - // If we have, just wait around for commit to squash something and put - // us on the right track - if (!cpu->system->isMemAddr(mem_req->getPaddr())) { - warn("Address %#x is outside of physical memory, stopping fetch\n", - mem_req->getPaddr()); - fetchStatus[tid] = NoGoodAddr; - delete mem_req; - memReq[tid] = NULL; - return; - } - // Build packet here. PacketPtr data_pkt = new Packet(mem_req, MemCmd::ReadReq); data_pkt->dataDynamic(new uint8_t[fetchBufferSize]); @@ -1669,9 +1657,6 @@ ++fetchIcacheWaitRetryStallCycles; DPRINTF(Fetch, "[tid:%i]: Fetch is waiting for an I-cache retry!\n", tid); - } else if (fetchStatus[tid] == NoGoodAddr) { - DPRINTF(Fetch, "[tid:%i]: Fetch predicted non-executable address\n", - tid); } else { DPRINTF(Fetch, "[tid:%i]: Unexpected fetch stall reason (Status: %i).\n", tid, fetchStatus[tid]);