mem: remove redudant check whether the cache forwards snoops
Change-Id: I57b56771086e1e2f512977fb7248d93c171ab925 Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
This commit is contained in:
parent
d68f3577d6
commit
f9d62b63e1
1 changed files with 1 additions and 1 deletions
2
src/mem/cache/cache.cc
vendored
2
src/mem/cache/cache.cc
vendored
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue