Review Board 2.0.15


MEM: Differentiate functional cache accesses from CPU and memory

Review Request #979 - Created Jan. 4, 2012 and submitted - Latest diff uploaded

Information
Andreas Hansson
gem5
default
Reviewers
Default
MEM: Differentiate functional cache accesses from CPU and memory

This patch changes the functionalAccess member function in the cache
model such that it is aware of what port the access came from, i.e. if
it came from the CPU side or from the memory side. By adding this
information, it is possible to respect the 'forwardSnoops' flag for
snooping requests coming from the memory side and not forward
them. This fixes an outstanding issue with the IO bus getting accesses
that have no valid destination port and also cleans up future changes
to the bus model.
util/regress all passing (disregarding t1000 and eio)