Linux MIPS Architecture development
 help / color / mirror / Atom feed
From: Ralf Baechle <ralf@linux-mips.org>
To: "Vladimir A. Barinov" <vbarinov@ru.mvista.com>
Cc: linux-mips@linux-mips.org, ppopov@embeddedalley.com
Subject: Re: [PATCH] Philips PNX8550 ip3106 driver deadlock fix
Date: Tue, 6 Dec 2005 18:00:35 +0000	[thread overview]
Message-ID: <20051206180035.GG2698@linux-mips.org> (raw)
In-Reply-To: <4395D05C.9060408@ru.mvista.com>

On Tue, Dec 06, 2005 at 08:54:36PM +0300, Vladimir A. Barinov wrote:

> This is a patch that fixes spin_lock deadlock in serial ip3106 driver.
> The spin_lock_irq(&port->lock,flags) is already called in generic driver 
> serial_core.c before
> port->ops->start_tx().
> So the second call of spin_lock_irq(&port->lock, flags) leads to 
> deadlock. This could be verified in PREEMPT_DESCTOP case when
> these options are enabled:
> CONFIG_DEBUG_PREEMPT=y
> CONFIG_DEBUG_SPINLOCK=y

Serial drivers are maintained by rmk+serial@arm.linux.org.uk, please send
to him.

  Ralf

  reply	other threads:[~2005-12-06 18:01 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-06 17:54 [PATCH] Philips PNX8550 ip3106 driver deadlock fix Vladimir A. Barinov
2005-12-06 18:00 ` Ralf Baechle [this message]
2005-12-06 18:03   ` Vladimir A. Barinov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20051206180035.GG2698@linux-mips.org \
    --to=ralf@linux-mips.org \
    --cc=linux-mips@linux-mips.org \
    --cc=ppopov@embeddedalley.com \
    --cc=vbarinov@ru.mvista.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox