Exception: Fix PSPSEL for ARMv8-M exception

EXC_RETURN.PSPSEL should be used only if EXC_RETURN.S is equal to
EXC_RETURN.ES (captured by ExceptionTaken). Otherwise CONTROL of
interrupted state should be used to evaluate SPSEL.

This patch use CONTROL_NS.SPSEL to evaluate PSP to capture exception
info generated by non-secure code.

Signed-off-by: Roman Mazurak <roman.mazurak@infineon.com>
Change-Id: I3b71557e44539d92f19541ffb8342c763a847892
1 file changed