refactor: rename existing RAS related tests
So far in TF-A, RAS meant Firmware first handling of RAS errors. With
new changes we have two ways to handle RAS errors, Firmware First and
Kernel First.To distinguish between them following changes are done
1. Existing RAS tests are renamed as RAS_FFH
2. The run config for RAS(fvp-aemv8a.fi) applies patches and also
generates the run config. For the KFH support we do not need any
patch application. Move patch application part to new run config
Signed-off-by: Manish Pandey <manish.pandey2@arm.com>
Change-Id: I89365cb96a10c04de0ccc5bc477b52a29f9e6200
diff --git a/group/tf-l3-boot-tests-ras/fvp-ras-fault-inject,fvp-single-fault:fvp-tftf-fip.tftf-aemv8a.fi-debug b/group/tf-l3-boot-tests-ras/fvp-ras-ffh,fvp-single-fault:fvp-tftf-fip.tftf-ras_ffh.patch-aemv8a.fi-debug
similarity index 100%
rename from group/tf-l3-boot-tests-ras/fvp-ras-fault-inject,fvp-single-fault:fvp-tftf-fip.tftf-aemv8a.fi-debug
rename to group/tf-l3-boot-tests-ras/fvp-ras-ffh,fvp-single-fault:fvp-tftf-fip.tftf-ras_ffh.patch-aemv8a.fi-debug
diff --git a/group/tf-l3-boot-tests-ras/fvp-ras-fault-inject,fvp-uncontainable:fvp-tftf.fault-fip.tftf-aemv8a.fi-debug b/group/tf-l3-boot-tests-ras/fvp-ras-ffh,fvp-uncontainable:fvp-tftf.fault-fip.tftf-ras_ffh.patch-aemv8a.fi-debug
similarity index 100%
rename from group/tf-l3-boot-tests-ras/fvp-ras-fault-inject,fvp-uncontainable:fvp-tftf.fault-fip.tftf-aemv8a.fi-debug
rename to group/tf-l3-boot-tests-ras/fvp-ras-ffh,fvp-uncontainable:fvp-tftf.fault-fip.tftf-ras_ffh.patch-aemv8a.fi-debug
diff --git a/run_config/fvp-aemv8a.fi b/run_config/fvp-aemv8a.fi
index 17059e8..10e627d 100644
--- a/run_config/fvp-aemv8a.fi
+++ b/run_config/fvp-aemv8a.fi
@@ -5,13 +5,6 @@
# SPDX-License-Identifier: BSD-3-Clause
#
-pre_tf_build() {
- # Apply fault injection patches
- apply_tf_patch "fault_inject/injected-fault-record-and-handler.patch"
- apply_tf_patch "fault_inject/explicit-events.patch"
- apply_tf_patch "fault_inject/fvp-fault-handlers.patch"
-}
-
generate_lava_job() {
local model="base-aemv8a"
diff --git a/run_config/fvp-ras_ffh.patch b/run_config/fvp-ras_ffh.patch
new file mode 100644
index 0000000..246598e
--- /dev/null
+++ b/run_config/fvp-ras_ffh.patch
@@ -0,0 +1,13 @@
+#!/usr/bin/env bash
+#
+# Copyright (c) 2023, Arm Limited. All rights reserved.
+#
+# SPDX-License-Identifier: BSD-3-Clause
+#
+
+pre_tf_build() {
+ # Apply fault injection patches
+ apply_tf_patch "fault_inject/injected-fault-record-and-handler.patch"
+ apply_tf_patch "fault_inject/explicit-events.patch"
+ apply_tf_patch "fault_inject/fvp-fault-handlers.patch"
+}
diff --git a/tf_config/fvp-ras-fault-inject b/tf_config/fvp-ras-ffh
similarity index 100%
rename from tf_config/fvp-ras-fault-inject
rename to tf_config/fvp-ras-ffh