diff options
Diffstat (limited to 'common/context_mgmt.c')
-rw-r--r-- | common/context_mgmt.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/common/context_mgmt.c b/common/context_mgmt.c index 68ec8945..586d42a4 100644 --- a/common/context_mgmt.c +++ b/common/context_mgmt.c @@ -111,6 +111,11 @@ static void cm_init_context_common(cpu_context_t *ctx, const entry_point_info_t if (EP_GET_ST(ep->h.attr)) scr_el3 |= SCR_ST_BIT; +#ifndef HANDLE_EA_EL3_FIRST + /* Explicitly stop to trap aborts from lower exception levels. */ + scr_el3 &= ~SCR_EA_BIT; +#endif + #if IMAGE_BL31 /* * IRQ/FIQ bits only need setting if interrupt routing |