From: Vijaya Kumar K Date: Wed, 14 Aug 2013 12:28:28 +0000 (+0100) Subject: ARM: 7815/1: kexec: offline non panic CPUs on Kdump panic X-Git-Tag: v3.11-rc7~3^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4f9b4fb7a2091eec339413a460b1665758401828;p=pandora-kernel.git ARM: 7815/1: kexec: offline non panic CPUs on Kdump panic In case of normal kexec kernel load, all cpu's are offlined before calling machine_kexec().But in case crash panic cpus are relaxed in machine_crash_nonpanic_core() SMP function but not offlined. When crash kernel is loaded with kexec and on panic trigger machine_kexec() checks for number of cpus online. If more than one cpu is online machine_kexec() fails to load with below error kexec: error: multiple CPUs still online In machine_crash_nonpanic_core() SMP function, offline CPU before cpu_relax Signed-off-by: Vijaya Kumar K Acked-by: Stephen Warren Acked-by: Will Deacon Signed-off-by: Russell King --- Reading git-diff-tree failed