ci(sme): add build and run configs for SME

TF-A Tests have SME tests but no config in the CI exercise them. This
patch adds an SME config.

Unlike the tests with SVE, SME is not tried with SPM, because SPMD
prohibits SME in Non-Secure world with it enabled.

The CI compiler does not support Armv8.7 so build for Armv8.6 and enable
the features required for 9.2 manually.

Signed-off-by: Boyan Karatotev <boyan.karatotev@arm.com>
Change-Id: If434448da87eda18d3d3995b6eedbe2dd201e98d
diff --git a/model/base-aemva-common.sh b/model/base-aemva-common.sh
index 77b64eb..ed11766 100644
--- a/model/base-aemva-common.sh
+++ b/model/base-aemva-common.sh
@@ -52,6 +52,8 @@
 
 reset_var sve_plugin
 
+reset_var has_sme
+
 reset_var bmcov_plugin
 
 reset_var retain_flash
@@ -110,6 +112,7 @@
 ${sve_plugin+--plugin=$sve_plugin_path}
 ${sve_plugin+-C SVE.ScalableVectorExtension.enable_at_reset=0}
 ${sve_plugin+-C SVE.ScalableVectorExtension.veclen=$((128 / 8))}
+${has_sme+-C SVE.ScalableVectorExtension.has_sme=1}
 
 ${bmcov_plugin+--plugin=$bmcov_plugin_path}
 
@@ -305,6 +308,13 @@
 EOF
 fi
 
+if [ "$arch_version" = "9.2" ]; then
+	cat <<EOF >>"$model_param_file"
+-C cluster0.has_arm_v9-2=1
+-C cluster1.has_arm_v9-2=1
+EOF
+fi
+
 # Parameters for fault injection
 if [ "$fault_inject" = "1" ]; then
 	cat <<EOF >>"$model_param_file"