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>
1 parent 26ea390 commit 1dd022ca6a820b30faa91187572d4c0ce8fdb270
@Jeenu Viswambharan Jeenu Viswambharan authored on 10 Jan 2018
Showing 1 changed file
View
services/spd/tspd/tspd_main.c