All of lore.kernel.org
 help / color / mirror / Atom feed
From: Vitaly Wool <vitalywool@gmail.com>
To: Ulf Hansson <ulf.hansson@stericsson.com>
Cc: linux-mmc@vger.kernel.org, Chris Ball <cjb@laptop.org>,
	Daniel Drake <dsd@laptop.org>,
	Per Forlin <per.forlin@stericsson.com>,
	Johan Rudholm <johan.rudholm@stericsson.com>,
	Lee Jones <lee.jones@linaro.org>
Subject: Re: [PATCH] mmc: core: Do not pre-claim host in suspend
Date: Thu, 19 Apr 2012 12:02:51 +0200	[thread overview]
Message-ID: <CAMJBoFNO7aKge9BqawRJdr=k_HxOOaeoPaif1sed_vN7kSF35g@mail.gmail.com> (raw)
In-Reply-To: <1334829325-3464-1-git-send-email-ulf.hansson@stericsson.com>

Hi Ulf,

On Thu, Apr 19, 2012 at 11:55 AM, Ulf Hansson
<ulf.hansson@stericsson.com> wrote:
> Since SDIO drivers may want to do some SDIO operations
> in their suspend callback functions, we must not keep
> the host claimed when calling them.
>
> Daniel Drake reported that libertas_sdio encountered
> a deadlock in it's suspend function.

I think it looks like a hack. Can you provide a better description of
where this deadlock actually happens?

If libertas_sdio claims host as a part of its suspend operation from a
context different from the suspend context, isn't it libertas_sdio
that has to be fixed?

Vitaly

  reply	other threads:[~2012-04-19 10:02 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-19  9:55 [PATCH] mmc: core: Do not pre-claim host in suspend Ulf Hansson
2012-04-19 10:02 ` Vitaly Wool [this message]
2012-04-19 15:48   ` Daniel Drake
2012-04-20  8:55     ` Ulf Hansson
2012-04-20 13:39       ` Daniel Drake
2012-04-20 13:41 ` Chris Ball
2012-04-20 17:17 ` Sujit Reddy Thumma

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='CAMJBoFNO7aKge9BqawRJdr=k_HxOOaeoPaif1sed_vN7kSF35g@mail.gmail.com' \
    --to=vitalywool@gmail.com \
    --cc=cjb@laptop.org \
    --cc=dsd@laptop.org \
    --cc=johan.rudholm@stericsson.com \
    --cc=lee.jones@linaro.org \
    --cc=linux-mmc@vger.kernel.org \
    --cc=per.forlin@stericsson.com \
    --cc=ulf.hansson@stericsson.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 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.