mem-cache: Populate the secure bit when the temp block is filled
authorNikos Nikoleris <nikos.nikoleris@arm.com>
Tue, 22 Nov 2016 11:38:57 +0000 (11:38 +0000)
committerNikos Nikoleris <nikos.nikoleris@arm.com>
Fri, 2 Mar 2018 16:18:29 +0000 (16:18 +0000)
commite5d98f6e638455c81a4fba63492e4bbaf1cd7db1
tree78043df6bc1f62ce3d2e0b4f116140fdd1335a4d
parent1ecc7a8c776bacd04c109cc286e569d434497229
mem-cache: Populate the secure bit when the temp block is filled

The secure bit should be set when we fill a block with data from a
secure location, as indicated by the packet that triggers the fill.
This patch fixes a bug in which the cache wouldn't populate the secure
bit when filling the temp block.

Change-Id: I95c706146449804ff42b205b25dd79750f3e882a
Reviewed-by: Curtis Dunham <curtis.dunham@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/8284
Maintainer: Nikos Nikoleris <nikos.nikoleris@arm.com>
Reviewed-by: Daniel Carvalho <odanrc@yahoo.com.br>
src/mem/cache/cache.cc