Re: RCU bug with v3.17-rc3 ?

2014-10-19 Thread Olof Johansson
On Sun, Oct 19, 2014 at 8:28 AM, Felipe Balbi wrote: > Hi, > > On Sun, Oct 19, 2014 at 10:54:16AM +0100, Russell King - ARM Linux wrote: >> On Wed, Oct 15, 2014 at 10:25:13PM +0100, Russell King - ARM Linux wrote: >> > On Wed, Oct 15, 2014 at 10:23:10PM +0100, Russell King - ARM Linux wrote: >> >

Re: RCU bug with v3.17-rc3 ?

2014-10-19 Thread Felipe Balbi
Hi, On Sun, Oct 19, 2014 at 10:54:16AM +0100, Russell King - ARM Linux wrote: > On Wed, Oct 15, 2014 at 10:25:13PM +0100, Russell King - ARM Linux wrote: > > On Wed, Oct 15, 2014 at 10:23:10PM +0100, Russell King - ARM Linux wrote: > > > As I said, I have a patch in progress, but it seems that

Re: RCU bug with v3.17-rc3 ?

2014-10-19 Thread Russell King - ARM Linux
On Wed, Oct 15, 2014 at 10:25:13PM +0100, Russell King - ARM Linux wrote: > On Wed, Oct 15, 2014 at 10:23:10PM +0100, Russell King - ARM Linux wrote: > > As I said, I have a patch in progress, but it seems that there needed > > to be some discussion about exactly which compiler versions are

Re: RCU bug with v3.17-rc3 ?

2014-10-19 Thread Russell King - ARM Linux
On Wed, Oct 15, 2014 at 10:25:13PM +0100, Russell King - ARM Linux wrote: On Wed, Oct 15, 2014 at 10:23:10PM +0100, Russell King - ARM Linux wrote: As I said, I have a patch in progress, but it seems that there needed to be some discussion about exactly which compiler versions are affected.

Re: RCU bug with v3.17-rc3 ?

2014-10-19 Thread Felipe Balbi
Hi, On Sun, Oct 19, 2014 at 10:54:16AM +0100, Russell King - ARM Linux wrote: On Wed, Oct 15, 2014 at 10:25:13PM +0100, Russell King - ARM Linux wrote: On Wed, Oct 15, 2014 at 10:23:10PM +0100, Russell King - ARM Linux wrote: As I said, I have a patch in progress, but it seems that there

Re: RCU bug with v3.17-rc3 ?

2014-10-19 Thread Olof Johansson
On Sun, Oct 19, 2014 at 8:28 AM, Felipe Balbi ba...@ti.com wrote: Hi, On Sun, Oct 19, 2014 at 10:54:16AM +0100, Russell King - ARM Linux wrote: On Wed, Oct 15, 2014 at 10:25:13PM +0100, Russell King - ARM Linux wrote: On Wed, Oct 15, 2014 at 10:23:10PM +0100, Russell King - ARM Linux wrote:

Re: RCU bug with v3.17-rc3 ?

2014-10-15 Thread Russell King - ARM Linux
On Wed, Oct 15, 2014 at 10:23:10PM +0100, Russell King - ARM Linux wrote: > As I said, I have a patch in progress, but it seems that there needed > to be some discussion about exactly which compiler versions are affected. > It seems that it's not as trivial as looking at the GCC bug entry. ...

Re: RCU bug with v3.17-rc3 ?

2014-10-15 Thread Russell King - ARM Linux
On Tue, Oct 14, 2014 at 04:06:40AM +0200, Greg KH wrote: > On Mon, Oct 13, 2014 at 12:43:07PM +0100, Russell King - ARM Linux wrote: > > I think the only viable solution here is that: > > > > 1. We blacklist the bad compiler versions outright in the kernel. > > Yes, please do this, it's what we

Re: RCU bug with v3.17-rc3 ?

2014-10-15 Thread Russell King - ARM Linux
On Tue, Oct 14, 2014 at 04:06:40AM +0200, Greg KH wrote: On Mon, Oct 13, 2014 at 12:43:07PM +0100, Russell King - ARM Linux wrote: I think the only viable solution here is that: 1. We blacklist the bad compiler versions outright in the kernel. Yes, please do this, it's what we have done

Re: RCU bug with v3.17-rc3 ?

2014-10-15 Thread Russell King - ARM Linux
On Wed, Oct 15, 2014 at 10:23:10PM +0100, Russell King - ARM Linux wrote: As I said, I have a patch in progress, but it seems that there needed to be some discussion about exactly which compiler versions are affected. It seems that it's not as trivial as looking at the GCC bug entry. ... and

Re: RCU bug with v3.17-rc3 ?

2014-10-14 Thread Peter Hurley
On 10/13/2014 10:06 PM, Greg KH wrote: > On Mon, Oct 13, 2014 at 12:43:07PM +0100, Russell King - ARM Linux wrote: >> On Mon, Oct 13, 2014 at 09:11:34AM +, David Laight wrote: >>> From: Nathan Lynch On 10/10/2014 11:25 AM, Russell King - ARM Linux wrote: > > Right, so GCC

Re: RCU bug with v3.17-rc3 ?

2014-10-14 Thread Peter Hurley
On 10/13/2014 10:06 PM, Greg KH wrote: On Mon, Oct 13, 2014 at 12:43:07PM +0100, Russell King - ARM Linux wrote: On Mon, Oct 13, 2014 at 09:11:34AM +, David Laight wrote: From: Nathan Lynch On 10/10/2014 11:25 AM, Russell King - ARM Linux wrote: Right, so GCC 4.8.{1,2} are totally

Re: RCU bug with v3.17-rc3 ?

2014-10-13 Thread Greg KH
On Mon, Oct 13, 2014 at 12:43:07PM +0100, Russell King - ARM Linux wrote: > On Mon, Oct 13, 2014 at 09:11:34AM +, David Laight wrote: > > From: Nathan Lynch > > > On 10/10/2014 11:25 AM, Russell King - ARM Linux wrote: > > > > > > > > Right, so GCC 4.8.{1,2} are totally unsuitable for kernel

Re: RCU bug with v3.17-rc3 ?

2014-10-13 Thread Russell King - ARM Linux
On Mon, Oct 13, 2014 at 09:11:34AM +, David Laight wrote: > From: Nathan Lynch > > On 10/10/2014 11:25 AM, Russell King - ARM Linux wrote: > > > > > > Right, so GCC 4.8.{1,2} are totally unsuitable for kernel building (and > > > it seems that this has been known about for some time.) > > > >

RE: RCU bug with v3.17-rc3 ?

2014-10-13 Thread David Laight
From: Nathan Lynch > On 10/10/2014 11:25 AM, Russell King - ARM Linux wrote: > > > > Right, so GCC 4.8.{1,2} are totally unsuitable for kernel building (and > > it seems that this has been known about for some time.) > > Looking at http://gcc.gnu.org/PR58854 it seems that all 4.8.x for x < 3 >

RE: RCU bug with v3.17-rc3 ?

2014-10-13 Thread David Laight
From: Nathan Lynch On 10/10/2014 11:25 AM, Russell King - ARM Linux wrote: Right, so GCC 4.8.{1,2} are totally unsuitable for kernel building (and it seems that this has been known about for some time.) Looking at http://gcc.gnu.org/PR58854 it seems that all 4.8.x for x 3 are affected,

Re: RCU bug with v3.17-rc3 ?

2014-10-13 Thread Russell King - ARM Linux
On Mon, Oct 13, 2014 at 09:11:34AM +, David Laight wrote: From: Nathan Lynch On 10/10/2014 11:25 AM, Russell King - ARM Linux wrote: Right, so GCC 4.8.{1,2} are totally unsuitable for kernel building (and it seems that this has been known about for some time.) Looking at

Re: RCU bug with v3.17-rc3 ?

2014-10-13 Thread Greg KH
On Mon, Oct 13, 2014 at 12:43:07PM +0100, Russell King - ARM Linux wrote: On Mon, Oct 13, 2014 at 09:11:34AM +, David Laight wrote: From: Nathan Lynch On 10/10/2014 11:25 AM, Russell King - ARM Linux wrote: Right, so GCC 4.8.{1,2} are totally unsuitable for kernel building (and

Re: RCU bug with v3.17-rc3 ?

2014-10-11 Thread Nathan Lynch
On 10/10/2014 08:44 PM, Nathan Lynch wrote: > On 10/10/2014 11:25 AM, Russell King - ARM Linux wrote: >> >> Right, so GCC 4.8.{1,2} are totally unsuitable for kernel building (and >> it seems that this has been known about for some time.) > > Looking at http://gcc.gnu.org/PR58854 it seems that

Re: RCU bug with v3.17-rc3 ?

2014-10-11 Thread Peter Hurley
On 10/11/2014 10:51 AM, Otavio Salvador wrote: > Hello Russell, > > On Sat, Oct 11, 2014 at 11:16 AM, Russell King - ARM Linux > wrote: >> On Sat, Oct 11, 2014 at 11:54:32AM +0800, Peter Chen wrote: >>> On Fri, Oct 10, 2014 at 08:44:33PM -0500, Nathan Lynch wrote: On 10/10/2014 11:25 AM,

Re: RCU bug with v3.17-rc3 ?

2014-10-11 Thread Otavio Salvador
Hello Russell, On Sat, Oct 11, 2014 at 11:16 AM, Russell King - ARM Linux wrote: > On Sat, Oct 11, 2014 at 11:54:32AM +0800, Peter Chen wrote: >> On Fri, Oct 10, 2014 at 08:44:33PM -0500, Nathan Lynch wrote: >> > On 10/10/2014 11:25 AM, Russell King - ARM Linux wrote: >> > > >> > > Right, so GCC

Re: RCU bug with v3.17-rc3 ?

2014-10-11 Thread Russell King - ARM Linux
On Sat, Oct 11, 2014 at 11:54:32AM +0800, Peter Chen wrote: > On Fri, Oct 10, 2014 at 08:44:33PM -0500, Nathan Lynch wrote: > > On 10/10/2014 11:25 AM, Russell King - ARM Linux wrote: > > > > > > Right, so GCC 4.8.{1,2} are totally unsuitable for kernel building (and > > > it seems that this has

Re: RCU bug with v3.17-rc3 ?

2014-10-11 Thread Russell King - ARM Linux
On Fri, Oct 10, 2014 at 08:44:33PM -0500, Nathan Lynch wrote: > On 10/10/2014 11:25 AM, Russell King - ARM Linux wrote: > > We can blacklist these GCC versions quite easily. We already have GCC > > 3.3 blacklisted, and it's trivial to add others. I would want to include > > some proper details

Re: RCU bug with v3.17-rc3 ?

2014-10-11 Thread Russell King - ARM Linux
On Fri, Oct 10, 2014 at 08:44:33PM -0500, Nathan Lynch wrote: On 10/10/2014 11:25 AM, Russell King - ARM Linux wrote: We can blacklist these GCC versions quite easily. We already have GCC 3.3 blacklisted, and it's trivial to add others. I would want to include some proper details about

Re: RCU bug with v3.17-rc3 ?

2014-10-11 Thread Russell King - ARM Linux
On Sat, Oct 11, 2014 at 11:54:32AM +0800, Peter Chen wrote: On Fri, Oct 10, 2014 at 08:44:33PM -0500, Nathan Lynch wrote: On 10/10/2014 11:25 AM, Russell King - ARM Linux wrote: Right, so GCC 4.8.{1,2} are totally unsuitable for kernel building (and it seems that this has been known

Re: RCU bug with v3.17-rc3 ?

2014-10-11 Thread Otavio Salvador
Hello Russell, On Sat, Oct 11, 2014 at 11:16 AM, Russell King - ARM Linux li...@arm.linux.org.uk wrote: On Sat, Oct 11, 2014 at 11:54:32AM +0800, Peter Chen wrote: On Fri, Oct 10, 2014 at 08:44:33PM -0500, Nathan Lynch wrote: On 10/10/2014 11:25 AM, Russell King - ARM Linux wrote:

Re: RCU bug with v3.17-rc3 ?

2014-10-11 Thread Peter Hurley
On 10/11/2014 10:51 AM, Otavio Salvador wrote: Hello Russell, On Sat, Oct 11, 2014 at 11:16 AM, Russell King - ARM Linux li...@arm.linux.org.uk wrote: On Sat, Oct 11, 2014 at 11:54:32AM +0800, Peter Chen wrote: On Fri, Oct 10, 2014 at 08:44:33PM -0500, Nathan Lynch wrote: On 10/10/2014

Re: RCU bug with v3.17-rc3 ?

2014-10-11 Thread Nathan Lynch
On 10/10/2014 08:44 PM, Nathan Lynch wrote: On 10/10/2014 11:25 AM, Russell King - ARM Linux wrote: Right, so GCC 4.8.{1,2} are totally unsuitable for kernel building (and it seems that this has been known about for some time.) Looking at http://gcc.gnu.org/PR58854 it seems that all 4.8.x

Re: RCU bug with v3.17-rc3 ?

2014-10-10 Thread Peter Chen
On Fri, Oct 10, 2014 at 08:44:33PM -0500, Nathan Lynch wrote: > On 10/10/2014 11:25 AM, Russell King - ARM Linux wrote: > > > > Right, so GCC 4.8.{1,2} are totally unsuitable for kernel building (and > > it seems that this has been known about for some time.) > > Looking at

Re: RCU bug with v3.17-rc3 ?

2014-10-10 Thread Peter Hurley
On 10/10/2014 09:44 PM, Nathan Lynch wrote: > On 10/10/2014 11:25 AM, Russell King - ARM Linux wrote: >> >> Right, so GCC 4.8.{1,2} are totally unsuitable for kernel building (and >> it seems that this has been known about for some time.) > > Looking at http://gcc.gnu.org/PR58854 it seems that

Re: RCU bug with v3.17-rc3 ?

2014-10-10 Thread Nathan Lynch
On 10/10/2014 11:25 AM, Russell King - ARM Linux wrote: > > Right, so GCC 4.8.{1,2} are totally unsuitable for kernel building (and > it seems that this has been known about for some time.) Looking at http://gcc.gnu.org/PR58854 it seems that all 4.8.x for x < 3 are affected, as well as 4.9.0. >

Re: RCU bug with v3.17-rc3 ?

2014-10-10 Thread Aaro Koskinen
On Fri, Oct 10, 2014 at 05:18:35PM +0100, Russell King - ARM Linux wrote: > On Fri, Oct 10, 2014 at 12:47:06AM +0300, Aaro Koskinen wrote: > > On Thu, Oct 09, 2014 at 10:41:01PM +0200, Rabin Vincent wrote: > > > What GCC version are you using? > > > > > > 4.8.1 and 4.8.2 are known to

Re: RCU bug with v3.17-rc3 ?

2014-10-10 Thread Russell King - ARM Linux
On Fri, Oct 10, 2014 at 08:57:43AM -0500, Felipe Balbi wrote: > On Thu, Oct 09, 2014 at 04:07:15PM -0500, Felipe Balbi wrote: > > Hi, > > > > On Thu, Oct 09, 2014 at 03:46:37PM -0500, Felipe Balbi wrote: > > > On Thu, Oct 09, 2014 at 10:41:01PM +0200, Rabin Vincent wrote: > > > > On Thu, Oct 09,

Re: RCU bug with v3.17-rc3 ?

2014-10-10 Thread Russell King - ARM Linux
On Fri, Oct 10, 2014 at 12:47:06AM +0300, Aaro Koskinen wrote: > Hi, > > On Thu, Oct 09, 2014 at 10:41:01PM +0200, Rabin Vincent wrote: > > What GCC version are you using? > > > > 4.8.1 and 4.8.2 are known to miscompile the ARM kernel and these > > find_get_entry() crashes with

Re: RCU bug with v3.17-rc3 ?

2014-10-10 Thread Felipe Balbi
On Thu, Oct 09, 2014 at 04:07:15PM -0500, Felipe Balbi wrote: > Hi, > > On Thu, Oct 09, 2014 at 03:46:37PM -0500, Felipe Balbi wrote: > > On Thu, Oct 09, 2014 at 10:41:01PM +0200, Rabin Vincent wrote: > > > On Thu, Oct 09, 2014 at 11:26:56AM -0500, Felipe Balbi wrote: > > > > alright, it's pretty

Re: RCU bug with v3.17-rc3 ?

2014-10-10 Thread Felipe Balbi
On Thu, Oct 09, 2014 at 04:07:15PM -0500, Felipe Balbi wrote: Hi, On Thu, Oct 09, 2014 at 03:46:37PM -0500, Felipe Balbi wrote: On Thu, Oct 09, 2014 at 10:41:01PM +0200, Rabin Vincent wrote: On Thu, Oct 09, 2014 at 11:26:56AM -0500, Felipe Balbi wrote: alright, it's pretty

Re: RCU bug with v3.17-rc3 ?

2014-10-10 Thread Russell King - ARM Linux
On Fri, Oct 10, 2014 at 12:47:06AM +0300, Aaro Koskinen wrote: Hi, On Thu, Oct 09, 2014 at 10:41:01PM +0200, Rabin Vincent wrote: What GCC version are you using? 4.8.1 and 4.8.2 are known to miscompile the ARM kernel and these find_get_entry() crashes with 0x involved

Re: RCU bug with v3.17-rc3 ?

2014-10-10 Thread Russell King - ARM Linux
On Fri, Oct 10, 2014 at 08:57:43AM -0500, Felipe Balbi wrote: On Thu, Oct 09, 2014 at 04:07:15PM -0500, Felipe Balbi wrote: Hi, On Thu, Oct 09, 2014 at 03:46:37PM -0500, Felipe Balbi wrote: On Thu, Oct 09, 2014 at 10:41:01PM +0200, Rabin Vincent wrote: On Thu, Oct 09, 2014 at

Re: RCU bug with v3.17-rc3 ?

2014-10-10 Thread Aaro Koskinen
On Fri, Oct 10, 2014 at 05:18:35PM +0100, Russell King - ARM Linux wrote: On Fri, Oct 10, 2014 at 12:47:06AM +0300, Aaro Koskinen wrote: On Thu, Oct 09, 2014 at 10:41:01PM +0200, Rabin Vincent wrote: What GCC version are you using? 4.8.1 and 4.8.2 are known to miscompile the ARM

Re: RCU bug with v3.17-rc3 ?

2014-10-10 Thread Nathan Lynch
On 10/10/2014 11:25 AM, Russell King - ARM Linux wrote: Right, so GCC 4.8.{1,2} are totally unsuitable for kernel building (and it seems that this has been known about for some time.) Looking at http://gcc.gnu.org/PR58854 it seems that all 4.8.x for x 3 are affected, as well as 4.9.0. We

Re: RCU bug with v3.17-rc3 ?

2014-10-10 Thread Peter Hurley
On 10/10/2014 09:44 PM, Nathan Lynch wrote: On 10/10/2014 11:25 AM, Russell King - ARM Linux wrote: Right, so GCC 4.8.{1,2} are totally unsuitable for kernel building (and it seems that this has been known about for some time.) Looking at http://gcc.gnu.org/PR58854 it seems that all 4.8.x

Re: RCU bug with v3.17-rc3 ?

2014-10-10 Thread Peter Chen
On Fri, Oct 10, 2014 at 08:44:33PM -0500, Nathan Lynch wrote: On 10/10/2014 11:25 AM, Russell King - ARM Linux wrote: Right, so GCC 4.8.{1,2} are totally unsuitable for kernel building (and it seems that this has been known about for some time.) Looking at http://gcc.gnu.org/PR58854 it

Re: RCU bug with v3.17-rc3 ?

2014-10-09 Thread Aaro Koskinen
Hi, On Thu, Oct 09, 2014 at 10:41:01PM +0200, Rabin Vincent wrote: > What GCC version are you using? > > 4.8.1 and 4.8.2 are known to miscompile the ARM kernel and these > find_get_entry() crashes with 0x involved smell a lot like the > earlier reports from kernels build with

Re: RCU bug with v3.17-rc3 ?

2014-10-09 Thread Felipe Balbi
Hi, On Thu, Oct 09, 2014 at 03:46:37PM -0500, Felipe Balbi wrote: > On Thu, Oct 09, 2014 at 10:41:01PM +0200, Rabin Vincent wrote: > > On Thu, Oct 09, 2014 at 11:26:56AM -0500, Felipe Balbi wrote: > > > alright, it's pretty deterministic however. Always on the same test, no > > > matter which USB

Re: RCU bug with v3.17-rc3 ?

2014-10-09 Thread Felipe Balbi
Hi, On Thu, Oct 09, 2014 at 10:41:01PM +0200, Rabin Vincent wrote: > On Thu, Oct 09, 2014 at 11:26:56AM -0500, Felipe Balbi wrote: > > alright, it's pretty deterministic however. Always on the same test, no > > matter which USB controller, no matter if backing store is RAM or MMC. > > > > Those

Re: RCU bug with v3.17-rc3 ?

2014-10-09 Thread Rabin Vincent
On Thu, Oct 09, 2014 at 11:26:56AM -0500, Felipe Balbi wrote: > alright, it's pretty deterministic however. Always on the same test, no > matter which USB controller, no matter if backing store is RAM or MMC. > > Those two undefined instructions on the disassembly caught my attention, > perhaps

Re: RCU bug with v3.17-rc3 ?

2014-10-09 Thread Felipe Balbi
Hi, On Thu, Oct 09, 2014 at 11:26:56AM -0500, Felipe Balbi wrote: > > I'm thinking it's not the slot pointer itself that's bad, because > > __radix_tree_lookup() dereferences that to test if it's populated > > before returning it, and slot life-time is guaranteed by RCU. > > > > That would only

Re: RCU bug with v3.17-rc3 ?

2014-10-09 Thread Felipe Balbi
Hi Johannes, On Thu, Oct 09, 2014 at 12:01:38PM -0400, Johannes Weiner wrote: > On Wed, Oct 08, 2014 at 04:29:38PM -0500, Felipe Balbi wrote: > > Finally bisected it down to commit 139e561660fe11e0fc35e142a800df3dd7d03e9d > > (lib: radix_tree: tree node interface). Here's full bisect log: > > >

Re: RCU bug with v3.17-rc3 ?

2014-10-09 Thread Johannes Weiner
Hi Felipe, On Wed, Oct 08, 2014 at 04:29:38PM -0500, Felipe Balbi wrote: > Finally bisected it down to commit 139e561660fe11e0fc35e142a800df3dd7d03e9d > (lib: radix_tree: tree node interface). Here's full bisect log: > > git bisect start > # good: [455c6fdbd219161bd09b1165f11699d6d73de11c] Linux

Re: RCU bug with v3.17-rc3 ?

2014-10-09 Thread Johannes Weiner
Hi Felipe, On Wed, Oct 08, 2014 at 04:29:38PM -0500, Felipe Balbi wrote: Finally bisected it down to commit 139e561660fe11e0fc35e142a800df3dd7d03e9d (lib: radix_tree: tree node interface). Here's full bisect log: git bisect start # good: [455c6fdbd219161bd09b1165f11699d6d73de11c] Linux 3.14

Re: RCU bug with v3.17-rc3 ?

2014-10-09 Thread Felipe Balbi
Hi Johannes, On Thu, Oct 09, 2014 at 12:01:38PM -0400, Johannes Weiner wrote: On Wed, Oct 08, 2014 at 04:29:38PM -0500, Felipe Balbi wrote: Finally bisected it down to commit 139e561660fe11e0fc35e142a800df3dd7d03e9d (lib: radix_tree: tree node interface). Here's full bisect log: git

Re: RCU bug with v3.17-rc3 ?

2014-10-09 Thread Felipe Balbi
Hi, On Thu, Oct 09, 2014 at 11:26:56AM -0500, Felipe Balbi wrote: I'm thinking it's not the slot pointer itself that's bad, because __radix_tree_lookup() dereferences that to test if it's populated before returning it, and slot life-time is guaranteed by RCU. That would only leave

Re: RCU bug with v3.17-rc3 ?

2014-10-09 Thread Rabin Vincent
On Thu, Oct 09, 2014 at 11:26:56AM -0500, Felipe Balbi wrote: alright, it's pretty deterministic however. Always on the same test, no matter which USB controller, no matter if backing store is RAM or MMC. Those two undefined instructions on the disassembly caught my attention, perhaps I'm

Re: RCU bug with v3.17-rc3 ?

2014-10-09 Thread Felipe Balbi
Hi, On Thu, Oct 09, 2014 at 10:41:01PM +0200, Rabin Vincent wrote: On Thu, Oct 09, 2014 at 11:26:56AM -0500, Felipe Balbi wrote: alright, it's pretty deterministic however. Always on the same test, no matter which USB controller, no matter if backing store is RAM or MMC. Those two

Re: RCU bug with v3.17-rc3 ?

2014-10-09 Thread Felipe Balbi
Hi, On Thu, Oct 09, 2014 at 03:46:37PM -0500, Felipe Balbi wrote: On Thu, Oct 09, 2014 at 10:41:01PM +0200, Rabin Vincent wrote: On Thu, Oct 09, 2014 at 11:26:56AM -0500, Felipe Balbi wrote: alright, it's pretty deterministic however. Always on the same test, no matter which USB

Re: RCU bug with v3.17-rc3 ?

2014-10-09 Thread Aaro Koskinen
Hi, On Thu, Oct 09, 2014 at 10:41:01PM +0200, Rabin Vincent wrote: What GCC version are you using? 4.8.1 and 4.8.2 are known to miscompile the ARM kernel and these find_get_entry() crashes with 0x involved smell a lot like the earlier reports from kernels build with those

Re: RCU bug with v3.17-rc3 ?

2014-10-08 Thread Felipe Balbi
Hi, On Wed, Oct 08, 2014 at 12:57:07PM -0500, Felipe Balbi wrote: [ snip ] > > > > It seems to be a difficult-to-reproduce race though. On a second boot it > > > > didn't die during boot, but died with my USB test case. Unfortunately, > > > > the platform I'm using is pretty new and only goes

Re: RCU bug with v3.17-rc3 ?

2014-10-08 Thread Felipe Balbi
Hi, On Wed, Oct 08, 2014 at 12:13:22PM -0500, Felipe Balbi wrote: > On Fri, Sep 05, 2014 at 02:32:16PM -0700, Paul E. McKenney wrote: > > On Thu, Sep 04, 2014 at 03:04:03PM -0500, Felipe Balbi wrote: > > > Hi, > > > > > > On Thu, Sep 04, 2014 at 02:25:35PM -0500, Felipe Balbi wrote: > > > > On

Re: RCU bug with v3.17-rc3 ?

2014-10-08 Thread Felipe Balbi
Hi, On Fri, Sep 05, 2014 at 02:32:16PM -0700, Paul E. McKenney wrote: > On Thu, Sep 04, 2014 at 03:04:03PM -0500, Felipe Balbi wrote: > > Hi, > > > > On Thu, Sep 04, 2014 at 02:25:35PM -0500, Felipe Balbi wrote: > > > On Thu, Sep 04, 2014 at 12:16:42PM -0700, Paul E. McKenney wrote: > > > > On

Re: RCU bug with v3.17-rc3 ?

2014-10-08 Thread Felipe Balbi
Hi, On Fri, Sep 05, 2014 at 02:32:16PM -0700, Paul E. McKenney wrote: On Thu, Sep 04, 2014 at 03:04:03PM -0500, Felipe Balbi wrote: Hi, On Thu, Sep 04, 2014 at 02:25:35PM -0500, Felipe Balbi wrote: On Thu, Sep 04, 2014 at 12:16:42PM -0700, Paul E. McKenney wrote: On Thu, Sep 04,

Re: RCU bug with v3.17-rc3 ?

2014-10-08 Thread Felipe Balbi
Hi, On Wed, Oct 08, 2014 at 12:13:22PM -0500, Felipe Balbi wrote: On Fri, Sep 05, 2014 at 02:32:16PM -0700, Paul E. McKenney wrote: On Thu, Sep 04, 2014 at 03:04:03PM -0500, Felipe Balbi wrote: Hi, On Thu, Sep 04, 2014 at 02:25:35PM -0500, Felipe Balbi wrote: On Thu, Sep 04, 2014

Re: RCU bug with v3.17-rc3 ?

2014-10-08 Thread Felipe Balbi
Hi, On Wed, Oct 08, 2014 at 12:57:07PM -0500, Felipe Balbi wrote: [ snip ] It seems to be a difficult-to-reproduce race though. On a second boot it didn't die during boot, but died with my USB test case. Unfortunately, the platform I'm using is pretty new and only goes as far back

Re: RCU bug with v3.17-rc3 ?

2014-09-05 Thread Paul E. McKenney
On Thu, Sep 04, 2014 at 03:04:03PM -0500, Felipe Balbi wrote: > Hi, > > On Thu, Sep 04, 2014 at 02:25:35PM -0500, Felipe Balbi wrote: > > On Thu, Sep 04, 2014 at 12:16:42PM -0700, Paul E. McKenney wrote: > > > On Thu, Sep 04, 2014 at 01:40:21PM -0500, Felipe Balbi wrote: > > > > Hi, > > > > > >

Re: RCU bug with v3.17-rc3 ?

2014-09-05 Thread Paul E. McKenney
On Thu, Sep 04, 2014 at 03:04:03PM -0500, Felipe Balbi wrote: Hi, On Thu, Sep 04, 2014 at 02:25:35PM -0500, Felipe Balbi wrote: On Thu, Sep 04, 2014 at 12:16:42PM -0700, Paul E. McKenney wrote: On Thu, Sep 04, 2014 at 01:40:21PM -0500, Felipe Balbi wrote: Hi, I keep

Re: RCU bug with v3.17-rc3 ?

2014-09-04 Thread Felipe Balbi
Hi, On Thu, Sep 04, 2014 at 02:25:35PM -0500, Felipe Balbi wrote: > On Thu, Sep 04, 2014 at 12:16:42PM -0700, Paul E. McKenney wrote: > > On Thu, Sep 04, 2014 at 01:40:21PM -0500, Felipe Balbi wrote: > > > Hi, > > > > > > I keep triggering the following Oops with -rc3 when writing to the mass >

Re: RCU bug with v3.17-rc3 ?

2014-09-04 Thread Felipe Balbi
On Thu, Sep 04, 2014 at 12:16:42PM -0700, Paul E. McKenney wrote: > On Thu, Sep 04, 2014 at 01:40:21PM -0500, Felipe Balbi wrote: > > Hi, > > > > I keep triggering the following Oops with -rc3 when writing to the mass > > storage gadget driver: > > v3.17-rc3, correct? yup, as in subject ;-) >

Re: RCU bug with v3.17-rc3 ?

2014-09-04 Thread Paul E. McKenney
On Thu, Sep 04, 2014 at 01:40:21PM -0500, Felipe Balbi wrote: > Hi, > > I keep triggering the following Oops with -rc3 when writing to the mass > storage gadget driver: v3.17-rc3, correct? I take it that the test passes on some earlier version?

Re: RCU bug with v3.17-rc3 ?

2014-09-04 Thread Paul E. McKenney
On Thu, Sep 04, 2014 at 01:40:21PM -0500, Felipe Balbi wrote: Hi, I keep triggering the following Oops with -rc3 when writing to the mass storage gadget driver: v3.17-rc3, correct? I take it that the test passes on some earlier version?

Re: RCU bug with v3.17-rc3 ?

2014-09-04 Thread Felipe Balbi
On Thu, Sep 04, 2014 at 12:16:42PM -0700, Paul E. McKenney wrote: On Thu, Sep 04, 2014 at 01:40:21PM -0500, Felipe Balbi wrote: Hi, I keep triggering the following Oops with -rc3 when writing to the mass storage gadget driver: v3.17-rc3, correct? yup, as in subject ;-) I take it

Re: RCU bug with v3.17-rc3 ?

2014-09-04 Thread Felipe Balbi
Hi, On Thu, Sep 04, 2014 at 02:25:35PM -0500, Felipe Balbi wrote: On Thu, Sep 04, 2014 at 12:16:42PM -0700, Paul E. McKenney wrote: On Thu, Sep 04, 2014 at 01:40:21PM -0500, Felipe Balbi wrote: Hi, I keep triggering the following Oops with -rc3 when writing to the mass storage