Home
last modified time | relevance | path

Searched hist:"1 dd022ca6a820b30faa91187572d4c0ce8fdb270" (Results 1 – 1 of 1) sorted by relevance

/rk3399_ARM-atf/services/spd/tspd/
H A Dtspd_main.c1dd022ca6a820b30faa91187572d4c0ce8fdb270 Wed Jan 10 15:22:49 UTC 2018 Jeenu Viswambharan <jeenu.viswambharan@arm.com> TSPD: Explicitly allow NS preemption for Yielding SMCs

When EL3 exception handling is in effect (i.e.,
EL3_EXCEPTION_HANDLING=1), Non-secure interrupts can't preempt Secure
execution. However, for yielding SMCs, preemption by Non-secure
interupts is intended.

This patch therefore adds a call to ehf_allow_ns_preemption() before
dispatching a Yielding SMC to TSP.

Change-Id: Ia3a1ae252f3adc0f14e6d7e0502f251bdb349bdf
Signed-off-by: Jeenu Viswambharan <jeenu.viswambharan@arm.com>