aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorVarun Wadekar <vwadekar@nvidia.com>2018-08-10 09:55:25 -0700
committerVarun Wadekar <vwadekar@nvidia.com>2020-03-11 13:40:06 -0700
commitd205cda6fdd3b2c44f3983fe0f6ada1573d5e85c (patch)
tree08ecce5f67e05ce7d2b8b96727c440671a61f3ce /include
parent91dd7edd31c6626214c1198f60043067bba42f7c (diff)
downloadplatform_external_arm-trusted-firmware-d205cda6fdd3b2c44f3983fe0f6ada1573d5e85c.tar.gz
platform_external_arm-trusted-firmware-d205cda6fdd3b2c44f3983fe0f6ada1573d5e85c.tar.bz2
platform_external_arm-trusted-firmware-d205cda6fdd3b2c44f3983fe0f6ada1573d5e85c.zip
spd: tlkd: secure timer interrupt handler
This patch adds an interrupt handler for TLK. On receiving an interrupt, the source of the interrupt is determined and the interrupt is marked complete. The IRQ number is passed to TLK along with a special SMC function ID. TLK issues an SMC to notify completion of the interrupt handler in the S-EL1 world. Change-Id: I76f28cee6537245c5e448d2078f86312219cea1a Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Diffstat (limited to 'include')
-rw-r--r--include/bl32/payloads/tlk.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/bl32/payloads/tlk.h b/include/bl32/payloads/tlk.h
index ce8e3e890..fe6f3528b 100644
--- a/include/bl32/payloads/tlk.h
+++ b/include/bl32/payloads/tlk.h
@@ -27,6 +27,7 @@
#define TLK_SYSTEM_SUSPEND TLK_TOS_YIELD_FID(0xE001)
#define TLK_SYSTEM_RESUME TLK_TOS_YIELD_FID(0xE002)
#define TLK_SYSTEM_OFF TLK_TOS_YIELD_FID(0xE003)
+#define TLK_IRQ_FIRED TLK_TOS_YIELD_FID(0xE004)
/*
* SMC function IDs that TLK uses to signal various forms of completions
@@ -39,6 +40,7 @@
#define TLK_SUSPEND_DONE (0x32000005 | (ULL(1) << 31))
#define TLK_RESUME_DONE (0x32000006 | (ULL(1) << 31))
#define TLK_SYSTEM_OFF_DONE (0x32000007 | (ULL(1) << 31))
+#define TLK_IRQ_DONE (0x32000008 | (ULL(1) << 31))
/*
* Trusted Application specific function IDs