Commit 99aa0362 authored by Suzuki K Poulose's avatar Suzuki K Poulose Committed by Will Deacon

arm64: secondary_start_kernel: Remove unnecessary barrier

Remove the unnecessary smp_wmb(), which was added to make sure
that the update_cpu_boot_status() completes before we mark the
CPU online. But update_cpu_boot_status() already has dsb() (required
for the failing CPUs) to ensure the correct behavior.

Cc: Catalin Marinas <>
Acked-by: default avatarMark Rutland <>
Reported-by: default avatarDennis Chen <>
Signed-off-by: default avatarSuzuki K Poulose <>
Signed-off-by: default avatarWill Deacon <>
parent 5bb1cc0f
......@@ -264,8 +264,6 @@ asmlinkage void secondary_start_kernel(void)
pr_info("CPU%u: Booted secondary processor [%08x]\n",
cpu, read_cpuid_id());
/* Make sure the status update is visible before we complete */
set_cpu_online(cpu, true);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment