projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1de574f
)
mem-cache: Use secure flag in FALRU's findBlock
author
Daniel R. Carvalho
<odanrc@yahoo.com.br>
Thu, 19 Apr 2018 13:55:59 +0000
(15:55 +0200)
committer
Daniel Carvalho
<odanrc@yahoo.com.br>
Thu, 19 Apr 2018 15:29:21 +0000
(15:29 +0000)
FALRU's findBlock() must use the secure flag to assure proper
functionality.
Change-Id: I54e9fbd3c9093b3e8043c4c6c850b74a8f1f5ec0
Reviewed-on: https://gem5-review.googlesource.com/10081
Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com>
Maintainer: Nikos Nikoleris <nikos.nikoleris@arm.com>
src/mem/cache/tags/fa_lru.cc
patch
|
blob
|
history
diff --git
a/src/mem/cache/tags/fa_lru.cc
b/src/mem/cache/tags/fa_lru.cc
index 49c0d340a85c9b747acf21255f3e6ab056822f41..f515c4db65386ffc26a231a00a5c73900e1b7834 100644
(file)
--- a/
src/mem/cache/tags/fa_lru.cc
+++ b/
src/mem/cache/tags/fa_lru.cc
@@
-179,6
+179,7
@@
FALRU::findBlock(Addr addr, bool is_secure) const
if (blk && blk->isValid()) {
assert(blk->tag == blkAddr);
+ assert(blk->isSecure() == is_secure);
} else {
blk = nullptr;
}