diff options
author | Antonio Nino Diaz <antonio.ninodiaz@arm.com> | 2017-04-11 11:46:55 +0100 |
---|---|---|
committer | Sandrine Bailleux <sandrine.bailleux@arm.com> | 2017-11-08 14:58:33 +0000 |
commit | ef3d1cd24e0a03a540c6f8225efe7f12198cb33b (patch) | |
tree | a0c8315d8634e8128495659abe03ee97703e5887 /plat | |
parent | 53472fa773a82af2831e3f8dc494677d0117c686 (diff) |
Add GICv2 spurious interrupt test
This test verifies that spurious interrupts are handled correctly in
platforms with GICv2.
Test enabled for Juno only.
Change-Id: I34051d4820574286dfd026d0cf9cc264075636c8
Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
Diffstat (limited to 'plat')
-rw-r--r-- | plat/arm/board/juno/platform.mk | 2 | ||||
-rw-r--r-- | plat/arm/board/juno/tests.xml | 29 |
2 files changed, 31 insertions, 0 deletions
diff --git a/plat/arm/board/juno/platform.mk b/plat/arm/board/juno/platform.mk index 649ecaf..4361db7 100644 --- a/plat/arm/board/juno/platform.mk +++ b/plat/arm/board/juno/platform.mk @@ -41,6 +41,8 @@ PLAT_SOURCES := drivers/arm/gic/arm_gic_v2.c \ plat/arm/board/juno/juno_topology.c \ plat/arm/board/juno/plat_setup.c +TESTS_SOURCES += tests/runtime_services/trusted_os/tsp/test_irq_spurious_gicv2.c + PLAT_SUPPORTS_NS_RESET := 1 # Process PLAT_SUPPORTS_NS_RESET flag diff --git a/plat/arm/board/juno/tests.xml b/plat/arm/board/juno/tests.xml new file mode 100644 index 0000000..4731014 --- /dev/null +++ b/plat/arm/board/juno/tests.xml @@ -0,0 +1,29 @@ +<?xml version="1.0" encoding="utf-8"?> + +<!-- + Copyright (c) 2017, ARM Limited. All rights reserved. + + This program and the accompanying materials + are licensed and made available under the terms and conditions of the BSD License + which accompanies this distribution. The full text of the license may be found at + http://opensource.org/licenses/bsd-license.php + + THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, + WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. +--> + +<!-- External reference to the common tests file --> +<!DOCTYPE testsuites [ + <!ENTITY common-tests SYSTEM "../../../../tests/tests-common.xml"> +]> + +<testsuites> + + <!-- Include the common tests --> + &common-tests; + + <testsuite name="Juno - IRQ support in TSP" description="Test the normal IRQ preemption support in TSP."> + <testcase name="Juno - Multicore spurious interrupt test" function="test_juno_multicore_spurious_interrupt" /> + </testsuite> + +</testsuites> |