From: patrice.chotard@st.com (Patrice Chotard)
To: linux-arm-kernel@lists.infradead.org
Subject: [RESEND PATCH 1/2] pinctrl: st: avoid multiple mutex lock
Date: Wed, 7 Jan 2015 11:30:49 +0100 [thread overview]
Message-ID: <54AD0AD9.3010308@st.com> (raw)
In-Reply-To: <CACRpkdbOftsepHFBv32j-ty2+N3vDJPP27iMEWwZKO3ciRv0ug@mail.gmail.com>
Hi Linus
On 01/07/2015 10:44 AM, Linus Walleij wrote:
> On Mon, Jan 5, 2015 at 11:04 AM, Patrice CHOTARD <patrice.chotard@st.com> wrote:
>
>> From: Francesco VIRLINZI <francesco.virlinzi@st.com>
>>
>> Using the sysfs inteface to inspect the pins configuration
>> the system can walk around a path which acquires the same
>> mutex twice.
>>
>> On STiH407 platform, for example :
>> cat /sys/kernel/debug/pinctrl/920f080.pin-controller-front0/pinconf-pins
>> hangs the kernel and never returns.
>>
>> With this patch the mutex is temporary freed.
>>
>> Signed-off-by: Francesco Virlinzi <francesco.virlinzi@st.com>
>> Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
> Patch applied to fixes. Sorry for the delay.
Don't worry ;-)
Thanks
>
> Yours,
> Linus Walleij
next prev parent reply other threads:[~2015-01-07 10:30 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-05 10:04 [RESEND PATCH 0/2] pinctrl-st: various fixes Patrice CHOTARD
2015-01-05 10:04 ` [RESEND PATCH 1/2] pinctrl: st: avoid multiple mutex lock Patrice CHOTARD
2015-01-07 9:44 ` Linus Walleij
2015-01-07 10:30 ` Patrice Chotard [this message]
2015-01-05 10:04 ` [RESEND PATCH 2/2] pinctrl: st: Add irq_disable hook to st_gpio_irqchip Patrice CHOTARD
2015-01-07 9:45 ` Linus Walleij
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=54AD0AD9.3010308@st.com \
--to=patrice.chotard@st.com \
--cc=linux-arm-kernel@lists.infradead.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;
as well as URLs for NNTP newsgroup(s).