mem: Add parameter to reserve MSHR entries for demand access
authorMitch Hayenga <mitch.hayenga@arm.com>
Tue, 23 Dec 2014 14:31:18 +0000 (09:31 -0500)
committerMitch Hayenga <mitch.hayenga@arm.com>
Tue, 23 Dec 2014 14:31:18 +0000 (09:31 -0500)
commit6cb58b2bd2ffd19a667e3b9473ff4a0ccfd14c81
tree013ae71318955157fc22fa174655f681383bac92
parent4d88978913c57e0cd10751d31d7f5b95c1e00170
mem: Add parameter to reserve MSHR entries for demand access

Adds a new parameter that reserves some number of MSHR entries for demand
accesses.  This helps prevent prefetchers from taking all MSHRs, forcing demand
requests from the CPU to stall.
src/mem/cache/BaseCache.py
src/mem/cache/base.cc
src/mem/cache/cache_impl.hh
src/mem/cache/mshr_queue.cc
src/mem/cache/mshr_queue.hh