Add S-EL1 interrupt handling support in the TSPD
authorAchin Gupta <achin.gupta@arm.com>
Fri, 9 May 2014 12:21:31 +0000 (13:21 +0100)
committerAchin Gupta <achin.gupta@arm.com>
Thu, 22 May 2014 16:54:46 +0000 (17:54 +0100)
commitb44a4435c9a788293371a3de3f08db7fa3862a1f
treef80484a2e7d52e00e120314793f3f522c47899e6
parent57356e9094ac5ecbca29131a3c53c6978457350f
Add S-EL1 interrupt handling support in the TSPD

This patch adds support in the TSPD for registering a handler for
S-EL1 interrupts. This handler ferries the interrupts generated in the
non-secure state to the TSP at 'tsp_fiq_entry'. Support has been added
to the smc handler to resume execution in the non-secure state once
interrupt handling has been completed by the TSP.

There is also support for resuming execution in the normal world if
the TSP receives a EL3 interrupt. This code is currently unused.

Change-Id: I816732595a2635e299572965179f11aa0bf93b69
include/bl31/runtime_svc.h
services/spd/tspd/tspd_common.c
services/spd/tspd/tspd_main.c
services/spd/tspd/tspd_private.h