This change is to fix lost and mess up of Kernel messages while restarting or shutting down. If the console lock is held by other CPU running while the system is restarting or shutting down, the Kernel messages in the printk log buffer can not be printed out to the console drivers. The Kernel messages can be lost or messed up. This change calls console_unlock after SMP stopped to flush the kernel messages in the printk log buffer to the console drivers.
Jinyoung Park (1): arch: arm64: process: Unlock console after SMP stopped arch/arm64/kernel/process.c | 4 ++++ 1 file changed, 4 insertions(+)