Re: [PATCH 1/4] mmc: core: add high-capacity erase size capability flag

2012-02-08 Thread Adrian Hunter
On 08/02/12 18:32, Ulf Hansson wrote: > On 02/07/2012 01:48 PM, Adrian Hunter wrote: >> Let drivers specify the use of high-capacity erase size. >> >> Signed-off-by: Adrian Hunter >> --- >> drivers/mmc/core/mmc.c |3 ++- >> include/linux/mmc/host.h |1 + >> 2 files changed, 3 insertio

Re: [PATCH 1/4] mmc: core: add high-capacity erase size capability flag

2012-02-08 Thread Adrian Hunter
On 09/02/12 00:38, Linus Walleij wrote: > On Tue, Feb 7, 2012 at 1:48 PM, Adrian Hunter wrote: > >> Let drivers specify the use of high-capacity erase size. >> >> Signed-off-by: Adrian Hunter > (...) >> @@ -949,7 +949,8 @@ static int mmc_init_card(struct mmc_host *host, u32 ocr, >> * If

Re: [PATCH] mmc: dw_mmc: Fix PIO mode with support of highmem

2012-02-08 Thread Jaehoon Chung
On 02/09/2012 02:23 PM, Seungwon Jeon wrote: > I found the following file was added recently. > "drivers/mmc/host/dw_mmc-pltfm.c" > I feel sorry about that, I didn't catch it. > This file needs to include "linux/scatterlist.h" with current patch > (which is related with "struct sg_mapping_iter").

[PATCH v2] mmc: dw_mmc: Fix PIO mode with support of highmem

2012-02-08 Thread Seungwon Jeon
Current PIO mode makes a kernel crash with CONFIG_HIGHMEM. Highmem pages have a NULL from sg_virt(sg). This patch fixes the following problem. Unable to handle kernel NULL pointer dereference at virtual address pgd = c0004000 [] *pgd= Internal error: Oops: 817 [#1] PREEMPT

RE: [PATCH] mmc: dw_mmc: Fix PIO mode with support of highmem

2012-02-08 Thread Seungwon Jeon
I found the following file was added recently. "drivers/mmc/host/dw_mmc-pltfm.c" I feel sorry about that, I didn't catch it. This file needs to include "linux/scatterlist.h" with current patch (which is related with "struct sg_mapping_iter"). I'll fix it. Best regards, Seungwon Jeon Seungwon Jeon

RE: [PATCH] mmc: dw_mmc: Fix PIO mode with support of highmem

2012-02-08 Thread Seungwon Jeon
Hi Jaehoon. Oops, I'll check it. Thanks. Jaehoon Chung wrote: > Hi Seungwon > > This patch didn't build..plz check. > > Best Regards, > Jaehoon Chung > > On 02/06/2012 04:57 PM, Seungwon Jeon wrote: > > > Current PIO mode makes a kernel crash with CONFIG_HIGHMEM. > > High memory pages have a

Re: [PATCH] mmc: dw_mmc: Fix PIO mode with support of highmem

2012-02-08 Thread Jaehoon Chung
Hi Seungwon This patch didn't build..plz check. Best Regards, Jaehoon Chung On 02/06/2012 04:57 PM, Seungwon Jeon wrote: > Current PIO mode makes a kernel crash with CONFIG_HIGHMEM. > High memory pages have a NULL from sg_virt(sg). > This patch fixes the following problem. > > Unable to handle

RE: [PATCH v7] ESDHC: Workaround for data crc error on p1010rdb

2012-02-08 Thread Huang Changming-R66093
> -Original Message- > From: Chris Ball [mailto:c...@laptop.org] > Sent: Wednesday, February 08, 2012 11:07 PM > To: Huang Changming-R66093 > Cc: linux-mmc@vger.kernel.org; Huang Changming-R66093; Jain Priyanka- > B32167 > Subject: Re: [PATCH v7] ESDHC: Workaround for data crc error on p1

Re: SDIO wifi card works with 2.6.36, not with 3.2

2012-02-08 Thread james
My kernel is 2.6.38.8, and WiFi is AR6103. I see exactly error message as: [ 208.327200] sdhci [sdhci_irq()]: *** mmc0 got interrupt: 0x0003 [ 208.327226] mmc0: req done (CMD53): 0: 1000 [ 208.327227] mmc0: 4 bytes transferred: 0 [ 208.327235] mmc0: start

Re: [PATCH 1/4] mmc: core: add high-capacity erase size capability flag

2012-02-08 Thread Linus Walleij
On Tue, Feb 7, 2012 at 1:48 PM, Adrian Hunter wrote: > Let drivers specify the use of high-capacity erase size. > > Signed-off-by: Adrian Hunter (...) > @@ -949,7 +949,8 @@ static int mmc_init_card(struct mmc_host *host, u32 ocr, >         * If enhanced_area_en is TRUE, host needs to enable ERAS

Re: mmc sdhci mmcblk0: error -110 sending status command, retrying

2012-02-08 Thread Philip Rakity
Jeff, I think the sdhci.c clock setting code was changed a while ago. Maybe revert that mod and see what happens. The card is a 24MHz which is rather slow so I would be surprised if that was it. The other option is the force enable the High Speed bit in the controller (used when speed is

Re: omap_hsmmc.c and MMC_CAP_SDIO_IRQ

2012-02-08 Thread Steve Sakoman
On Sun, Jan 29, 2012 at 9:37 AM, S, Venkatraman wrote: > A few folks in my group are working on this (CC'ed). I'd hazard a guess to say > that the patches can be validated and sent out in another 1-2 weeks - Sourav ? Any update on the status of the above-mentioned patch for SDIO interrupt suppor

Re: [PATCH 1/4] mmc: core: add high-capacity erase size capability flag

2012-02-08 Thread Ulf Hansson
On 02/07/2012 01:48 PM, Adrian Hunter wrote: Let drivers specify the use of high-capacity erase size. Signed-off-by: Adrian Hunter --- drivers/mmc/core/mmc.c |3 ++- include/linux/mmc/host.h |1 + 2 files changed, 3 insertions(+), 1 deletions(-) diff --git a/drivers/mmc/core/mmc.c

Re: [PATCH] mmc: atmel-mci: save and restore sdioirq when soft reset is performed

2012-02-08 Thread Jean-Christophe PLAGNIOL-VILLARD
On 18:22 Wed 08 Feb , ludovic.desroc...@atmel.com wrote: > From: Ludovic Desroches why do you need this? Best Regards, J. -- To unsubscribe from this list: send the line "unsubscribe linux-mmc" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.o

Re: [PATCH] mmc: atmel-mci: save and restore sdioirq when soft reset is performed

2012-02-08 Thread Jean-Christophe PLAGNIOL-VILLARD
On 16:45 Wed 08 Feb , Ludovic Desroches wrote: > Hello Jean-Christophe, > > A customer using an Atheros AR6103 SDIO WLAN adapter faces this issue. > > Sometimes we perform a software reset and he noticed that after he didn't get > sdio irq. The interrupt mask register is also resetted when pe

Re: [PATCH] mmc: atmel-mci: save and restore sdioirq when soft reset is performed

2012-02-08 Thread Ludovic Desroches
Hello Jean-Christophe, A customer using an Atheros AR6103 SDIO WLAN adapter faces this issue. Sometimes we perform a software reset and he noticed that after he didn't get sdio irq. The interrupt mask register is also resetted when performing software reset. Regards Ludovic On Wed, Feb 08, 201

[PATCH] mmc: atmel-mci: save and restore sdioirq when soft reset is performed

2012-02-08 Thread ludovic . desroches
From: Ludovic Desroches Signed-off-by: Ludovic Desroches Cc: sta...@vger.kernel.org --- drivers/mmc/host/atmel-mci.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/drivers/mmc/host/atmel-mci.c b/drivers/mmc/host/atmel-mci.c index 09ac13b..dfa5dd9 100644 --- a/drivers

Re: [PATCH v7] ESDHC: Workaround for data crc error on p1010rdb

2012-02-08 Thread Chris Ball
Hi, On Wed, Feb 08 2012, r66...@freescale.com wrote: > From: Jerry Huang > > SD card read was failing (data crc error)on some cards at > maximum possible frequency on P1010(CCB frequency set to 400MHz). > Some clock deviations are also observed at this frequency. > Hence reduced the mmc clock fre

Re: [PATCH] mmc: core: add the debug message for SET_BLOCK_COUNT

2012-02-08 Thread Namjae Jeon
2012/2/8 Jaehoon Chung : > On 02/07/2012 04:27 PM, Namjae Jeon wrote: > >> 2012/2/7 Jaehoon Chung : >>> This patch is added just debug message. >>> Almost features need to use the CMD23. >>> But we didn't see the debug message for sbc. >>> If sbc's message can see, should be help for debugging. >>>

[PATCH v7] ESDHC: Workaround for data crc error on p1010rdb

2012-02-08 Thread r66093
From: Jerry Huang SD card read was failing (data crc error)on some cards at maximum possible frequency on P1010(CCB frequency set to 400MHz). Some clock deviations are also observed at this frequency. Hence reduced the mmc clock freq. Signed-off-by: Priyanka Jain Singed-off-by: Jerry Huang CC:

RE: [PATCH v6] ESDHC: Workaround for data crc error on p1010rdb

2012-02-08 Thread Huang Changming-R66093
> > diff --git a/include/linux/mmc/sdhci.h b/include/linux/mmc/sdhci.h > > index c750f85..2418c91 100644 > > --- a/include/linux/mmc/sdhci.h > > +++ b/include/linux/mmc/sdhci.h > > @@ -90,6 +90,9 @@ struct sdhci_host { > > > > unsigned int quirks2; /* More deviations from spec. */ > > > > +/*