Fix TSPD implementation of STD SMC ABORT
ABORT SMC used to return to the previously executing world, which
happened to be S-EL1 as it calls a TSP handler using synchronous entry
into the TSP.

Now properly save and restore the non-secure context (including system
registers) and return to non-secure world as it should.

fixes ARM-Software/tf-issues#453

Change-Id: Ie40c79ca2636ab8b6b2ab3106e8f49e0f9117f5f
Signed-off-by: Douglas Raillard <douglas.raillard@arm.com>
1 parent 93f3982 commit 57a5a56c111cb988e0ee54b57a6b47e5f483dd94
@Douglas Raillard Douglas Raillard authored on 3 Feb 2017
Showing 1 changed file
View
services/spd/tspd/tspd_main.c