mem: Deduce if cache should forward snoops
authorAndreas Hansson <andreas.hansson@arm.com>
Wed, 10 Feb 2016 09:08:24 +0000 (04:08 -0500)
committerAndreas Hansson <andreas.hansson@arm.com>
Wed, 10 Feb 2016 09:08:24 +0000 (04:08 -0500)
commitfbdeb6031664d71e19a25f51b6ee882d803dac30
tree0a3fa9a980e9b9a1013b3aff37080b045192b650
parentbead7f249a71f8b15ae92b0df9822abb52ca7323
mem: Deduce if cache should forward snoops

This patch changes how the cache determines if snoops should be
forwarded from the memory side to the CPU side. Instead of having a
parameter, the cache now looks at the port connected on the CPU side,
and if it is a snooping port, then snoops are forwarded. Less error
prone, and less parameters to worry about.

The patch also tidies up the CPU classes to ensure that their I-side
port is not snooping by removing overrides to the snoop request
handler, such that snoop requests will panic via the default
MasterPort implement
configs/common/Caches.py
configs/common/O3_ARM_v7a.py
src/cpu/minor/cpu.hh
src/cpu/minor/lsq.hh
src/cpu/o3/cpu.hh
src/cpu/simple/atomic.hh
src/cpu/simple/timing.hh
src/mem/cache/Cache.py
src/mem/cache/base.cc
src/mem/cache/base.hh