Re: [PATCH] mmc: debugfs: parse all ext_csd via debug_fs

2011-11-20 Thread Giuseppe CAVALLARO
Hello Linus, Chris, On 11/12/2011 2:12 AM, Linus Walleij wrote: On Tue, Oct 25, 2011 at 1:43 PM, Sebastian Rasmussen wrote: [Giuseppe] This patch enhances the debug information reported for the mmc card by parsing the extended CSD registers obviously according to all the current specification

[PATCH v2 4/4] ARM: pxa168/gplugd: Add support for SD port 1

2011-11-20 Thread Tanmay Upadhyay
v2 - after sdhci-pxav1 driver is merged with sdhci-pxav2, pass pxav1_controller = 1 - as sdhci device numbering now starts from 1, call pxa168_add_sdh accordingly Signed-off-by: Tanmay Upadhyay Reviewed-by: Philip Rakity --- arch/arm/mach-mmp/gplugd.c |6 ++ 1 files changed

[PATCH v2 3/4] mmc: sdhci-pxa: Add SDHCI driver for PXA16x

2011-11-20 Thread Tanmay Upadhyay
PXA16x devices uses SDHCI controller v1. As it's not much different than v2 controller, v1 driver is merged with sdhci-pxav2 driver v2 - instead of having separate file sdhci-pxav1, merge code with sdhci-pxav2 driver code as suggested by Chris Ball Signed-off-by: Philip Rakity Signed-off-by

[PATCH v3 2/4] ARM: pxa168: Add SDHCI support

2011-11-20 Thread Tanmay Upadhyay
v2 - clock register for SDHCI are not common across all MMP SoCs. So, move PXA168 implementation to pxa168.c v3 - sdhci-pxav1 driver code is merged with sdhci-pxav2. So, change the device name accordingly - start sdhci device numbering from 1 as other PXA168 devices does that Si

[PATCH 1/4] mmc: sdhci-pxa: Trivial fix in Kconfig

2011-11-20 Thread Tanmay Upadhyay
Select MMC_SDHCI_PXAV3 by default if CPU is MMP2 Select MMC_SDHCI_PXAV2 by default if CPU is PXA910 Signed-off-by: Tanmay Upadhyay Reviewed-by: Philip Rakity --- drivers/mmc/host/Kconfig |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/mmc/host/Kconfig b/drive

Re: omap_hsmmc noisy/broken for suspend resume

2011-11-20 Thread Girish K S
On 19 November 2011 01:13, Kevin Hilman wrote: > Hello Girish, > > On 11/03/2011 09:21 PM, Girish K S wrote: >> On 3 November 2011 17:24, Kevin Hilman wrote: >>> Hello, >>> >>> Using Linus' master branch, I was testing PM functionality on OMAP3/4 >>> and noticed that the MMC driver is now rather

Re: [PATCH v3] mmc: support BKOPS feature for eMMC

2011-11-20 Thread Per Forlin
Hi Konstantin, On Sun, Nov 20, 2011 at 5:12 PM, Konstantin Dorfman wrote: > Hello Per, > >> On Thu, Nov 17, 2011 at 4:01 PM, Konstantin Dorfman >> wrote: >>> Hello Jaenhoon, >>> >>> I have a few suggestions regarding the situation when Host starts BKOPS: >>> >>> 1) Host should start BKOPS (based

[PATCH] sdhci-pci register legacy PCI PM or runtime PM not both

2011-11-20 Thread David Fries
From: David Fries pci_has_legacy_pm_support says to not register both legacy PM and runtime PM callbacks, modified ifdefs. Signed-off-by: David Fries Cc: linux-mmc@vger.kernel.org Cc: Chris Ball Cc: Adrian Hunter Cc: Yunpeng Gao --- drivers/mmc/host/sdhci-pci.c |7 --- 1 files chang

[patch] mmc: ushc: fix an endianness conversion in ushc_request()

2011-11-20 Thread Dan Carpenter
The ->cmd_idx field is 8 bits, not 16 so the call to cpu_to_le16() will probably set cmd_idx to zero here on big endian systems. Signed-off-by: Dan Carpenter --- This is a static checker bug. Untested. diff --git a/drivers/mmc/host/ushc.c b/drivers/mmc/host/ushc.c index f08f944..8b7367a 100644

Re: [PATCH] mmc: block: release host in case of error

2011-11-20 Thread Per Forlin
Hi Adrian, On Fri, Nov 18, 2011 at 10:56 AM, Per Förlin wrote: > On 11/17/2011 10:18 AM, Adrian Hunter wrote: >> On 14/11/11 13:12, Per Forlin wrote: >>> Host is claimed as long as there are requests in the block queue >>> and all request are completed successfully. If an error occur release >>>

RE: [PATCH] mmc: core: Add packed command for eMMC4.5 device

2011-11-20 Thread merez
> Maya Erez wrote: >> >> > + if (reqs >= 2) { >> > + mmc_blk_packed_hdr_wrq_prep(mq->mqrq_cur, card, >> > mq, reqs); >> > + if (rq_data_dir(rqc) == READ) { >> > + areq = &mq->mqrq_cur->mmc_active; >

Re: [PATCH v3] mmc: support BKOPS feature for eMMC

2011-11-20 Thread Konstantin Dorfman
Hello Per, > On Thu, Nov 17, 2011 at 4:01 PM, Konstantin Dorfman > wrote: >> Hello Jaenhoon, >> >> I have a few suggestions regarding the situation when Host starts BKOPS: >> >> 1) Host should start BKOPS (based on BKOPS_STATUS or URGENT_BKOPS event) >> when going to mmc_sleep, which means that t