Some exceptions (like from calling a NULL function pointer) are easier to narrow down with a dump of the call stack. Let's take a page out of ARM32's book and add that feature to ARM64 as well. Also change the output format to two register columns, to make it easier to fit a whole exception dump on one screen.
Applying to both coreboot and libpayload and syncing the output format between both back up.
Change-Id: I19768d13d8fa8adb84f0edda2af12f20508eb2db
2c51572 arm64: Add stack dump to exception handler
payloads/libpayload/arch/arm64/exception.c | 30 +++++++++++++++++++---
src/arch/arm64/armv8/exception.c | 38 ++++++++++++++++++++--------
2 files changed, 54 insertions(+), 14 deletions(-)
Upstream: review.coreboot.org