From: Robin Holt <holt@sgi.com>
To: Thomas Gleixner <tglx@linutronix.de>
Cc: Robin Holt <holt@sgi.com>,
Frederic Weisbecker <fweisbec@gmail.com>,
linux-kernel@vger.kernel.org, Ingo Molnar <mingo@kernel.org>
Subject: Re: Full dynticks needs evtdesc set before marking cpu online.
Date: Mon, 13 May 2013 07:55:14 -0500 [thread overview]
Message-ID: <20130513125514.GE3658@sgi.com> (raw)
In-Reply-To: <alpine.LFD.2.02.1305131119180.2863@ionos>
On Mon, May 13, 2013 at 11:21:00AM +0200, Thomas Gleixner wrote:
> On Wed, 8 May 2013, Robin Holt wrote:
>
> > Thomas,
> >
> > We are seeing failures booting medium sized machines which I think is
> > a change in expectations that dyntick put on x86's start_secondary.
> >
> > During boot of cpus, we see an occassional panic in tick_do_broadcast at
>
> http://lkml.indiana.edu/hypermail/linux/kernel/1305.0/01818.html
>
> Will hit Linus tree soon.
I think this is really due to a sequence in start_secondary. The cpu
has been marked as online, but its evtdesc has not been initialized.
I sent a followup to this with a hack/patch.
It was essentially:
--- linux.orig/arch/x86/kernel/smpboot.c
+++ linux/arch/x86/kernel/smpboot.c
@@ -264,6 +264,8 @@ notrace static void __cpuinit start_seco
*/
check_tsc_sync_target();
+ x86_cpuinit.setup_percpu_clockev();
+
/*
* We need to hold vector_lock so there the set of online cpus
* does not change while we are assigning vectors to cpus. Holding
@@ -281,8 +283,6 @@ notrace static void __cpuinit start_seco
/* to prevent fake stack check failure in clock setup */
boot_init_stack_canary();
- x86_cpuinit.setup_percpu_clockev();
-
wmb();
cpu_startup_entry(CPUHP_ONLINE);
}
Robin
next prev parent reply other threads:[~2013-05-13 12:55 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-08 23:57 Full dynticks needs evtdesc set before marking cpu online Robin Holt
2013-05-12 20:16 ` Frederic Weisbecker
2013-05-13 9:21 ` Thomas Gleixner
2013-05-13 12:55 ` Robin Holt [this message]
2013-05-13 13:03 ` Thomas Gleixner
2013-05-13 13:59 ` Robin Holt
2013-05-13 14:04 ` Thomas Gleixner
2013-05-13 14:31 ` Robin Holt
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=20130513125514.GE3658@sgi.com \
--to=holt@sgi.com \
--cc=fweisbec@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@kernel.org \
--cc=tglx@linutronix.de \
/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