Message ID | 53922FB8.6070408@linux.vnet.ibm.com (mailing list archive) |
---|---|
State | Not Applicable |
Headers | show |
Hi Srivatsa, On Sat, Jun 7, 2014 at 7:16 AM, Srivatsa S. Bhat <srivatsa.bhat@linux.vnet.ibm.com> wrote: > And with the following hunk added (which I had forgotten earlier), it worked just > fine on powernv :-) How are the patches coming along? I just hung a machine here while attempting to kexec. It appears to have onlined all of the secondary threads, and then hung here: kexec: Waking offline cpu 1. kvm: enabling virtualization on CPU1 kexec: Waking offline cpu 2. kvm: enabling virtualization on CPU2 kexec: Waking offline cpu 3. kvm: enabling virtualization on CPU3 kexec: Waking offline cpu 5. kvm: enabling virtualization on CPU5 [...] kvm: enabling virtualization on CPU63 kexec: waiting for cpu 1 (physical 1) to enter OPAL kexec: waiting for cpu 2 (physical 2) to enter OPAL kexec: waiting for cpu 3 (physical 3) to enter OPAL I'm running benh's next branch as of thismorning, and SMT was off. Could you please post your latest patches a series? I will test them here. Cheers, Joel
diff --git a/arch/powerpc/kernel/machine_kexec_64.c b/arch/powerpc/kernel/machine_kexec_64.c index 2ef6c58..84e91293 100644 --- a/arch/powerpc/kernel/machine_kexec_64.c +++ b/arch/powerpc/kernel/machine_kexec_64.c @@ -243,6 +243,9 @@ static void wake_offline_cpus(void) { int cpu = 0; + if (ppc_md.kexec_wake_prepare) + ppc_md.kexec_wake_prepare(); + for_each_present_cpu(cpu) { if (!cpu_online(cpu)) { printk(KERN_INFO "kexec: Waking offline cpu %d.\n",