feat(rmm-eac5): update RSI_VERSION, RMI_VERSION
This patch adds necessary support for RMI_VERSION
and RSI_VERSION commands.
Macro SMC_RSI_ABI_VERSION renamed to SMC_RSI_VERSION.
Note.
This patch sets both RSI and RMI version numbers to
1.0 as per RMM Specification 1.0-eac5.
Signed-off-by: Shruti Gupta <shruti.gupta@arm.com>
Change-Id: If4eb14d93f657388e2fe64ceefee002403cc4ae8
diff --git a/include/common/test_helpers.h b/include/common/test_helpers.h
index 4972d6a..6b44d0a 100644
--- a/include/common/test_helpers.h
+++ b/include/common/test_helpers.h
@@ -294,7 +294,7 @@
#define SKIP_TEST_IF_RME_NOT_SUPPORTED_OR_RMM_IS_TRP() \
do { \
- u_register_t retrmm; \
+ u_register_t retrmm = 0U; \
\
if (!get_armv9_2_feat_rme_support()) { \
tftf_testcase_printf("FEAT_RME not supported\n"); \
@@ -302,7 +302,7 @@
} \
\
host_rmi_init_cmp_result(); \
- retrmm = host_rmi_version(); \
+ retrmm = host_rmi_version(RMI_ABI_VERSION_VAL); \
\
VERBOSE("RMM version is: %lu.%lu\n", \
RMI_ABI_VERSION_GET_MAJOR(retrmm), \