All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chris Ball <cjb@laptop.org>
To: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Cc: linux-sh@vger.kernel.org, linux-mmc@vger.kernel.org,
	Magnus Damm <damm@opensource.se>,
	Simon Horman <horms@verge.net.au>,
	Linus Walleij <linus.walleij@linaro.org>
Subject: Re: [PATCH] MMC: fix a race between card-detect rescan and clock-gate work instances
Date: Mon, 18 Apr 2011 22:01:32 -0400	[thread overview]
Message-ID: <m3fwpfq9s3.fsf@pullcord.laptop.org> (raw)
In-Reply-To: <Pine.LNX.4.64.1104152006110.18593@axis700.grange> (Guennadi Liakhovetski's message of "Fri, 15 Apr 2011 20:08:19 +0200 (CEST)")

Hi Guennadi,

On Fri, Apr 15 2011, Guennadi Liakhovetski wrote:
> Currently there is a race in the MMC core between a card-detect
> rescan work and the clock-gating work, scheduled from a command
> completion. Fix it by removing the dedicated clock-gating mutex and
> using the MMC standard locking mechanism instead.
>
> Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
> Cc: Simon Horman <horms@verge.net.au>
> Cc: Magnus Damm <damm@opensource.se>
> Cc: Linus Walleij <linus.walleij@linaro.org>

Thanks, pushed to mmc-next with Linus' ACK and a stable@ tag.

- Chris.
-- 
Chris Ball   <cjb@laptop.org>   <http://printf.net/>
One Laptop Per Child

WARNING: multiple messages have this Message-ID (diff)
From: Chris Ball <cjb@laptop.org>
To: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Cc: linux-sh@vger.kernel.org, linux-mmc@vger.kernel.org,
	Magnus Damm <damm@opensource.se>,
	Simon Horman <horms@verge.net.au>,
	Linus Walleij <linus.walleij@linaro.org>
Subject: Re: [PATCH] MMC: fix a race between card-detect rescan and clock-gate work instances
Date: Tue, 19 Apr 2011 01:57:41 +0000	[thread overview]
Message-ID: <m3fwpfq9s3.fsf@pullcord.laptop.org> (raw)
In-Reply-To: <Pine.LNX.4.64.1104152006110.18593@axis700.grange> (Guennadi Liakhovetski's message of "Fri, 15 Apr 2011 20:08:19 +0200 (CEST)")

Hi Guennadi,

On Fri, Apr 15 2011, Guennadi Liakhovetski wrote:
> Currently there is a race in the MMC core between a card-detect
> rescan work and the clock-gating work, scheduled from a command
> completion. Fix it by removing the dedicated clock-gating mutex and
> using the MMC standard locking mechanism instead.
>
> Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
> Cc: Simon Horman <horms@verge.net.au>
> Cc: Magnus Damm <damm@opensource.se>
> Cc: Linus Walleij <linus.walleij@linaro.org>

Thanks, pushed to mmc-next with Linus' ACK and a stable@ tag.

- Chris.
-- 
Chris Ball   <cjb@laptop.org>   <http://printf.net/>
One Laptop Per Child

  parent reply	other threads:[~2011-04-19  2:01 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-15 18:08 [PATCH] MMC: fix a race between card-detect rescan and clock-gate work instances Guennadi Liakhovetski
2011-04-15 18:08 ` [PATCH] MMC: fix a race between card-detect rescan and clock-gate Guennadi Liakhovetski
2011-04-15 19:29 ` [PATCH] MMC: fix a race between card-detect rescan and clock-gate work instances Andrei Warkentin
2011-04-15 19:29   ` [PATCH] MMC: fix a race between card-detect rescan and clock-gate Andrei Warkentin
2011-04-19  0:53 ` [PATCH] MMC: fix a race between card-detect rescan and clock-gate work instances Linus Walleij
2011-04-19  0:53   ` [PATCH] MMC: fix a race between card-detect rescan and clock-gate Linus Walleij
2011-04-19  1:57 ` Chris Ball [this message]
2011-04-19  2:01   ` [PATCH] MMC: fix a race between card-detect rescan and clock-gate work instances Chris Ball
2011-05-11 12:15 ` Dong, Chuanxiao
2011-05-11 12:26   ` Guennadi Liakhovetski
2011-05-11 12:51     ` Dong, Chuanxiao
2011-05-11 13:31       ` Guennadi Liakhovetski

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=m3fwpfq9s3.fsf@pullcord.laptop.org \
    --to=cjb@laptop.org \
    --cc=damm@opensource.se \
    --cc=g.liakhovetski@gmx.de \
    --cc=horms@verge.net.au \
    --cc=linus.walleij@linaro.org \
    --cc=linux-mmc@vger.kernel.org \
    --cc=linux-sh@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.