commit | a780d10b4f366796966663cf28ac4dff8e0e09e9 | [log] [tgz] |
---|---|---|
author | Roman Mazurak <roman.mazurak@infineon.com> | Mon Feb 05 21:38:34 2024 +0200 |
committer | Anton Komlev <Anton.Komlev@arm.com> | Fri Apr 12 11:30:43 2024 +0200 |
tree | d9f54f4855dfa93b7ad364e8d1443c3ec40dfbcd | |
parent | e6f5d8c065115a2531128066a735cce1345f6197 [diff] |
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