projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d68f357
)
mem: remove redudant check whether the cache forwards snoops
author
Nikos Nikoleris
<nikos.nikoleris@arm.com>
Thu, 26 May 2016 10:56:24 +0000
(11:56 +0100)
committer
Nikos Nikoleris
<nikos.nikoleris@arm.com>
Thu, 26 May 2016 10:56:24 +0000
(11:56 +0100)
Change-Id: I57b56771086e1e2f512977fb7248d93c171ab925
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
src/mem/cache/cache.cc
patch
|
blob
|
history
diff --git
a/src/mem/cache/cache.cc
b/src/mem/cache/cache.cc
index 84f81e4ab84eb0acded5ea6fe8b534e309a0b4f9..3048973fbc510775aa18eef749d87d3d4d5f14a4 100644
(file)
--- a/
src/mem/cache/cache.cc
+++ b/
src/mem/cache/cache.cc
@@
-1209,7
+1209,7
@@
Cache::functionalAccess(PacketPtr pkt, bool fromCpuSide)
// continues towards the memory side
if (fromCpuSide) {
memSidePort->sendFunctional(pkt);
- } else if (
forwardSnoops &&
cpuSidePort->isSnooping()) {
+ } else if (cpuSidePort->isSnooping()) {
// if it came from the memory side, it must be a snoop request
// and we should only forward it if we are forwarding snoops
cpuSidePort->sendFunctionalSnoop(pkt);