Re: blk_mq: suspicious RCU usage, rcu_read_lock() used illegally while idle!

2014-11-07 Thread Paul E. McKenney
On Fri, Nov 07, 2014 at 12:45:58PM -0500, David Miller wrote: > From: "Paul E. McKenney" > Date: Fri, 7 Nov 2014 07:06:28 -0800 > > > On Fri, Nov 07, 2014 at 12:50:02PM +0200, Meelis Roos wrote: > >> Perhaps DaveM can tell which one is coreect or if there is any related > >> problem. > > > > Ha

Re: blk_mq: suspicious RCU usage, rcu_read_lock() used illegally while idle!

2014-11-07 Thread David Miller
From: "Paul E. McKenney" Date: Fri, 7 Nov 2014 07:06:28 -0800 > On Fri, Nov 07, 2014 at 12:50:02PM +0200, Meelis Roos wrote: >> Perhaps DaveM can tell which one is coreect or if there is any related >> problem. > > Happy to push either of them along, if appropriate. We should use irq_enter()/i

Re: blk_mq: suspicious RCU usage, rcu_read_lock() used illegally while idle!

2014-11-07 Thread Paul E. McKenney
On Fri, Nov 07, 2014 at 12:50:02PM +0200, Meelis Roos wrote: > Added DaveM and sparclinux to CC. > > On Thu, 6 Nov 2014, Paul E. McKenney wrote: > > On Thu, Nov 06, 2014 at 07:46:16AM -0800, Christoph Hellwig wrote: > > > Without help from Paul I can't even make sense of the message.. > > > > It

Re: blk_mq: suspicious RCU usage, rcu_read_lock() used illegally while idle!

2014-11-07 Thread Meelis Roos
Added DaveM and sparclinux to CC. On Thu, 6 Nov 2014, Paul E. McKenney wrote: > On Thu, Nov 06, 2014 at 07:46:16AM -0800, Christoph Hellwig wrote: > > Without help from Paul I can't even make sense of the message.. > > It looks to me like the SUN4U architecture is failing to invoke > rcu_irq_ente

Re: blk_mq: suspicious RCU usage, rcu_read_lock() used illegally while idle!

2014-11-06 Thread Paul E. McKenney
On Thu, Nov 06, 2014 at 07:46:16AM -0800, Christoph Hellwig wrote: > Without help from Paul I can't even make sense of the message.. It looks to me like the SUN4U architecture is failing to invoke rcu_irq_enter() on entry to the smp_call_function_single_client() IPI handler. And I am not seeing a

Re: blk_mq: suspicious RCU usage, rcu_read_lock() used illegally while idle!

2014-11-06 Thread Christoph Hellwig
Without help from Paul I can't even make sense of the message.. On Thu, Nov 06, 2014 at 05:45:43PM +0200, Meelis Roos wrote: > I tested a machine with multiple scsi adapters today with latest kernel > and found the following warning in the logs. It is probably from QLA1040 > adapter initializati

blk_mq: suspicious RCU usage, rcu_read_lock() used illegally while idle!

2014-11-06 Thread Meelis Roos
I tested a machine with multiple scsi adapters today with latest kernel and found the following warning in the logs. It is probably from QLA1040 adapter initialization, full dmesg is below. Adaptec SCSI card dumps is normal on this server, it is usually there and seems to be harmless (maybe a s