ci(detect_arch_feat): add feature detection test

This patch adds a test config, to explicitly validate the architectural
feature detection mechanism, which is disabled by default.

Signed-off-by: Jayanth Dodderi Chidanand <jayanthdodderi.chidanand@arm.com>
Change-Id: I3eb5bab46bb93a4d0c746a1e1c5bb764db19c7f3
diff --git a/group/tf-l2-boot-tests-misc/fvp-detect-features,fvp-default:fvp-tftf-fip.tftf-aemv8a.arch_features b/group/tf-l2-boot-tests-misc/fvp-detect-features,fvp-default:fvp-tftf-fip.tftf-aemv8a.arch_features
new file mode 100644
index 0000000..b8939c8
--- /dev/null
+++ b/group/tf-l2-boot-tests-misc/fvp-detect-features,fvp-default:fvp-tftf-fip.tftf-aemv8a.arch_features
@@ -0,0 +1,5 @@
+#
+# Copyright (c) 2022, Arm Limited. All rights reserved.
+#
+# SPDX-License-Identifier: BSD-3-Clause
+#
diff --git a/run_config/fvp-aemv8a.arch_features b/run_config/fvp-aemv8a.arch_features
new file mode 100644
index 0000000..0ae5bd5
--- /dev/null
+++ b/run_config/fvp-aemv8a.arch_features
@@ -0,0 +1,15 @@
+#!/usr/bin/env bash
+#
+# Copyright (c) 2022 Arm Limited. All rights reserved.
+#
+# SPDX-License-Identifier: BSD-3-Clause
+#
+
+post_fetch_tf_resource() {
+	local model="base-aemv8a"
+	model="$model"  arch_version="8.7" \
+		gen_model_params
+
+	model="$model" gen_fvp_yaml
+}
+
diff --git a/tf_config/fvp-detect-features b/tf_config/fvp-detect-features
new file mode 100644
index 0000000..5db6221
--- /dev/null
+++ b/tf_config/fvp-detect-features
@@ -0,0 +1,4 @@
+CROSS_COMPILE=aarch64-none-elf-
+PLAT=fvp
+ARM_ARCH_MINOR=6
+FEATURE_DETECTION=1