summaryrefslogtreecommitdiff
path: root/include/runtime_services/host_realm_managment/host_shared_data.h
diff options
context:
space:
mode:
authorShruti Gupta <shruti.gupta@arm.com>2023-04-19 18:05:56 +0100
committerShruti Gupta <shruti.gupta@arm.com>2023-05-05 13:56:12 +0100
commit369955abac0a083f57bfb787eeda82a511eb8fc0 (patch)
tree54a35fd1b033a708569c91f2dfb1e1516d690cec /include/runtime_services/host_realm_managment/host_shared_data.h
parent38133fa69bfefab6e3d1d7461b42c806d36ae33b (diff)
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 <nabil.kahlouche@arm.com> Signed-off-by: Shruti Gupta <shruti.gupta@arm.com> Change-Id: I6da5fd334777000111924bb1239b77123a3dcea6
Diffstat (limited to 'include/runtime_services/host_realm_managment/host_shared_data.h')
-rw-r--r--include/runtime_services/host_realm_managment/host_shared_data.h4
1 files changed, 3 insertions, 1 deletions
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
};
/*