Use secure timer to generate S-EL1 interrupts
This patch adds support in the TSP to program the secure physical
generic timer to generate a EL-1 interrupt every half second. It also
adds support for maintaining the timer state across power management
operations. The TSPD ensures that S-EL1 can access the timer by
programming the SCR_EL3.ST bit.

This patch does not actually enable the timer. This will be done in a
subsequent patch once the complete framework for handling S-EL1
interrupts is in place.

Change-Id: I1b3985cfb50262f60824be3a51c6314ce90571bc
1 parent 383d4ac commit 31b57b7e9a731cb6f6975adab03038d4662df7e5
@Achin Gupta Achin Gupta authored on 9 May 2014
Showing 7 changed files
View
bl32/tsp/tsp.mk
View
bl32/tsp/tsp_timer.c 0 → 100644
View
include/bl32/payloads/tsp.h
View
include/lib/aarch64/arch.h
View
include/lib/aarch64/arch_helpers.h
View
lib/aarch64/sysreg_helpers.S
View
services/spd/tspd/tspd_common.c