arm-trusted-firmware/bl31
Varun Wadekar df56e9d199 fix(bl31): pass the EA bit to 'delegate_sync_ea'
During a synchronous exception, the 'enter_lower_el_sync_ea' handler
tests the ESR_EL3 EA bit and calls 'report_unhandled_exception', if
it is not set.

EA = 0 and IFSC = SEA, seems to be a contradiction. EA provides further
classification of a synchronous abort. A synchronous abort is determined
by the IFSC value on an instruction fetch synchronous abort. As a result,
EA will never be set to 1 on an instruction fetch synchronous abort and
'report_unhandled_exception' should not be called.

This patch removes this behavior to allow the platform to handle the
exception.

Signed-off-by: Nicolas Benech <nbenech@nvidia.com>
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Change-Id: I3f004447ad4316d81649063e1ffb3ac644c83ede
2022-08-03 12:01:36 +01:00
..
aarch64 fix(bl31): pass the EA bit to 'delegate_sync_ea' 2022-08-03 12:01:36 +01:00
bl31.ld.S Increase type widths to satisfy width requirements 2020-10-12 10:55:03 -05:00
bl31.mk feat(brbe): add BRBE support for NS world 2022-05-05 19:43:10 +02:00
bl31_context_mgmt.c feat(rme): add context management changes for FEAT_RME 2021-10-05 18:41:35 +02:00
bl31_main.c refactor(context mgmt): add cm_prepare_el3_exit_ns function 2022-04-12 17:42:11 +02:00
ehf.c Minor changes to documentation and comments 2019-02-28 13:35:21 +00:00
interrupt_mgmt.c Use correct type when reading SCR register 2020-01-28 11:10:48 +00:00