Re: [PATCH] pch_uart: Add eg20t_port lock field, avoid recursive spinlocks

2012-09-27 Thread Greg Kroah-Hartman
On Wed, Sep 05, 2012 at 05:37:25PM -0700, Darren Hart wrote: > On 09/05/2012 05:25 PM, Darren Hart wrote: > > > > > > On 09/05/2012 05:18 PM, Greg Kroah-Hartman wrote: > >> On Wed, Sep 05, 2012 at 05:14:48PM -0700, Greg Kroah-Hartman wrote: > >>> On Wed, Sep 05, 2012 at 05:04:07PM -0700, Darren H

[stable][PATCH] pch_uart: Add eg20t_port lock field, avoid recursive spinlocks

2012-09-07 Thread Darren Hart
commit 2588aba002d14e938c2f56d299ecf3e7ce1302a5 upstream. pch_uart_interrupt() takes priv->port.lock which leads to two recursive spinlock calls if low_latency==1 or CONFIG_PREEMPT_RT_FULL=y (one otherwise): pch_uart_interrupt spin_lock_irqsave(priv->port.lock, flags) case PCH_UART_IID_RDR_TO

Re: [PATCH] pch_uart: Add eg20t_port lock field, avoid recursive spinlocks

2012-09-05 Thread Darren Hart
On 09/05/2012 05:25 PM, Darren Hart wrote: > > > On 09/05/2012 05:18 PM, Greg Kroah-Hartman wrote: >> On Wed, Sep 05, 2012 at 05:14:48PM -0700, Greg Kroah-Hartman wrote: >>> On Wed, Sep 05, 2012 at 05:04:07PM -0700, Darren Hart wrote: The following patch has been included in linux-next

Re: [PATCH] pch_uart: Add eg20t_port lock field, avoid recursive spinlocks

2012-09-05 Thread Darren Hart
On 09/05/2012 05:18 PM, Greg Kroah-Hartman wrote: > On Wed, Sep 05, 2012 at 05:14:48PM -0700, Greg Kroah-Hartman wrote: >> On Wed, Sep 05, 2012 at 05:04:07PM -0700, Darren Hart wrote: >>> The following patch has been included in linux-next >>> (fe89def79c48e2149abdd1e816523e69a9067191) but has no

Re: [PATCH] pch_uart: Add eg20t_port lock field, avoid recursive spinlocks

2012-09-05 Thread Greg Kroah-Hartman
On Wed, Sep 05, 2012 at 05:14:48PM -0700, Greg Kroah-Hartman wrote: > On Wed, Sep 05, 2012 at 05:04:07PM -0700, Darren Hart wrote: > > The following patch has been included in linux-next > > (fe89def79c48e2149abdd1e816523e69a9067191) but has not yet landed in > > mainline > > nor been queued for s

Re: [PATCH] pch_uart: Add eg20t_port lock field, avoid recursive spinlocks

2012-09-05 Thread Greg Kroah-Hartman
On Wed, Sep 05, 2012 at 05:04:07PM -0700, Darren Hart wrote: > The following patch has been included in linux-next > (fe89def79c48e2149abdd1e816523e69a9067191) but has not yet landed in mainline > nor been queued for stable so far as I can determine. This patch addresses a > deadlock in mainline an

[PATCH] pch_uart: Add eg20t_port lock field, avoid recursive spinlocks

2012-09-05 Thread Darren Hart
The following patch has been included in linux-next (fe89def79c48e2149abdd1e816523e69a9067191) but has not yet landed in mainline nor been queued for stable so far as I can determine. This patch addresses a deadlock in mainline and is a prerequisite for an additional fix required by the PREEMPT_RT