From a5fea8105887d0dd15edf94aebd591b1b6b5ef05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pali=20Roh=C3=A1r?= Date: Tue, 22 Jun 2021 20:23:38 +0200 Subject: [PATCH] fix(plat/ea_handler): print newline before fatal abort error message MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit External Abort may happen also during printing of some messages by U-Boot or kernel. So print newline before fatal abort error message. Signed-off-by: Pali Rohár Change-Id: Ic7579b605e695c2e4cb9a4f5cdc2d0b3e5083e49 --- plat/common/aarch64/plat_common.c | 1 + 1 file changed, 1 insertion(+) diff --git a/plat/common/aarch64/plat_common.c b/plat/common/aarch64/plat_common.c index ba4c366a9..5b3262c7d 100644 --- a/plat/common/aarch64/plat_common.c +++ b/plat/common/aarch64/plat_common.c @@ -90,6 +90,7 @@ void plat_ea_handler(unsigned int ea_reason, uint64_t syndrome, void *cookie, #endif unsigned int level = (unsigned int)GET_EL(read_spsr_el3()); + ERROR_NL(); ERROR("Unhandled External Abort received on 0x%lx from %s\n", read_mpidr_el1(), get_el_str(level)); ERROR("exception reason=%u syndrome=0x%llx\n", ea_reason, syndrome);