ci(panic): add D128 support to EL3 crash handler
This patch modifies an existing run configuration to include
FEAT_D128 support when running the FVP model.
Change-Id: I987db3ce0a933ecdfce8c854d267fbf45496943a
Signed-off-by: Igor Podgainõi <igor.podgainoi@arm.com>
diff --git a/group/tf-l2-boot-tests-misc/fvp-crash-report,fvp-default:fvp-tftf-fip.tftf-aemv8a.runtime_bl31_main_panic+d128-debug b/group/tf-l2-boot-tests-misc/fvp-crash-report,fvp-default:fvp-tftf-fip.tftf-aemv8a.runtime_bl31_main_panic+d128-debug
new file mode 100644
index 0000000..7c2a69d
--- /dev/null
+++ b/group/tf-l2-boot-tests-misc/fvp-crash-report,fvp-default:fvp-tftf-fip.tftf-aemv8a.runtime_bl31_main_panic+d128-debug
@@ -0,0 +1,6 @@
+#
+# Copyright (c) 2025, Arm Limited. All rights reserved.
+#
+# SPDX-License-Identifier: BSD-3-Clause
+#
+
diff --git a/model/base-aemva-common.sh b/model/base-aemva-common.sh
index f9f2fa1..68d7855 100644
--- a/model/base-aemva-common.sh
+++ b/model/base-aemva-common.sh
@@ -1,6 +1,6 @@
#!/usr/bin/env bash
#
-# Copyright (c) 2019-2024, Arm Limited. All rights reserved.
+# Copyright (c) 2019-2025, Arm Limited. All rights reserved.
#
# SPDX-License-Identifier: BSD-3-Clause
#
@@ -538,16 +538,16 @@
# FEAT_THE is enabled
if [ "$has_translation_hardening" = "1" ]; then
cat <<EOF >>"$model_param_file"
--C cluster0.has_translation_hardening=1
--C cluster1.has_translation_hardening=1
+-C cluster0.has_translation_hardening=2
+-C cluster1.has_translation_hardening=2
EOF
fi
# FEAT_D128 is enabled
if [ "$has_d128" = "1" ]; then
cat <<EOF >>"$model_param_file"
--C cluster0.has_128_bit_tt_descriptors="1"
--C cluster1.has_128_bit_tt_descriptors="1"
+-C cluster0.has_128_bit_tt_descriptors=2
+-C cluster1.has_128_bit_tt_descriptors=2
EOF
fi
diff --git a/run_config/fvp-aemv8a.runtime_bl31_main_panic+d128 b/run_config/fvp-aemv8a.runtime_bl31_main_panic+d128
new file mode 100644
index 0000000..41a4227
--- /dev/null
+++ b/run_config/fvp-aemv8a.runtime_bl31_main_panic+d128
@@ -0,0 +1,21 @@
+#!/usr/bin/env bash
+#
+# Copyright (c) 2025, Arm Limited. All rights reserved.
+#
+# SPDX-License-Identifier: BSD-3-Clause
+#
+
+pre_tf_build() {
+ # Apply fault injection patches
+ apply_tf_patch "fault_inject/induce_bl31_main_panic.patch"
+}
+
+generate_lava_job() {
+ local model="base-aemv8a"
+
+ uart="0" timeout="60" file="bl31_boot.exp" track_expect
+ uart="1" timeout="60" file="bl31_main_panic.exp" set_primary="1" track_expect
+
+ model="$model" has_d128="1" gen_model_params
+ model="$model" gen_fvp_yaml
+}