test: exercise DMA isolation for secure access to ns memory
This test helps to validate a scenario where a secure stream
belonging to Cactus SP accesses non-secure IPA space.
Signed-off-by: Madhukar Pappireddy <madhukar.pappireddy@arm.com>
Change-Id: I8085f2974d53b9cec9b3ae4a17fd328607b76e2b
diff --git a/spm/cactus/cactus_main.c b/spm/cactus/cactus_main.c
index be6baa9..e0e2c88 100644
--- a/spm/cactus/cactus_main.c
+++ b/spm/cactus/cactus_main.c
@@ -115,6 +115,8 @@
/* scratch memory allocated to be used for running SMMU tests */
MAP_REGION_FLAT(PLAT_CACTUS_MEMCPY_BASE, PLAT_CACTUS_MEMCPY_RANGE,
MT_MEMORY | MT_RW),
+ MAP_REGION_FLAT(PLAT_CACTUS_NS_MEMCPY_BASE, PLAT_CACTUS_MEMCPY_RANGE,
+ MT_MEMORY | MT_RW | MT_NS),
{0}
};