RE: kernel 2.6.38.6 MMC controller problem (fwd)

2011-05-17 Thread Dong, Chuanxiao
> -Original Message- > From: linus.ml.wall...@gmail.com [mailto:linus.ml.wall...@gmail.com] On > Behalf Of > Linus Walleij > Sent: Wednesday, May 18, 2011 1:30 PM > To: Dong, Chuanxiao > Cc: Guennadi Liakhovetski; Chris Ball; David Strobach; > linux-mmc@vger.kernel.org; > Greg KH; ho...

RE: [RFC] mmc: Non Default UHS Drive Strength must use board specific code

2011-05-17 Thread Nath, Arindam
Hi Philip, > -Original Message- > From: Philip Rakity [mailto:prak...@marvell.com] > Sent: Wednesday, May 18, 2011 2:29 AM > To: linux-mmc@vger.kernel.org > Cc: Nath, Arindam > Subject: [RFC] mmc: Non Default UHS Drive Strength must use board > specific code > > > Note: This is being s

Re: kernel 2.6.38.6 MMC controller problem (fwd)

2011-05-17 Thread Linus Walleij
2011/5/17 Dong, Chuanxiao : > mmc clock gating thread may be delayed for a long time in some scenarios. > Since mmc_claim_host will be also used by other thread. I think this will > possibly happen. That shouldn't matter? host->lock will make sure the requests are serialized will it not? Linus W

[RFC] mmc: Non Default UHS Drive Strength must use board specific code

2011-05-17 Thread Philip Rakity
Note: This is being send out for comment. We are still in the process of testing this change but we would like to have community review at this time. SD 3.0 introduced additional drive strengths for UHS. The card and the host can indicate 4 drive strengths as a bit mask. Without local design

[PATCH] mmc: eMMC bus width may not work on all platforms

2011-05-17 Thread Philip Rakity
CMD19 -- The offical way to validate bus widths from the JEDEC spec does not work on all platforms. Some platforms that use PCI/PCIe to connect their SD controllers are known to fail. If the quirk MMC_BUS_WIDTH_TEST is not defined we try to figure out the bus width by reading the ext_csd at diffe

[PATCH v2] mmc: tmio: Fix build errors

2011-05-17 Thread Paul Parsons
Only compile tmio_mmc_dma.o when CONFIG_MMC_SDHI is selected (as y or m). Signed-off-by: Paul Parsons --- --- clean-2.6.39-rc7/drivers/mmc/host/Makefile 2011-05-17 01:53:37.280446658 +0100 +++ linux-2.6.39-rc7/drivers/mmc/host/Makefile 2011-05-17 02:15:56.959621818 +0100 @@ -31,9 +31,7 @@ obj

RE: [RFC] MMC: Request for comments attempt at dealing with removeable suspend/resume.

2011-05-17 Thread Dong, Chuanxiao
> -Original Message- > From: linux-mmc-ow...@vger.kernel.org > [mailto:linux-mmc-ow...@vger.kernel.org] On Behalf Of Andrei Warkentin > Sent: Tuesday, April 05, 2011 4:31 AM > To: linux-mmc@vger.kernel.org > Cc: Andrei Warkentin > Subject: [RFC] MMC: Request for comments attempt at dealin

RE: [RFC]mmc: fix dead lock issue when system entering S3

2011-05-17 Thread Dong, Chuanxiao
Just found Andrei Warkentin also submitted a RFC patch, which included more fix for mounted root file system media. Please ignore this thread. > -Original Message- > From: linux-mmc-ow...@vger.kernel.org > [mailto:linux-mmc-ow...@vger.kernel.org] On Behalf Of Chuanxiao Dong > Sent: Tuesda

RE: kernel 2.6.38.6 MMC controller problem (fwd)

2011-05-17 Thread Dong, Chuanxiao
> -Original Message- > From: linux-mmc-ow...@vger.kernel.org > [mailto:linux-mmc-ow...@vger.kernel.org] On Behalf Of Linus Walleij > Sent: Tuesday, May 17, 2011 1:56 AM > To: Guennadi Liakhovetski > Cc: Chris Ball; David Strobach; linux-mmc@vger.kernel.org; Greg KH; > ho...@verge.net.au; d.

[RFC]mmc: fix dead lock issue when system entering S3

2011-05-17 Thread Chuanxiao Dong
Hi all, I encountered a dead lock issue. Two threads try to claim host, unfortunately one thread needs to sync with the other. I encountered this issue with SD card when testing system entering S3. Does anybody encounter the same issue? Environment: 1. without CONFIG_MMC_UNSAFE_RESUME ope