diff options
author | Manish Pandey <manish.pandey2@arm.com> | 2022-03-08 13:35:56 +0000 |
---|---|---|
committer | Manish Pandey <manish.pandey2@arm.com> | 2022-03-08 14:25:14 +0000 |
commit | 6888feeb8e873b311b19b805990e3b2f25f7becf (patch) | |
tree | a917503f7b79fe7badd9e1b2dd84bef73f3ee590 /spm | |
parent | 0c2a132bb2be5c1feb4a967952123f427ff0bcda (diff) |
fix(tftf): remove invalid_access test from standard tests
Invalid_access test suite performs negative tests by accessing invalid
memory and catching it in custom exception handler.
This test suite was made part of standard tests which is called for all
platforms and each EL3 configuration. This test was failing for the
case when EL3 was build with "HANDLE_EA_EL3_FIRST = 1" causing
exceptions to be trapped in EL3 and not forwarded to EL2 to be handled
by custom exception handler.
To avoid this problem, remove this suite from standard test and
introduce a new test configuration.
This patch also fixes a minor compilation error in file
cactus_test_memory_sharing.c
Signed-off-by: Manish Pandey <manish.pandey2@arm.com>
Change-Id: I8a13617a01411be45c623dde2ccfc7d950f05f9a
Diffstat (limited to 'spm')
-rw-r--r-- | spm/cactus/cactus_tests/cactus_test_memory_sharing.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spm/cactus/cactus_tests/cactus_test_memory_sharing.c b/spm/cactus/cactus_tests/cactus_test_memory_sharing.c index 051208e..872cb41 100644 --- a/spm/cactus/cactus_tests/cactus_test_memory_sharing.c +++ b/spm/cactus/cactus_tests/cactus_test_memory_sharing.c @@ -22,7 +22,7 @@ static bool data_abort_gpf_handler(void) { uint64_t esr_el1 = read_esr_el1(); - VERBOSE("%s count %u esr_el1 %llx elr_el1 %llx\n", + VERBOSE("%s count %u esr_el1 %llx elr_el1 %lx\n", __func__, data_abort_gpf_triggered, esr_el1, read_elr_el1()); |