[SPM] checks if SIMD vectors are preserved
Populates the SIMD registers in the normal world, then modifies those in
the secure world. Upon return to the normal world checks that vectors
are restored to the original values.
Note: Does not check if SIMD vectors are preserved when returning back
to the secure world.
Signed-off-by: Olivier Deprez <olivier.deprez@arm.com>
Signed-off-by: Max Shvetsov <maksims.svecovs@arm.com>
Change-Id: I3ae223af64597f83afa6624122109db2cf0077f7
diff --git a/spm/cactus/cactus_main.c b/spm/cactus/cactus_main.c
index 1d81988..87ef837 100644
--- a/spm/cactus/cactus_main.c
+++ b/spm/cactus/cactus_main.c
@@ -282,6 +282,10 @@
ffa_ret = cactus_error_resp(vm_id, source);
break;
}
+ case CACTUS_REQ_SIMD_FILL_CMD:
+ fill_simd_vectors();
+ ffa_ret = cactus_success_resp(vm_id, source);
+ break;
default:
/*
* Currently direct message test is handled here.