mem: Add support for secure packets in the snoop filter
authorNikos Nikoleris <nikos.nikoleris@arm.com>
Fri, 12 Aug 2016 13:11:45 +0000 (14:11 +0100)
committerNikos Nikoleris <nikos.nikoleris@arm.com>
Fri, 12 Aug 2016 13:11:45 +0000 (14:11 +0100)
commitee7d8fdcb2226139fd1d6a6f0cde987721ea3699
tree961223d93cd98093c18b7df8ae67d5399c38061c
parent080d4e08d627b5b726afec71d38370373b7376c5
mem: Add support for secure packets in the snoop filter

Secure and non-secure data can coexist in the cache and therefore the
snoop filter should treat differently packets with secure and non
secure accesses. This patch uses the lower bits of the line address to
keep track of whether the packet is addressing secure memory or not.

Change-Id: I54a5e614dad566a5083582bede86c86896f2c2c1
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-by: Stephan Diestelhorst <stephan.diestelhorst@arm.com>
Reviewed-by: Tony Gutierrez <anthony.gutierrez@amd.com>
src/mem/coherent_xbar.cc
src/mem/snoop_filter.cc
src/mem/snoop_filter.hh