feat(cpufeat): add support to enable FEAT_FGWTE3 in fvp

This patch enables support for FEAT_FGWTE3 in the model.

Change-Id: I6140f63ce58bedc07fa0aa2abeb8b399f1c2fcfe
Signed-off-by: Arvind Ram Prakash <arvind.ramprakash@arm.com>
diff --git a/model/base-aemva-common.sh b/model/base-aemva-common.sh
index febe889..7bbc6bf 100644
--- a/model/base-aemva-common.sh
+++ b/model/base-aemva-common.sh
@@ -111,6 +111,9 @@
 # Enable FEAT_FGT2
 reset_var has_fgt2
 
+# Enable FEAT_FGWTE3
+reset_var has_fgwte3
+
 # Layout of MPIDR. 0=AFF0 is CPUID, 1=AFF1 is CPUID
 reset_var mpidr_layout
 
@@ -481,6 +484,13 @@
 EOF
 fi
 
+if [ "$has_fgwte3" = "1" ]; then
+	cat <<EOF >>"$model_param_file"
+-C cluster0.has_fgwte3=1
+-C cluster1.has_fgwte3=1
+EOF
+fi
+
 if [ "$has_ecv" = "1" ]; then
 	cat <<EOF >>"$model_param_file"
 -C cluster0.ecv_support_level=2
diff --git a/run_config/fvp-aemv8a.all b/run_config/fvp-aemv8a.all
index 9c55dce..d0941de 100644
--- a/run_config/fvp-aemv8a.all
+++ b/run_config/fvp-aemv8a.all
@@ -21,6 +21,7 @@
 		has_sme_fa64="1" \
 		has_mpam="1" \
 		has_ecv="1" \
+		has_fgwte3="1" \
 		has_fpmr="1" \
 		has_translation_hardening="1" \
 		has_d128="1" \
diff --git a/run_config/fvp-aemv8a.all.bmcov b/run_config/fvp-aemv8a.all.bmcov
index d930e1b..7af960f 100644
--- a/run_config/fvp-aemv8a.all.bmcov
+++ b/run_config/fvp-aemv8a.all.bmcov
@@ -26,6 +26,7 @@
 		has_d128="1" \
 		has_brbe="1" \
 		has_trbe="1" \
+		has_fgwte3="1" \
 		has_fgt2="1" \
 		has_csv2_2="1" \
 		has_s1pie="1" \
diff --git a/run_config/fvp-spm.all b/run_config/fvp-spm.all
index a7ab872..ca7b9c4 100644
--- a/run_config/fvp-spm.all
+++ b/run_config/fvp-spm.all
@@ -1,6 +1,6 @@
 #!/usr/bin/env bash
 #
-# Copyright (c) 2024, Arm Limited. All rights reserved.
+# Copyright (c) 2024-2025, Arm Limited. All rights reserved.
 #
 # SPDX-License-Identifier: BSD-3-Clause
 #
@@ -39,6 +39,7 @@
 		has_d128="1" \
 		has_brbe="1" \
 		has_trbe="1" \
+		has_fgwte3="1" \
 		has_fgt2="1" \
 		has_csv2_2="1" \
 		has_s1pie="1" \
diff --git a/run_config/fvp-spm.all.bmcov b/run_config/fvp-spm.all.bmcov
index 467e064..6b55047 100644
--- a/run_config/fvp-spm.all.bmcov
+++ b/run_config/fvp-spm.all.bmcov
@@ -1,6 +1,6 @@
 #!/usr/bin/env bash
 #
-# Copyright (c) 2021-2024, Arm Limited. All rights reserved.
+# Copyright (c) 2021-2025, Arm Limited. All rights reserved.
 #
 # SPDX-License-Identifier: BSD-3-Clause
 #
@@ -43,6 +43,7 @@
 		has_d128="1" \
 		has_brbe="1" \
 		has_trbe="1" \
+		has_fgwte3="1" \
 		has_fgt2="1" \
 		has_csv2_2="1" \
 		has_s1pie="1" \