From: "Vladimir A. Barinov" <vbarinov@ru.mvista.com>
To: Ralf Baechle <ralf@linux-mips.org>
Cc: linux-mips@linux-mips.org, ppopov@embeddedalley.com
Subject: Re: [PATCH] Philips PNX8550 ip3106 driver deadlock fix
Date: Tue, 06 Dec 2005 21:03:00 +0300 [thread overview]
Message-ID: <4395D254.9060203@ru.mvista.com> (raw)
In-Reply-To: <20051206180035.GG2698@linux-mips.org>
Ralf Baechle wrote:
>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.
>
>
Ok, thank you.
> Ralf
>
>
>
>
prev parent reply other threads:[~2005-12-06 18:03 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
2005-12-06 18:03 ` Vladimir A. Barinov [this message]
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=4395D254.9060203@ru.mvista.com \
--to=vbarinov@ru.mvista.com \
--cc=linux-mips@linux-mips.org \
--cc=ppopov@embeddedalley.com \
--cc=ralf@linux-mips.org \
/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