History

arm64: smp: Treat unknown boot failures as being 'stuck in kernel'

When we fail to bring a secondary CPU online and it fails in an unknown state, we should assume the worst and increment 'cpus_stuck_in_kernel' so that things like kexec() are disabled.

Will Deacon committed 7 years ago

Commit ebef7461 parent 5b1cfe31 file · +1 −0Browse files

Unified · Split

arch/arm64/kernel/smp.c+1−0
@@ -147,6 +147,7 @@ int __cpu_up(unsigned int cpu, struct task_struct *idle) · 146 unmodified lines
147 default:147 default:
148 pr_err("CPU%u: failed in unknown state : 0x%lx\n",148 pr_err("CPU%u: failed in unknown state : 0x%lx\n",
149 cpu, status);149 cpu, status);
150 cpus_stuck_in_kernel++;
150 break;151 break;
151 case CPU_KILL_ME:152 case CPU_KILL_ME:
152 if (!op_cpu_kill(cpu)) {153 if (!op_cpu_kill(cpu)) {

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t