aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tftf/tests/plat/nvidia/tegra194/serror_handler.S6
-rw-r--r--tftf/tests/plat/nvidia/tegra194/test_ras_uncorrectable.c4
2 files changed, 5 insertions, 5 deletions
diff --git a/tftf/tests/plat/nvidia/tegra194/serror_handler.S b/tftf/tests/plat/nvidia/tegra194/serror_handler.S
index f040e5d4..5cbe39a8 100644
--- a/tftf/tests/plat/nvidia/tegra194/serror_handler.S
+++ b/tftf/tests/plat/nvidia/tegra194/serror_handler.S
@@ -8,11 +8,11 @@
#include <asm_macros.S>
#include <sdei.h>
- .globl serror_sdei_event_handler
+ .globl tegra194_serror_sdei_event_handler
/*
* SDEI event handler for SErrors.
*/
-func serror_sdei_event_handler
+func tegra194_serror_sdei_event_handler
stp x29, x30, [sp, #-16]!
bl sdei_handler
ldp x29, x30, [sp], #16
@@ -20,4 +20,4 @@ func serror_sdei_event_handler
mov x1, xzr
smc #0
b .
-endfunc serror_sdei_event_handler
+endfunc tegra194_serror_sdei_event_handler
diff --git a/tftf/tests/plat/nvidia/tegra194/test_ras_uncorrectable.c b/tftf/tests/plat/nvidia/tegra194/test_ras_uncorrectable.c
index b52a35c9..d7316255 100644
--- a/tftf/tests/plat/nvidia/tegra194/test_ras_uncorrectable.c
+++ b/tftf/tests/plat/nvidia/tegra194/test_ras_uncorrectable.c
@@ -23,7 +23,7 @@
static volatile uint64_t fault_received;
/* SDEI handler to receive RAS UC errors */
-extern int serror_sdei_event_handler(int ev, uint64_t arg);
+extern int tegra194_serror_sdei_event_handler(int ev, uint64_t arg);
/* NVIDIA Pseudo fault generation registers */
#define T194_ERXPFGCTL_EL1 S3_0_C15_C1_4
@@ -234,7 +234,7 @@ static void sdei_register_for_event(int event_id)
int64_t ret = 0;
/* Register SDEI handler */
- ret = sdei_event_register(event_id, serror_sdei_event_handler, 0,
+ ret = sdei_event_register(event_id, tegra194_serror_sdei_event_handler, 0,
SDEI_REGF_RM_PE, read_mpidr_el1());
if (ret < 0)
tftf_testcase_printf("SDEI event register failed: 0x%llx\n",