mem-cache: Move cache bypass mechanism to the ports
authorNikos Nikoleris <nikos.nikoleris@arm.com>
Thu, 3 May 2018 14:51:41 +0000 (15:51 +0100)
committerNikos Nikoleris <nikos.nikoleris@arm.com>
Thu, 31 May 2018 15:12:49 +0000 (15:12 +0000)
commit7d990bd25b478d906442ea63e1de6b381b51817b
tree782ff2fb9979352123d43998b3f99334b78317bc
parent41db9b95aa234094da62fdd3a863870b175d8f97
mem-cache: Move cache bypass mechanism to the ports

Cache bypass is necessary for cpu models like the KvmCPU. Previously
the bypass would happen at the cache classes. With this change the
bypassing happens directly at the ports.

Change-Id: I34de9fc63383aee8590643e169501ea6060d2d62
Reviewed-on: https://gem5-review.googlesource.com/10432
Maintainer: Nikos Nikoleris <nikos.nikoleris@arm.com>
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
src/mem/cache/base.cc
src/mem/cache/cache.cc