fix(plat/arm): exclude FF-A v1.1 secure interrupt tests
Excluded tests are not run but are still built. Specify TWDOG
parameters for Arm Reference platforms to avoid below compilation
errors.
This is only a temporary fix. These platforms do not have SP805 IP.
They implement Generic Watchdog IP.
tftf/tests/runtime_services/secure_service/test_ffa_secure_interrupts.c:29:50: error: 'IRQ_TWDOG_INTID' undeclared (first use in this function)
29 | ret_values = cactus_interrupt_cmd(source, dest, IRQ_TWDOG_INTID,
| ^~~~~~~~~~~~~~~
tftf/tests/runtime_services/secure_service/test_ffa_secure_interrupts.c:29:50: note: each undeclared identifier is reported only once for each function it appears in
make: *** [Makefile:512: build/rdn1edge/debug/tftf/test_ffa_secure_interrupts.o] Error 1
drivers/arm/sp805/sp805.c: In function 'sp805_twdog_start':
drivers/arm/sp805/sp805.c:172:20: error: 'SP805_TWDOG_BASE' undeclared (first use in this function); did you mean 'SP805_WDOG_BASE'?
172 | sp805_wdog_start_(SP805_TWDOG_BASE, wdog_cycles);
| ^~~~~~~~~~~~~~~~
| SP805_WDOG_BASE
drivers/arm/sp805/sp805.c:172:20: note: each undeclared identifier is reported only once for each function it appears in
Signed-off-by: Madhukar Pappireddy <madhukar.pappireddy@arm.com>
Change-Id: Ic1e549716dd6aea4d794b964a76c402bf71a6179
diff --git a/plat/arm/tc0/include/platform_def.h b/plat/arm/tc0/include/platform_def.h
index 9df99d1..2fa17e6 100644
--- a/plat/arm/tc0/include/platform_def.h
+++ b/plat/arm/tc0/include/platform_def.h
@@ -48,6 +48,10 @@
/* Base address of non-trusted watchdog (SP805) */
#define SP805_WDOG_BASE 0x1C0F0000
+/* Base address of trusted watchdog (SP805) */
+#define SP805_TWDOG_BASE 0x2A480000
+#define IRQ_TWDOG_INTID 86
+
/* Base address and size of external NVM flash */
#define FLASH_BASE 0x08000000
diff --git a/plat/arm/tc0/tests_to_skip.txt b/plat/arm/tc0/tests_to_skip.txt
index 0d1c16d..4ea84c3 100644
--- a/plat/arm/tc0/tests_to_skip.txt
+++ b/plat/arm/tc0/tests_to_skip.txt
@@ -10,3 +10,6 @@
# PSCI is enabled but not tested
PSCI STAT/Stats test cases after system suspend
PSCI System Suspend Validation
+
+# Disable FF-A Interrupt tests
+FF-A Interrupt