From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: Sander Eikelenboom <linux@eikelenboom.it>
Cc: fenghua.yu@intel.com, xen-devel <xen-devel@lists.xen.org>,
linux-kernel@vger.kernel.org, hpa@linux.intel.com
Subject: Re: 3.8.0-rc0 on xen-unstable: RCU Stall during boot as dom0 kernel after IOAPIC
Date: Mon, 17 Dec 2012 20:12:39 -0500 [thread overview]
Message-ID: <20121218011239.GB4518@phenom.dumpdata.com> (raw)
In-Reply-To: <29163327.20121217223558@eikelenboom.it>
On Mon, Dec 17, 2012 at 10:35:58PM +0100, Sander Eikelenboom wrote:
>
> Monday, December 17, 2012, 10:12:40 PM, you wrote:
>
> > On Mon, Dec 17, 2012 at 03:46:34PM -0500, Konrad Rzeszutek Wilk wrote:
> >> On Mon, Dec 17, 2012 at 09:32:17PM +0100, Sander Eikelenboom wrote:
> >> >
> >> > Sunday, December 16, 2012, 6:38:24 PM, you wrote:
> >> >
> >> > > On Fri, Dec 14, 2012 at 04:55:57PM +0100, Sander Eikelenboom wrote:
> >> > >> Hi Konrad,
> >> > >>
> >> > >> I just tried to boot a 3.8.0-rc0 kernel (last commit: 7313264b899bbf3988841296265a6e0e8a7b6521) as dom0 on my machine with current xen-unstable.
> >> >
> >> > > Yeah, saw it over the Dec 11->Dec 12 merges and was out on
> >> > > vacation during that time (just got back).
> >> >
> >> > > Did you by any chance try to do a git bisect to narrow down
> >> > > which merge it was?
> >> >
> >> > Hi Konrad,
> >>
> >> Hey Sander,
> >>
> >> Thank you for doing the bisection.
> >>
> >> Fenghua - any ideas what might be amiss in the Xen subsystem?
> >> I hadn't looked at the patchset of the CPU0 offlining/onlining
> >> so I am not completly up to speed on the particulars of the patches.
>
> >> > 30106c174311b8cfaaa3186c7f6f9c36c62d17da is the first bad commit
> >> > commit 30106c174311b8cfaaa3186c7f6f9c36c62d17da
> >> > Author: Fenghua Yu <fenghua.yu@intel.com>
> >> > Date: Tue Nov 13 11:32:41 2012 -0800
> >> >
> >> > x86, hotplug: Support functions for CPU0 online/offline
> >> >
> >> > Add smp_store_boot_cpu_info() to store cpu info for BSP during boot time.
> >> >
> >> > Now smp_store_cpu_info() stores cpu info for bringing up BSP or AP after
> >> > it's offline.
> >> >
> >> > Continue to online CPU0 in native_cpu_up().
> >> >
> >> > Continue to offline CPU0 in native_cpu_disable().
> >> >
> >> > Signed-off-by: Fenghua Yu <fenghua.yu@intel.com>
> >> > Link: http://lkml.kernel.org/r/1352835171-3958-5-git-send-email-fenghua.yu@intel.com
> >> > Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
> >> >
>
> > This patch:
>
>
> > diff --git a/arch/x86/xen/smp.c b/arch/x86/xen/smp.c
> > index 353c50f..4f7d259 100644
> > --- a/arch/x86/xen/smp.c
> > +++ b/arch/x86/xen/smp.c
> > @@ -254,7 +254,7 @@ static void __init xen_smp_prepare_cpus(unsigned int max_cpus)
> > }
> > xen_init_lock_cpu(0);
> >
> > - smp_store_cpu_info(0);
> > + smp_store_boot_cpu_info();
> > cpu_data(0).x86_max_cores = 1;
> >
> > for_each_possible_cpu(i) {
>
> > Would do the corresponding change in the Xen subsystem that the above
> > mentioned commit did. Perhaps that is all that is needed? I am going to
> > be able to test this and look in more details tomorrow.
>
> Seems like it, don't know if there are other things still lurking, but with your patch it boots again as dom0 :-)
Excellent. And it seems that it also fixes it on my test machine. Great.
I am going to stick Reported-and-Tested-by: Sander Eikelenboom
and push it to Linus shortly. Thanks!
prev parent reply other threads:[~2012-12-18 1:12 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-14 15:55 3.8.0-rc0 on xen-unstable: RCU Stall during boot as dom0 kernel after IOAPIC Sander Eikelenboom
2012-12-16 17:38 ` Konrad Rzeszutek Wilk
2012-12-16 19:42 ` Sander Eikelenboom
2012-12-17 14:58 ` Sander Eikelenboom
2012-12-17 20:32 ` Sander Eikelenboom
2012-12-17 20:46 ` Konrad Rzeszutek Wilk
2012-12-17 21:12 ` Konrad Rzeszutek Wilk
2012-12-17 21:35 ` Sander Eikelenboom
2012-12-18 1:12 ` Konrad Rzeszutek Wilk [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20121218011239.GB4518@phenom.dumpdata.com \
--to=konrad.wilk@oracle.com \
--cc=fenghua.yu@intel.com \
--cc=hpa@linux.intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@eikelenboom.it \
--cc=xen-devel@lists.xen.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox