mem-cache: Fix support for secure blocks in the FALRU cache
authorNikos Nikoleris <nikos.nikoleris@arm.com>
Mon, 21 Nov 2016 10:12:25 +0000 (10:12 +0000)
committerNikos Nikoleris <nikos.nikoleris@arm.com>
Tue, 19 Jun 2018 08:05:30 +0000 (08:05 +0000)
commit699ef82eba4ffe4ba49645968d2969b56599b617
treeefb7e2e1af54c8a814467fdd54ab7cb1b4836424
parent05c4c2b566ce351ab217b2bd7035562aa7a76570
mem-cache: Fix support for secure blocks in the FALRU cache

Fully associative caches use an unordered map to enable efficient
lookups of existing blocks. Previously this map was indexed using the
tag of the block. Security extentions allow secure and non secure
versions of a block with the same tag to co-exist in the cache. This
patch amends the block map to allow correct lookups for FALRU caches.

Change-Id: Iccf07464deab56d1d270bae14bb3b154047e3556
Reviewed-on: https://gem5-review.googlesource.com/11309
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Reviewed-by: Daniel Carvalho <odanrc@yahoo.com.br>
Maintainer: Nikos Nikoleris <nikos.nikoleris@arm.com>
src/mem/cache/tags/fa_lru.cc
src/mem/cache/tags/fa_lru.hh