All of lore.kernel.org
 help / color / mirror / Atom feed
* powerpc: mpc85xx regression since 2.6.39-rc2, one cpu core lame
@ 2011-05-17 16:28 Richard Cochran
  2011-05-17 21:40 ` Benjamin Herrenschmidt
  0 siblings, 1 reply; 12+ messages in thread
From: Richard Cochran @ 2011-05-17 16:28 UTC (permalink / raw)
  To: benh; +Cc: linuxppc-dev, linux-kernel

Ben,

Recent 2.6.39-rc kernels behave strangely on the Freescale dual core
mpc8572 and p2020. There is a long pause (like 2 seconds) in the boot
sequence after "mpic: requesting IPIs..."

When the system comes up, only one core shows in /proc/cpuinfo. Later
on, lots of messages appear like the following:

   INFO: task ksoftirqd/1:9 blocked for more than 120 seconds.

I bisected [1] the problem to:

   commit c56e58537d504706954a06570b4034c04e5b7500
   Author: Benjamin Herrenschmidt <benh@kernel.crashing.org>
   Date:   Tue Mar 8 14:40:04 2011 +1100

       powerpc/smp: Create idle threads on demand and properly reset them

I don't see from that commit what had gone wrong. Perhaps you can
help resolve this?

Thanks,
Richard


1. I had to patch commit e5462d16 by hand when bisecting, which is a
   fixup for commit fa3f82c8 and not yet merged in c56e5853.

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: powerpc: mpc85xx regression since 2.6.39-rc2, one cpu core lame
  2011-05-17 16:28 powerpc: mpc85xx regression since 2.6.39-rc2, one cpu core lame Richard Cochran
@ 2011-05-17 21:40 ` Benjamin Herrenschmidt
  2011-05-18 12:03     ` Richard Cochran
  2011-05-19  5:33   ` Kumar Gala
  0 siblings, 2 replies; 12+ messages in thread
From: Benjamin Herrenschmidt @ 2011-05-17 21:40 UTC (permalink / raw)
  To: Richard Cochran, Kumar Gala; +Cc: linuxppc-dev, linux-kernel

On Tue, 2011-05-17 at 18:28 +0200, Richard Cochran wrote:
> Ben,
> 
> Recent 2.6.39-rc kernels behave strangely on the Freescale dual core
> mpc8572 and p2020. There is a long pause (like 2 seconds) in the boot
> sequence after "mpic: requesting IPIs..."
> 
> When the system comes up, only one core shows in /proc/cpuinfo. Later
> on, lots of messages appear like the following:
> 
>    INFO: task ksoftirqd/1:9 blocked for more than 120 seconds.
> 
> I bisected [1] the problem to:
> 
>    commit c56e58537d504706954a06570b4034c04e5b7500
>    Author: Benjamin Herrenschmidt <benh@kernel.crashing.org>
>    Date:   Tue Mar 8 14:40:04 2011 +1100
> 
>        powerpc/smp: Create idle threads on demand and properly reset them
> 
> I don't see from that commit what had gone wrong. Perhaps you can
> help resolve this?

Hrm, odd. Kumar, care to have a look ? That's what happens when you
don't get me HW to test with :-)

Cheers,
Ben.

> Thanks,
> Richard
> 
> 
> 1. I had to patch commit e5462d16 by hand when bisecting, which is a
>    fixup for commit fa3f82c8 and not yet merged in c56e5853.



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: powerpc: mpc85xx regression since 2.6.39-rc2, one cpu core lame
  2011-05-17 21:40 ` Benjamin Herrenschmidt
@ 2011-05-18 12:03     ` Richard Cochran
  2011-05-19  5:33   ` Kumar Gala
  1 sibling, 0 replies; 12+ messages in thread
From: Richard Cochran @ 2011-05-18 12:03 UTC (permalink / raw)
  To: Benjamin Herrenschmidt; +Cc: Kumar Gala, linuxppc-dev, linux-kernel

On Wed, May 18, 2011 at 07:40:16AM +1000, Benjamin Herrenschmidt wrote:
> On Tue, 2011-05-17 at 18:28 +0200, Richard Cochran wrote:
> > Ben,
> > 
> > Recent 2.6.39-rc kernels behave strangely on the Freescale dual core
> > mpc8572 and p2020. There is a long pause (like 2 seconds) in the boot
> > sequence after "mpic: requesting IPIs..."
> > 
> > When the system comes up, only one core shows in /proc/cpuinfo. Later
> > on, lots of messages appear like the following:
> > 
> >    INFO: task ksoftirqd/1:9 blocked for more than 120 seconds.
> > 
> > I bisected [1] the problem to:
> > 
> >    commit c56e58537d504706954a06570b4034c04e5b7500
> >    Author: Benjamin Herrenschmidt <benh@kernel.crashing.org>
> >    Date:   Tue Mar 8 14:40:04 2011 +1100
> > 
> >        powerpc/smp: Create idle threads on demand and properly reset them
> > 
> > I don't see from that commit what had gone wrong. Perhaps you can
> > help resolve this?
> 
> Hrm, odd. Kumar, care to have a look ? That's what happens when you
> don't get me HW to test with :-)

(I get the feeling that I am the only one testing recent kernels with
the mpc85xx.)

Anyhow, I see that this commit was one of a series. For my own use,
can I simply revert this one commit independently?

Thanks,
Richard

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: powerpc: mpc85xx regression since 2.6.39-rc2, one cpu core lame
@ 2011-05-18 12:03     ` Richard Cochran
  0 siblings, 0 replies; 12+ messages in thread
From: Richard Cochran @ 2011-05-18 12:03 UTC (permalink / raw)
  To: Benjamin Herrenschmidt; +Cc: linuxppc-dev, linux-kernel

On Wed, May 18, 2011 at 07:40:16AM +1000, Benjamin Herrenschmidt wrote:
> On Tue, 2011-05-17 at 18:28 +0200, Richard Cochran wrote:
> > Ben,
> > 
> > Recent 2.6.39-rc kernels behave strangely on the Freescale dual core
> > mpc8572 and p2020. There is a long pause (like 2 seconds) in the boot
> > sequence after "mpic: requesting IPIs..."
> > 
> > When the system comes up, only one core shows in /proc/cpuinfo. Later
> > on, lots of messages appear like the following:
> > 
> >    INFO: task ksoftirqd/1:9 blocked for more than 120 seconds.
> > 
> > I bisected [1] the problem to:
> > 
> >    commit c56e58537d504706954a06570b4034c04e5b7500
> >    Author: Benjamin Herrenschmidt <benh@kernel.crashing.org>
> >    Date:   Tue Mar 8 14:40:04 2011 +1100
> > 
> >        powerpc/smp: Create idle threads on demand and properly reset them
> > 
> > I don't see from that commit what had gone wrong. Perhaps you can
> > help resolve this?
> 
> Hrm, odd. Kumar, care to have a look ? That's what happens when you
> don't get me HW to test with :-)

(I get the feeling that I am the only one testing recent kernels with
the mpc85xx.)

Anyhow, I see that this commit was one of a series. For my own use,
can I simply revert this one commit independently?

Thanks,
Richard

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: powerpc: mpc85xx regression since 2.6.39-rc2, one cpu core lame
  2011-05-18 12:03     ` Richard Cochran
  (?)
@ 2011-05-18 17:19     ` Milton Miller
  2011-05-18 21:48         ` Benjamin Herrenschmidt
  -1 siblings, 1 reply; 12+ messages in thread
From: Milton Miller @ 2011-05-18 17:19 UTC (permalink / raw)
  To: Richard Cochran; +Cc: linuxppc-dev, linux-kernel

Does this patch help?  If so please reply to that thread so patchwork
will see it in addition to here.

http://patchwork.ozlabs.org/patch/96146/

milton

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: powerpc: mpc85xx regression since 2.6.39-rc2, one cpu core lame
  2011-05-18 17:19     ` Milton Miller
@ 2011-05-18 21:48         ` Benjamin Herrenschmidt
  0 siblings, 0 replies; 12+ messages in thread
From: Benjamin Herrenschmidt @ 2011-05-18 21:48 UTC (permalink / raw)
  To: Milton Miller
  Cc: Richard Cochran, linuxppc-dev, linux-kernel, Kumar Gala, Kerstin Jonsson

On Wed, 2011-05-18 at 12:19 -0500, Milton Miller wrote:
> Does this patch help?  If so please reply to that thread so patchwork
> will see it in addition to here.
> 
> http://patchwork.ozlabs.org/patch/96146/

Interesting. I'll have a closer look today. Unfortunately, I don't have
any 32-bit BookE SMP at hand at the moment so I couldn't test those
configs.

Cheers,
Ben.



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: powerpc: mpc85xx regression since 2.6.39-rc2, one cpu core lame
@ 2011-05-18 21:48         ` Benjamin Herrenschmidt
  0 siblings, 0 replies; 12+ messages in thread
From: Benjamin Herrenschmidt @ 2011-05-18 21:48 UTC (permalink / raw)
  To: Milton Miller
  Cc: Kerstin Jonsson, Richard Cochran, linuxppc-dev, linux-kernel

On Wed, 2011-05-18 at 12:19 -0500, Milton Miller wrote:
> Does this patch help?  If so please reply to that thread so patchwork
> will see it in addition to here.
> 
> http://patchwork.ozlabs.org/patch/96146/

Interesting. I'll have a closer look today. Unfortunately, I don't have
any 32-bit BookE SMP at hand at the moment so I couldn't test those
configs.

Cheers,
Ben.

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: powerpc: mpc85xx regression since 2.6.39-rc2, one cpu core lame
  2011-05-18 12:03     ` Richard Cochran
@ 2011-05-18 21:48       ` Benjamin Herrenschmidt
  -1 siblings, 0 replies; 12+ messages in thread
From: Benjamin Herrenschmidt @ 2011-05-18 21:48 UTC (permalink / raw)
  To: Richard Cochran; +Cc: Kumar Gala, linuxppc-dev, linux-kernel


> (I get the feeling that I am the only one testing recent kernels with
> the mpc85xx.)
> 
> Anyhow, I see that this commit was one of a series. For my own use,
> can I simply revert this one commit independently?

For your own use sure :-) But I'd still like to get to the bottom of
this !

Cheers,
Ben.


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: powerpc: mpc85xx regression since 2.6.39-rc2, one cpu core lame
@ 2011-05-18 21:48       ` Benjamin Herrenschmidt
  0 siblings, 0 replies; 12+ messages in thread
From: Benjamin Herrenschmidt @ 2011-05-18 21:48 UTC (permalink / raw)
  To: Richard Cochran; +Cc: linuxppc-dev, linux-kernel


> (I get the feeling that I am the only one testing recent kernels with
> the mpc85xx.)
> 
> Anyhow, I see that this commit was one of a series. For my own use,
> can I simply revert this one commit independently?

For your own use sure :-) But I'd still like to get to the bottom of
this !

Cheers,
Ben.

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: powerpc: mpc85xx regression since 2.6.39-rc2, one cpu core lame
  2011-05-18 21:48       ` Benjamin Herrenschmidt
@ 2011-05-19  5:32         ` Kumar Gala
  -1 siblings, 0 replies; 12+ messages in thread
From: Kumar Gala @ 2011-05-19  5:32 UTC (permalink / raw)
  To: Benjamin Herrenschmidt; +Cc: Richard Cochran, linuxppc-dev, linux-kernel


On May 18, 2011, at 4:48 PM, Benjamin Herrenschmidt wrote:

> 
>> (I get the feeling that I am the only one testing recent kernels with
>> the mpc85xx.)
>> 
>> Anyhow, I see that this commit was one of a series. For my own use,
>> can I simply revert this one commit independently?
> 
> For your own use sure :-) But I'd still like to get to the bottom of
> this !
> 
> Cheers,
> Ben.

Tested the 'merge' branch and it appears to fix the issues with secondary cores coming up.

- k

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: powerpc: mpc85xx regression since 2.6.39-rc2, one cpu core lame
@ 2011-05-19  5:32         ` Kumar Gala
  0 siblings, 0 replies; 12+ messages in thread
From: Kumar Gala @ 2011-05-19  5:32 UTC (permalink / raw)
  To: Benjamin Herrenschmidt; +Cc: Richard Cochran, linuxppc-dev, linux-kernel


On May 18, 2011, at 4:48 PM, Benjamin Herrenschmidt wrote:

>=20
>> (I get the feeling that I am the only one testing recent kernels with
>> the mpc85xx.)
>>=20
>> Anyhow, I see that this commit was one of a series. For my own use,
>> can I simply revert this one commit independently?
>=20
> For your own use sure :-) But I'd still like to get to the bottom of
> this !
>=20
> Cheers,
> Ben.

Tested the 'merge' branch and it appears to fix the issues with =
secondary cores coming up.

- k=

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: powerpc: mpc85xx regression since 2.6.39-rc2, one cpu core lame
  2011-05-17 21:40 ` Benjamin Herrenschmidt
  2011-05-18 12:03     ` Richard Cochran
@ 2011-05-19  5:33   ` Kumar Gala
  1 sibling, 0 replies; 12+ messages in thread
From: Kumar Gala @ 2011-05-19  5:33 UTC (permalink / raw)
  To: Benjamin Herrenschmidt; +Cc: Richard Cochran, linuxppc-dev, linux-kernel


On May 17, 2011, at 4:40 PM, Benjamin Herrenschmidt wrote:

> On Tue, 2011-05-17 at 18:28 +0200, Richard Cochran wrote:
>> Ben,
>> 
>> Recent 2.6.39-rc kernels behave strangely on the Freescale dual core
>> mpc8572 and p2020. There is a long pause (like 2 seconds) in the boot
>> sequence after "mpic: requesting IPIs..."
>> 
>> When the system comes up, only one core shows in /proc/cpuinfo. Later
>> on, lots of messages appear like the following:
>> 
>>   INFO: task ksoftirqd/1:9 blocked for more than 120 seconds.
>> 
>> I bisected [1] the problem to:
>> 
>>   commit c56e58537d504706954a06570b4034c04e5b7500
>>   Author: Benjamin Herrenschmidt <benh@kernel.crashing.org>
>>   Date:   Tue Mar 8 14:40:04 2011 +1100
>> 
>>       powerpc/smp: Create idle threads on demand and properly reset them
>> 
>> I don't see from that commit what had gone wrong. Perhaps you can
>> help resolve this?
> 
> Hrm, odd. Kumar, care to have a look ? That's what happens when you
> don't get me HW to test with :-)

I'm trying to work on it ;)

- k

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2011-05-19  5:33 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-17 16:28 powerpc: mpc85xx regression since 2.6.39-rc2, one cpu core lame Richard Cochran
2011-05-17 21:40 ` Benjamin Herrenschmidt
2011-05-18 12:03   ` Richard Cochran
2011-05-18 12:03     ` Richard Cochran
2011-05-18 17:19     ` Milton Miller
2011-05-18 21:48       ` Benjamin Herrenschmidt
2011-05-18 21:48         ` Benjamin Herrenschmidt
2011-05-18 21:48     ` Benjamin Herrenschmidt
2011-05-18 21:48       ` Benjamin Herrenschmidt
2011-05-19  5:32       ` Kumar Gala
2011-05-19  5:32         ` Kumar Gala
2011-05-19  5:33   ` Kumar Gala

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.