From: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
To: Ole Henrik Jahren <olehenja@alumni.ntnu.no>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] avr32: fix deadlock when reading clock list in debugfs
Date: Wed, 13 Apr 2011 15:17:45 +0200 [thread overview]
Message-ID: <1302700665.10549.4.camel@hcegtvedt> (raw)
In-Reply-To: <20110306194239.GA9342@siv.localdomain>
On Sun, 2011-03-06 at 20:42 +0100, Ole Henrik Jahren wrote:
> When writing out /sys/kernel/debug/at32ap_clk, clock list lock is being
> held while clk_get() is called. clk_get() attempts to take the same
> lock, which results in deadlock. Introduce and call lock free version,
> __clk_get(), instead.
>
> Signed-off-by: Ole Henrik Jahren <olehenja@alumni.ntnu.no>
> Cc: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
Thanks for this fix, added to the AVR32 tree.
Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
<snipp patch>
--
Hans-Christian Egtvedt
next prev parent reply other threads:[~2011-04-13 13:17 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-06 19:42 Ole Henrik Jahren
2011-04-13 13:17 ` Hans-Christian Egtvedt [this message]
-- strict thread matches above, loose matches on Subject: below --
2010-09-12 16:26 Ole Henrik Jahren
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=1302700665.10549.4.camel@hcegtvedt \
--to=hans-christian.egtvedt@atmel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=olehenja@alumni.ntnu.no \
/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
all inboxes | Powered by JetHome®