Dump platform-defined regs in crash reporting
authorGerald Lejeune <gerald.lejeune@st.com>
Thu, 26 Nov 2015 14:47:53 +0000 (15:47 +0100)
committerGerald Lejeune <gerald.lejeune@st.com>
Thu, 14 Apr 2016 15:50:22 +0000 (17:50 +0200)
commit9ff67fa6f25c5a0285eec27f3e86362ae535aac3
treeea7726ead69cc1f901dcca11d49ec758717e5879
parentdf03c6ed42170b900124d75469dad30b95bd5bd1
Dump platform-defined regs in crash reporting

It is up to the platform to implement the new plat_crash_print_regs macro to
report all relevant platform registers helpful for troubleshooting.

plat_crash_print_regs merges or calls previously defined plat_print_gic_regs
and plat_print_interconnect_regs macros for each existing platforms.

NOTE: THIS COMMIT REQUIRES ALL PLATFORMS THAT ENABLE THE `CRASH_REPORTING`
BUILD FLAG TO MIGRATE TO USE THE NEW `plat_crash_print_regs()` MACRO. BY
DEFAULT, `CRASH_REPORTING` IS ENABLED IN DEBUG BUILDS FOR ALL PLATFORMS.

Fixes: arm-software/tf-issues#373
Signed-off-by: Gerald Lejeune <gerald.lejeune@st.com>
bl31/aarch64/crash_reporting.S
docs/porting-guide.md
include/plat/arm/common/aarch64/cci_macros.S
include/plat/arm/css/common/aarch64/css_macros.S
plat/arm/board/fvp/include/plat_macros.S
plat/arm/board/juno/include/plat_macros.S
plat/mediatek/mt8173/include/plat_macros.S
plat/nvidia/tegra/include/plat_macros.S
plat/rockchip/common/include/plat_macros.S
plat/xilinx/zynqmp/include/plat_macros.S