• Russell King's avatar
    ARM: smp: improve CPU bringup failure diagnostics · 58613cd1
    Russell King authored
    We used to print a bland error message which gave no clue as to the
    failure when we failed to bring up a secondary CPU.  Resolve this by
    separating the two failure cases.
    
    If boot_secondary() fails, we print a message indicating the returned
    error code from boot_secondary():
    	"CPU%u: failed to boot: %d\n", cpu, ret.
    
    However, if boot_secondary() succeeded, but the CPU did not appear to
    mark itself online within the timeout, indicate that it failed to come
    online:
    	"CPU%u: failed to come online\n", cpu
    Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
    58613cd1
smp.c 16.5 KB