From: Peter Zijlstra Subject: Re: [PATCH] xen/smp: Fix bringup bug in AP code. Date: Thu, 22 Mar 2012 10:20:23 +0100 Message-ID: <1332408023.18960.503.camel@twins> References: <1332347541.18960.498.camel@twins> <1332385449-29281-1-git-send-email-konrad.wilk@oracle.com> <1332385449-29281-2-git-send-email-konrad.wilk@oracle.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT Return-path: In-Reply-To: <1332385449-29281-2-git-send-email-konrad.wilk@oracle.com> Sender: linux-kernel-owner@vger.kernel.org To: Konrad Rzeszutek Wilk Cc: linux-kernel@vger.kernel.org, mingo@elte.hu, rjw@sisk.pl, tglx@linutronix.de, xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On Wed, 2012-03-21 at 23:04 -0400, Konrad Rzeszutek Wilk wrote: > The CPU hotplug code has now a callback to help bring up the CPU. > Without the call we end up getting: Its had this for a while now (since 2008, see e545a614). Its just that generic infrastructure started using it only now. > BUG: soft lockup - CPU#0 stuck for 29s! [migration/0:6] > Modules linked in: > CPU ] Pid: 6, comm: migration/0 Not tainted 3.3.0upstream-01180-ged378a5 #1 Dell Inc. PowerEdge T105 /0RR825 > RIP: e030:[] [] stop_machine_cpu_stop+0x7b/0xf0 > RSP: e02b:ffff8800ceaabdb0 EFLAGS: 00000293 > .. snip.. > Call Trace: > [] ? stop_one_cpu_nowait+0x50/0x50 > [] cpu_stopper_thread+0xf1/0x1c0 > [] ? __schedule+0x3c6/0x760 > [] ? _raw_spin_unlock_irqrestore+0x19/0x30 > [] ? res_counter_charge+0x150/0x150 > [] kthread+0x96/0xa0 > [] kernel_thread_helper+0x4/0x10 > [] ? retint_restore_ar > > This fixes it. > > Suggested-by: Peter Zijlstra > Signed-off-by: Konrad Rzeszutek Wilk Acked-by: Peter Zijlstra