All of lore.kernel.org
 help / color / mirror / Atom feed
From: Nishanth Aravamudan <nacc@us.ibm.com>
To: Peter Zijlstra <peterz@infradead.org>
Cc: mingo@elte.hu, tony.luck@intel.com, linux-ia64@vger.kernel.org,
	LKML <linux-kernel@vger.kernel.org>,
	Bill Gatliff <bgat@billgatliff.com>,
	Russell King - ARM Linux <linux@arm.linux.org.uk>
Subject: Re: [BISECTION RESULT] sched: revert cpu_clock to
Date: Tue, 05 Aug 2008 17:34:47 +0000	[thread overview]
Message-ID: <20080805173447.GD7812@us.ibm.com> (raw)
In-Reply-To: <1217926585.3589.113.camel@twins>

On 05.08.2008 [10:56:25 +0200], Peter Zijlstra wrote:
> On Mon, 2008-08-04 at 12:46 -0700, Nishanth Aravamudan wrote:
> > Bisection on an x455 (2-node IA64) showed that commit
> > 27ec4407790d075c325e1f4da0a19c56953cce23 (sched: make cpu_clock()
> > globally synchronous) broke booting. I see the uncompressing initramfs
> > message and then nothing on the console. I wait about 5 minutes (which
> > is way longer than it takes for the first console messages to get
> > printed normally). The commit immediately before it works fine.
> > 
> > The commit no longer cleanly reverts, but I tried to manually put things
> > back to the way they were before in cpu_clock(). The resulting kernel
> > boots fine. I could figure out a clean way to leave cpu_clock() in
> > sched_clock.c because of all the rq dependencies from sched.c. The
> > attempt I tested is below [1]. This patch is *NOT* for inclusion, just
> > to demonstrate what I tested.
> > 
> > I'm happy to test any better patches.
> 
> Does this work for you?
> 
> ---
> Subject: sched_clock: delay using sched_clock()
> 
> Some arch's can't handle sched_clock() being called too early - delay
> this until sched_clock_init() has been called.
> 
> Reported-by: Bill Gatliff <bgat@billgatliff.com>
> Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
> CC: Russell King - ARM Linux <linux@arm.linux.org.uk>

Yep, this fixes things on the box, as well.

Tested-by: Nishanth Aravamudan <nacc@us.ibm.com>

Thanks,
Nish

-- 
Nishanth Aravamudan <nacc@us.ibm.com>
IBM Linux Technology Center

WARNING: multiple messages have this Message-ID (diff)
From: Nishanth Aravamudan <nacc@us.ibm.com>
To: Peter Zijlstra <peterz@infradead.org>
Cc: mingo@elte.hu, tony.luck@intel.com, linux-ia64@vger.kernel.org,
	LKML <linux-kernel@vger.kernel.org>,
	Bill Gatliff <bgat@billgatliff.com>,
	Russell King - ARM Linux <linux@arm.linux.org.uk>
Subject: Re: [BISECTION RESULT] sched: revert cpu_clock to pre-27ec4407790d075c325e1f4da0a19c56953cce23 state
Date: Tue, 5 Aug 2008 10:34:47 -0700	[thread overview]
Message-ID: <20080805173447.GD7812@us.ibm.com> (raw)
In-Reply-To: <1217926585.3589.113.camel@twins>

On 05.08.2008 [10:56:25 +0200], Peter Zijlstra wrote:
> On Mon, 2008-08-04 at 12:46 -0700, Nishanth Aravamudan wrote:
> > Bisection on an x455 (2-node IA64) showed that commit
> > 27ec4407790d075c325e1f4da0a19c56953cce23 (sched: make cpu_clock()
> > globally synchronous) broke booting. I see the uncompressing initramfs
> > message and then nothing on the console. I wait about 5 minutes (which
> > is way longer than it takes for the first console messages to get
> > printed normally). The commit immediately before it works fine.
> > 
> > The commit no longer cleanly reverts, but I tried to manually put things
> > back to the way they were before in cpu_clock(). The resulting kernel
> > boots fine. I could figure out a clean way to leave cpu_clock() in
> > sched_clock.c because of all the rq dependencies from sched.c. The
> > attempt I tested is below [1]. This patch is *NOT* for inclusion, just
> > to demonstrate what I tested.
> > 
> > I'm happy to test any better patches.
> 
> Does this work for you?
> 
> ---
> Subject: sched_clock: delay using sched_clock()
> 
> Some arch's can't handle sched_clock() being called too early - delay
> this until sched_clock_init() has been called.
> 
> Reported-by: Bill Gatliff <bgat@billgatliff.com>
> Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
> CC: Russell King - ARM Linux <linux@arm.linux.org.uk>

Yep, this fixes things on the box, as well.

Tested-by: Nishanth Aravamudan <nacc@us.ibm.com>

Thanks,
Nish

-- 
Nishanth Aravamudan <nacc@us.ibm.com>
IBM Linux Technology Center

  parent reply	other threads:[~2008-08-05 17:34 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-04 19:46 [BISECTION RESULT] sched: revert cpu_clock to Nishanth Aravamudan
2008-08-04 19:46 ` [BISECTION RESULT] sched: revert cpu_clock to pre-27ec4407790d075c325e1f4da0a19c56953cce23 state Nishanth Aravamudan
2008-08-04 20:37 ` [BISECTION RESULT] sched: revert cpu_clock to Luck, Tony
2008-08-04 20:37   ` [BISECTION RESULT] sched: revert cpu_clock to pre-27ec4407790d075c325e1f4da0a19c56953cce23 state Luck, Tony
2008-08-04 22:00   ` [BISECTION RESULT] sched: revert cpu_clock to Luck, Tony
2008-08-04 22:00     ` [BISECTION RESULT] sched: revert cpu_clock to pre-27ec4407790d075c325e1f4da0a19c56953cce23 state Luck, Tony
2008-08-04 22:02     ` [BISECTION RESULT] sched: revert cpu_clock to David Miller
2008-08-04 22:02       ` [BISECTION RESULT] sched: revert cpu_clock to pre-27ec4407790d075c325e1f4da0a19c56953cce23 state David Miller
2008-08-04 22:10       ` [BISECTION RESULT] sched: revert cpu_clock to Luck, Tony
2008-08-04 22:10         ` [BISECTION RESULT] sched: revert cpu_clock to pre-27ec4407790d075c325e1f4da0a19c56953cce23 state Luck, Tony
2008-08-04 22:14         ` [BISECTION RESULT] sched: revert cpu_clock to David Miller
2008-08-04 22:14           ` [BISECTION RESULT] sched: revert cpu_clock to pre-27ec4407790d075c325e1f4da0a19c56953cce23 state David Miller
2008-08-04 22:22           ` [BISECTION RESULT] sched: revert cpu_clock to Luck, Tony
2008-08-04 22:22             ` [BISECTION RESULT] sched: revert cpu_clock to pre-27ec4407790d075c325e1f4da0a19c56953cce23 state Luck, Tony
2008-08-04 22:41             ` [BISECTION RESULT] sched: revert cpu_clock to Luck, Tony
2008-08-04 22:41               ` [BISECTION RESULT] sched: revert cpu_clock to pre-27ec4407790d075c325e1f4da0a19c56953cce23 state Luck, Tony
2008-08-04 22:45     ` [BISECTION RESULT] sched: revert cpu_clock to Nishanth Aravamudan
2008-08-04 22:45       ` [BISECTION RESULT] sched: revert cpu_clock to pre-27ec4407790d075c325e1f4da0a19c56953cce23 state Nishanth Aravamudan
2008-08-04 22:53       ` [BISECTION RESULT] sched: revert cpu_clock to Luck, Tony
2008-08-04 22:53         ` [BISECTION RESULT] sched: revert cpu_clock to pre-27ec4407790d075c325e1f4da0a19c56953cce23 state Luck, Tony
2008-08-04 23:30         ` [BISECTION RESULT] sched: revert cpu_clock to Nishanth Aravamudan
2008-08-04 23:30           ` [BISECTION RESULT] sched: revert cpu_clock to pre-27ec4407790d075c325e1f4da0a19c56953cce23 state Nishanth Aravamudan
2008-08-05  8:56 ` [BISECTION RESULT] sched: revert cpu_clock to Peter Zijlstra
2008-08-05  8:56   ` [BISECTION RESULT] sched: revert cpu_clock to pre-27ec4407790d075c325e1f4da0a19c56953cce23 state Peter Zijlstra
2008-08-05 14:59   ` [BISECTION RESULT] sched: revert cpu_clock to Luck, Tony
2008-08-05 14:59     ` [BISECTION RESULT] sched: revert cpu_clock to pre-27ec4407790d075c325e1f4da0a19c56953cce23 state Luck, Tony
2008-08-05 17:34   ` Nishanth Aravamudan [this message]
2008-08-05 17:34     ` Nishanth Aravamudan
2008-08-13  0:37 ` [BISECTION RESULT] sched: revert cpu_clock to Luck, Tony
2008-08-13  0:37   ` [BISECTION RESULT] sched: revert cpu_clock to pre-27ec4407790d075c325e1f4da0a19c56953cce23 state Luck, Tony
2008-08-13 16:25   ` [BISECTION RESULT] sched: revert cpu_clock to Ingo Molnar
2008-08-13 16:25     ` [BISECTION RESULT] sched: revert cpu_clock to pre-27ec4407790d075c325e1f4da0a19c56953cce23 state Ingo Molnar
2008-08-13 19:29     ` [BISECTION RESULT] sched: revert cpu_clock to Nishanth Aravamudan
2008-08-13 19:29       ` [BISECTION RESULT] sched: revert cpu_clock to pre-27ec4407790d075c325e1f4da0a19c56953cce23 state Nishanth Aravamudan
2008-08-13 20:11       ` [BISECTION RESULT] sched: revert cpu_clock to Luck, Tony
2008-08-13 20:11         ` [BISECTION RESULT] sched: revert cpu_clock to pre-27ec4407790d075c325e1f4da0a19c56953cce23 state Luck, Tony
2008-08-19 22:19         ` [BISECTION RESULT] sched: revert cpu_clock to Nishanth Aravamudan
2008-08-19 22:19           ` [BISECTION RESULT] sched: revert cpu_clock to pre-27ec4407790d075c325e1f4da0a19c56953cce23 state Nishanth Aravamudan
2008-08-19 22:34           ` [BISECTION RESULT] sched: revert cpu_clock to Luck, Tony
2008-08-19 22:34             ` [BISECTION RESULT] sched: revert cpu_clock to pre-27ec4407790d075c325e1f4da0a19c56953cce23 state Luck, Tony

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=20080805173447.GD7812@us.ibm.com \
    --to=nacc@us.ibm.com \
    --cc=bgat@billgatliff.com \
    --cc=linux-ia64@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@arm.linux.org.uk \
    --cc=mingo@elte.hu \
    --cc=peterz@infradead.org \
    --cc=tony.luck@intel.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.