xtest/sdp: test NS client invocation to pTA with SDP memref params
SDP pseudo TAs hold services reserved to the client. Check that
invocation test pTA with this.
Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>
Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org>
diff --git a/host/xtest/sdp_basic.c b/host/xtest/sdp_basic.c
index 61f33ce..d843c04 100644
--- a/host/xtest/sdp_basic.c
+++ b/host/xtest/sdp_basic.c
@@ -598,5 +598,10 @@
test_size, test_loop, ion_heap, rnd_offset))
return 1;
+ verbose("\nSecure Data Path basic accesses: NS invokes SDP pTA (shall fail)\n");
+ if (sdp_basic_test(TEST_NS_TO_PTA,
+ test_size, test_loop, ion_heap, rnd_offset))
+ verbose("-> false negative: pTAs refuse SDP memref from NS clients.\n");
+
return 0;
}