• Pali Rohár's avatar
    Print newline after hex address in aarch64 el3_panic function · 805f22ba
    Pali Rohár authored
    
    
    Make the aarch64's el3_panic() function print a newline character after
    PC address, otherwise the output can get mangled in one line with output
    from other firmware. Here is an example of how the output of el3_panic()
    got mangled with Linux' console output:
    
        ERROR:   Unhandled External Abort received on 0x80000001 at EL3!
        ERROR:    exception reason=1 syndrome=0x92000210
        PANIC at PC : 0x0000000004027400[13438.473133] rcu: INFO: rcu_sched detected stalls on CPUs/tasks:
        [13438.479255] rcu:     1-...0: (4 ticks this GP) idle=35e/1/0x4000000000000000 softirq=146459/146459 fqs=2625
    
    The aarch32 version of this function already does this.
    Signed-off-by: default avatarPali Rohár <pali@kernel.org>
    Change-Id: I9f0d032c6cd1e2be7a1837f9c8e8244d30633993
    805f22ba
debug.S 5.16 KB