Re: [Query] mmc/sdhci: Suspend hangs if card is inserted at suspend.

2011-11-17 Thread Ulf Hansson
Sujit Reddy Thumma wrote: Hi Ulf, I see similar issue with your patch in 3.2 "mmc: core: Prevent too long response times for suspend". if (mmc_try_claim_host(host)) { /* if CONFIG_MMC_UNSAFE_RESUME is not set, remove() callback would get blocked until mmcqd gets mmc_claim_h

Re: [Query] mmc/sdhci: Suspend hangs if card is inserted at suspend.

2011-11-15 Thread Sujit Reddy Thumma
-Original Message- From: linux-mmc-ow...@vger.kernel.org [mailto:linux-mmc-ow...@vger.kernel.org] On Behalf Of Viresh Kumar Sent: Tuesday, November 15, 2011 1:47 PM To: Chris Ball Cc: linux-mmc@vger.kernel.org; Shiraz HASHIM; Armando VISCONTI Subject: Re: [Query] mmc/sdhci: Suspend hangs i

RE: [Query] mmc/sdhci: Suspend hangs if card is inserted at suspend.

2011-11-14 Thread Dong, Chuanxiao
; Subject: Re: [Query] mmc/sdhci: Suspend hangs if card is inserted at suspend. > > On 11/15/2011 12:27 PM, Dong, Chuanxiao wrote: > > Hi Viresh, > > I also meet the hang issue when suspending a system with a mounted SD card. > Actually it caused by a dead lock of mmc_claim_hos

Re: [Query] mmc/sdhci: Suspend hangs if card is inserted at suspend.

2011-11-14 Thread Viresh Kumar
On 11/15/2011 12:27 PM, Dong, Chuanxiao wrote: > Hi Viresh, > I also meet the hang issue when suspending a system with a mounted SD card. > Actually it caused by a dead lock of mmc_claim_host. Maybe we faced the same > issue. > So may be the two mails in the attachment can help you. Hi Dong, Yo

RE: [Query] mmc/sdhci: Suspend hangs if card is inserted at suspend.

2011-11-14 Thread Dong, Chuanxiao
mmc-ow...@vger.kernel.org > [mailto:linux-mmc-ow...@vger.kernel.org] On Behalf Of Viresh Kumar > Sent: Tuesday, November 15, 2011 1:47 PM > To: Chris Ball > Cc: linux-mmc@vger.kernel.org; Shiraz HASHIM; Armando VISCONTI > Subject: Re: [Query] mmc/sdhci: Suspend hangs if card is inserte

Re: [Query] mmc/sdhci: Suspend hangs if card is inserted at suspend.

2011-11-14 Thread Viresh Kumar
On 11/12/2011 8:54 AM, Chris Ball wrote: > On Fri, Nov 11 2011, Viresh Kumar wrote: >> > Controller specific suspend/resume are still not called, so i think it >> > might >> > be related to core code. I am using 2.6.37 kernel version. >> > >> > Any help on this? > Please try to reproduce on 3.1 an

Re: [Query] mmc/sdhci: Suspend hangs if card is inserted at suspend.

2011-11-11 Thread Chris Ball
Hi Viresh, On Fri, Nov 11 2011, Viresh Kumar wrote: > Controller specific suspend/resume are still not called, so i think it might > be related to core code. I am using 2.6.37 kernel version. > > Any help on this? Please try to reproduce on 3.1 and let us know if it's present there. Thanks, - C

[Query] mmc/sdhci: Suspend hangs if card is inserted at suspend.

2011-11-10 Thread Viresh Kumar
Hi, I am working with sdhci-spear.c driver on SPEAr SoC. When i suspend the system, with card inserted, the system hangs, and after 2 minutes i get following log: root@10.199.15.17:~# rtcwake -s 5 -m standby rtcwake: wakeup from "standby" using /dev/rtc0 at Sat Nov 12 12:14:13 2011 PM: Syncing