diff options
author | johpow01 <john.powell@arm.com> | 2020-09-17 19:46:01 -0500 |
---|---|---|
committer | John Powell <john.powell@arm.com> | 2020-10-07 18:22:49 +0000 |
commit | 42318aa055e813a509be1710c6730234bec5698d (patch) | |
tree | 59c6b80b9f46b0a8dfe1986b2e86444c265fe9b2 /tftf/tests/tests-sdei.mk | |
parent | da5f4e36b2bb34f4df3b7ddb3f5424005b8f5bb4 (diff) | |
download | tf-a-tests-42318aa055e813a509be1710c6730234bec5698d.tar.gz |
Add test for SDEI RM_ANY routing mode
Previously, there were no tests using the RM_ANY routing mode. That
particular flag doesn't affect code flow very much, it's mainly used
for GIC configuration of the interrupt, so this is a test of basic
functionality.
This test case makes sure RM_ANY event registrtation works and that
events can be routed to all CPUs. It does this by registering an SDEI
event with the RM_ANY flag, powering up all CPUs, then generating
events. Each time a CPU receives an event it shuts off and the process
repeats. Every CPU must receive a single event or the test will not
pass.
Signed-off-by: John Powell <john.powell@arm.com>
Change-Id: I1ebd0565158d93bddbf58d680d4696086ac00234
Diffstat (limited to 'tftf/tests/tests-sdei.mk')
-rw-r--r-- | tftf/tests/tests-sdei.mk | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tftf/tests/tests-sdei.mk b/tftf/tests/tests-sdei.mk index 47bd5069e..0c495d99f 100644 --- a/tftf/tests/tests-sdei.mk +++ b/tftf/tests/tests-sdei.mk @@ -1,5 +1,5 @@ # -# Copyright (c) 2018, Arm Limited. All rights reserved. +# Copyright (c) 2020, Arm Limited. All rights reserved. # # SPDX-License-Identifier: BSD-3-Clause # @@ -9,4 +9,5 @@ TESTS_SOURCES += \ sdei_entrypoint.S \ test_sdei.c \ test_sdei_state.c \ + test_sdei_rm_any.c \ ) |