ci(rng-trap): added build and run conf for tests

Config settings for TF-A and TFTF have been added as well as run
configs. This will perform the test created for FEAT_RNG_TRAP and
will expect an EL3 exception to be triggered, which will generate
a system panic, since no handler is set for such exception.

Signed-off-by: Juan Pablo Conde <juanpablo.conde@arm.com>
Change-Id: Ic86a1f187004312c6778641d0967ffaa99e945c0
diff --git a/model/base-aemva-common.sh b/model/base-aemva-common.sh
index 9afec2e..db76fa5 100644
--- a/model/base-aemva-common.sh
+++ b/model/base-aemva-common.sh
@@ -65,6 +65,12 @@
 # Enable FEAT_RME
 reset_var has_rme
 
+# Enable FEAT_RNG
+reset_var has_rng
+
+# Enable FEAT_RNG_TRAP
+reset_var has_rng_trap
+
 # Layout of MPIDR. 0=AFF0 is CPUID, 1=AFF1 is CPUID
 reset_var mpidr_layout
 
@@ -293,6 +299,12 @@
 EOF
 fi
 
+if [ "$arch_version" = "8.8" ]; then
+	cat <<EOF >>"$model_param_file"
+-C cluster0.has_arm_v8-8=1
+EOF
+fi
+
 # Parameters for fault injection
 if [ "$fault_inject" = "1" ]; then
 	cat <<EOF >>"$model_param_file"
@@ -332,6 +344,20 @@
 EOF
 fi
 
+# FEAT_RNG is enabled
+if [ "$has_rng" = "1" ]; then
+	cat <<EOF >>"$model_param_file"
+-C cluster0.has_rndr=1
+EOF
+fi
+
+# FEAT_RNG_TRAP is enabled
+if [ "$has_rng_trap" = "1" ]; then
+	cat <<EOF >>"$model_param_file"
+-C cluster0.has_rndr_trap=1
+EOF
+fi
+
 #------------ Cluster1 configuration (if exists) --------------
 if [ "$is_dual_cluster" = "1" ]; then
 	cat <<EOF >>"$model_param_file"
@@ -428,6 +454,12 @@
 EOF
 fi
 
+if [ "$arch_version" = "8.8" ]; then
+	cat <<EOF >>"$model_param_file"
+-C cluster1.has_arm_v8-8=1
+EOF
+fi
+
 # Parameters for fault injection
 if [ "$fault_inject" = "1" ]; then
 	cat <<EOF >>"$model_param_file"
@@ -466,6 +498,21 @@
 -C cluster1.PA_SIZE=48
 EOF
 fi
+
+# FEAT_RNG is enabled
+if [ "$has_rng" = "1" ]; then
+	cat <<EOF >>"$model_param_file"
+-C cluster1.has_rndr=1
+EOF
+fi
+
+# FEAT_RNG_TRAP is enabled
+if [ "$has_rng_trap" = "1" ]; then
+	cat <<EOF >>"$model_param_file"
+-C cluster1.has_rndr_trap=1
+EOF
+fi
+
 fi
 
 # 48bit PA size: in order to access memory in high address ranges the