From 369955abac0a083f57bfb787eeda82a511eb8fc0 Mon Sep 17 00:00:00 2001 From: Shruti Gupta Date: Wed, 19 Apr 2023 18:05:56 +0100 Subject: test(tftf): test FPU state registers context is preserved in RL/SE/NS Test that FPU/SIMD state are preserved during a randomly context switch between secure/non-secure/realm(R-EL1)worlds. FPU/SIMD state consist of the 32 SIMD vectors, FPCR and FPSR registers, the test runs for 1000 iterations with random combination of: SECURE_FILL_FPU, SECURE_READ_FPU, REALM_FILL_FPU, REALM_READ_FPU, NONSECURE_FILL_FPU, NONSECURE_READ_FPU commands,to test all possible situations of synchronous context switch between worlds, while the content of those registers is being used. Signed-off-by: Nabil Kahlouche Signed-off-by: Shruti Gupta Change-Id: I6da5fd334777000111924bb1239b77123a3dcea6 --- include/runtime_services/host_realm_managment/host_shared_data.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'include/runtime_services/host_realm_managment/host_shared_data.h') diff --git a/include/runtime_services/host_realm_managment/host_shared_data.h b/include/runtime_services/host_realm_managment/host_shared_data.h index ca379e2..7720334 100644 --- a/include/runtime_services/host_realm_managment/host_shared_data.h +++ b/include/runtime_services/host_realm_managment/host_shared_data.h @@ -43,7 +43,9 @@ enum realm_cmd { REALM_PMU_CYCLE, REALM_PMU_EVENT, REALM_PMU_PRESERVE, - REALM_PMU_INTERRUPT + REALM_PMU_INTERRUPT, + REALM_REQ_FPU_FILL_CMD, + REALM_REQ_FPU_CMP_CMD }; /* -- cgit v1.2.3