Re: v3.13-rc6+ regression (ARM board)

2014-01-02 Thread Krzysztof Hałasa
Linus Torvalds writes: > --- a/kernel/time/sched_clock.c > +++ b/kernel/time/sched_clock.c > @@ -36,6 +36,7 @@ core_param(irqtime, irqtime, int, 0400); > >static struct clock_data cd = { > .mult = NSEC_PER_SEC / HZ, > + .seq = SEQCNT_ZERO(cd.seq), >}; > >stat

Re: v3.13-rc6+ regression (ARM board)

2014-01-02 Thread John Stultz
On 01/02/2014 12:43 PM, Linus Torvalds wrote: > On Thu, Jan 2, 2014 at 12:30 PM, John Stultz wrote: >> So something else may be at play. Even with Linus' patch I reproduced a >> similar hang here. >> >> Still chasing it down, but it looks like a seqlock deadlock where we're >> calling read while h

Re: v3.13-rc6+ regression (ARM board)

2014-01-02 Thread John Stultz
On 01/02/2014 12:42 PM, Stephen Boyd wrote: > On 01/02/14 12:30, John Stultz wrote: >> On 01/02/2014 12:03 PM, John Stultz wrote: >>> On 01/02/2014 11:38 AM, Linus Torvalds wrote: On Thu, Jan 2, 2014 at 4:07 AM, Krzysztof Hałasa wrote: > This means these two commits don't like each other:

Re: v3.13-rc6+ regression (ARM board)

2014-01-02 Thread Linus Torvalds
On Thu, Jan 2, 2014 at 12:30 PM, John Stultz wrote: > > So something else may be at play. Even with Linus' patch I reproduced a > similar hang here. > > Still chasing it down, but it looks like a seqlock deadlock where we're > calling read while holding the lock. Hmm. Only with lockdep, right? D

Re: v3.13-rc6+ regression (ARM board)

2014-01-02 Thread Stephen Boyd
On 01/02/14 12:30, John Stultz wrote: > On 01/02/2014 12:03 PM, John Stultz wrote: >> On 01/02/2014 11:38 AM, Linus Torvalds wrote: >>> On Thu, Jan 2, 2014 at 4:07 AM, Krzysztof Hałasa wrote: This means these two commits don't like each other: seqcount: Add lockdep functionality

Re: v3.13-rc6+ regression (ARM board)

2014-01-02 Thread John Stultz
On 01/02/2014 12:03 PM, John Stultz wrote: > On 01/02/2014 11:38 AM, Linus Torvalds wrote: >> On Thu, Jan 2, 2014 at 4:07 AM, Krzysztof Hałasa wrote: >>> This means these two commits don't like each other: >>> >>> seqcount: Add lockdep functionality to seqcount/seqlock structures >>> sched

Re: v3.13-rc6+ regression (ARM board)

2014-01-02 Thread John Stultz
On 01/02/2014 11:38 AM, Linus Torvalds wrote: > On Thu, Jan 2, 2014 at 4:07 AM, Krzysztof Hałasa wrote: >> This means these two commits don't like each other: >> >> seqcount: Add lockdep functionality to seqcount/seqlock structures >> sched_clock: Use seqcount instead of rolling our own >

Re: v3.13-rc6+ regression (ARM board)

2014-01-02 Thread Linus Torvalds
On Thu, Jan 2, 2014 at 4:07 AM, Krzysztof Hałasa wrote: > > This means these two commits don't like each other: > > seqcount: Add lockdep functionality to seqcount/seqlock structures > sched_clock: Use seqcount instead of rolling our own Does something like this fix it for you? --- a/k

Re: v3.13-rc6+ regression (ARM board)

2014-01-02 Thread Krzysztof Hałasa
Hello Uwe, >> >> There seems to be a regression in v3.13-rc6+ (up to current tip = >> >> 71ce176ee6ed1735b9a1160a5704a915d13849b1). >> >> >> >> Board is Gateworks Cambria, CPU Intel IXP435 ARM big endian, gcc 4.7.3. >> >> The board boots correctly and works (shell mostly, and SSHD) for about >> >>

Re: v3.13-rc6+ regression (ARM board)

2014-01-02 Thread Uwe Kleine-König
Hello Krzysztof, On Thu, Jan 02, 2014 at 11:02:44AM +0100, Krzysztof Hałasa wrote: > >> There seems to be a regression in v3.13-rc6+ (up to current tip = > >> 71ce176ee6ed1735b9a1160a5704a915d13849b1). > >> > >> Board is Gateworks Cambria, CPU Intel IXP435 ARM big endian, gcc 4.7.3. > >> The board

Re: v3.13-rc6+ regression (ARM board)

2014-01-02 Thread Krzysztof Hałasa
>> There seems to be a regression in v3.13-rc6+ (up to current tip = >> 71ce176ee6ed1735b9a1160a5704a915d13849b1). >> >> Board is Gateworks Cambria, CPU Intel IXP435 ARM big endian, gcc 4.7.3. >> The board boots correctly and works (shell mostly, and SSHD) for about >> 50 seconds. After 52-54 secon

Re: v3.13-rc6+ regression (ARM board)

2013-12-31 Thread Willy Tarreau
On Tue, Dec 31, 2013 at 11:37:21AM +0100, Krzysztof Ha??asa wrote: > Hi, > > There seems to be a regression in v3.13-rc6+ (up to current tip = > 71ce176ee6ed1735b9a1160a5704a915d13849b1). > > Board is Gateworks Cambria, CPU Intel IXP435 ARM big endian, gcc 4.7.3. > The board boots correctly and w