diff options
author | Govindraj Raja <govindraj.raja@arm.com> | 2023-02-21 17:43:55 +0000 |
---|---|---|
committer | Govindraj Raja <govindraj.raja@arm.com> | 2023-02-22 17:24:17 +0000 |
commit | 17d07a552b396a282eed52bfd6bac01052a1a978 (patch) | |
tree | 4e25d36c832685281f74ac951c305a34a73e9f1c /docs/getting_started | |
parent | bd62ce98d2c9ef164456c6477b2e21172165dc11 (diff) | |
download | arm-trusted-firmware-17d07a552b396a282eed52bfd6bac01052a1a978.tar.gz |
refactor(bl31): use elx_panic for sysreg_handler64
When we reach sysreg_handler64 from any trap handling we are entering
this path from lower EL and thus we should be calling lower_el_panic
reporting mechanism to print panic report.
Make report_elx_panic available through assembly func elx_panic which
could be used for reporting any lower_el_panic.
Change-Id: Ieb260cf20ea327a59db84198b2c6a6bfc9ca9537
Signed-off-by: Govindraj Raja <govindraj.raja@arm.com>
Diffstat (limited to 'docs/getting_started')
-rw-r--r-- | docs/getting_started/porting-guide.rst | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/docs/getting_started/porting-guide.rst b/docs/getting_started/porting-guide.rst index 98568cd7a..6ac284bec 100644 --- a/docs/getting_started/porting-guide.rst +++ b/docs/getting_started/porting-guide.rst @@ -3204,6 +3204,17 @@ as Group 0 secure interrupt, Group 1 secure interrupt or Group 1 NS interrupt. Common helper functions ----------------------- +Function : elx_panic() +~~~~~~~~~~~~~~~~~~~~~~ + +:: + + Argument : void + Return : void + +This API is called from assembly files when reporting a critical failure +that has occured in lower EL and is been trapped in EL3. This call +**must not** return. Function : el3_panic() ~~~~~~~~~~~~~~~~~~~~~~ @@ -3539,7 +3550,7 @@ amount of open resources per driver. -------------- -*Copyright (c) 2013-2022, Arm Limited and Contributors. All rights reserved.* +*Copyright (c) 2013-2023, Arm Limited and Contributors. All rights reserved.* .. _PSCI: http://infocenter.arm.com/help/topic/com.arm.doc.den0022c/DEN0022C_Power_State_Coordination_Interface.pdf .. _Arm Generic Interrupt Controller version 2.0 (GICv2): http://infocenter.arm.com/help/topic/com.arm.doc.ihi0048b/index.html |