• Soby Mathew's avatar
    Enable use of FIQs and IRQs as TSP interrupts · 02446137
    Soby Mathew authored
    On a GICv2 system, interrupts that should be handled in the secure world are
    typically signalled as FIQs. On a GICv3 system, these interrupts are signalled
    as IRQs instead. The mechanism for handling both types of interrupts is the same
    in both cases. This patch enables the TSP to run on a GICv3 system by:
    
    1. adding support for handling IRQs in the exception handling code.
    2. removing use of "fiq" in the names of data structures, macros and functions.
    
    The build option TSPD_ROUTE_IRQ_TO_EL3 is deprecated and is replaced with a
    new build flag TSP_NS_INTR_ASYNC_PREEMPT. For compatibility reasons, if the
    former build flag is defined, it will be used to define the value for the
    new build flag. The documentation is also updated accordingly.
    
    Change-Id: I1807d371f41c3656322dd259340a57649833065e
    02446137
tspd_pm.c 8.97 KB