[PATCH 1/2] sdhci-esdhc-imx: fix timeout on i.MX's sdhci

2010-10-22 Thread Eric Bénard
this patch fix timeout problems on i.MX's sdhci as suggested by Richard Zhu. Tested on : - i.MX257 : not needed - i.MX357 : needed - i.MX515 : needed more details can be found here : http://lists.infradead.org/pipermail/linux-arm-kernel/2010-October/029748.html Signed-off-by: Eric Bénard Tested

[PATCH 2/2] sdhci-esdhc-imx: enable QUIRK_NO_MULTIBLOCK only for i.MX25 and i.MX35

2010-10-22 Thread Eric Bénard
only these CPU's errata list this bug. Signed-off-by: Eric Bénard Acked-by: Wolfram Sang --- drivers/mmc/host/sdhci-esdhc-imx.c |8 +--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/drivers/mmc/host/sdhci-esdhc-imx.c b/drivers/mmc/host/sdhci-esdhc-imx.c index 28e63ef.

Re: [PATCH 1/2] sdhci-esdhc-imx: fix timeout on i.MX's sdhci

2010-10-22 Thread Chris Ball
On Thu, Oct 21, 2010 at 11:20:27PM +0200, Eric Bénard wrote: > this patch fix timeout problems on i.MX's sdhci as suggested by > Richard Zhu. > > Tested on : > - i.MX257 : not needed > - i.MX357 : needed > - i.MX515 : needed > > more details can be found here : > http://lists.infradead.org/piperm

about mmc stack

2010-10-22 Thread Musfiq Niaz Rahman
Hi, I am trying to understand the linux mmc stack implementation for educational/research purpose and finding it very hard to track the inter-relation among the source files. Do you have a high-level design documentation of the stack or any other place where i can find the design or notes on the i

Re: [PATCH V3 1/1]MMC: add support of sdhci-pxa driver

2010-10-22 Thread zhangfei gao
On Fri, Oct 22, 2010 at 7:04 AM, Chris Ball wrote: > Hi, > > On Fri, Oct 22, 2010 at 10:58:14AM +0100, Chris Ball wrote: > [...] >> +#ifdef CONFIG_PM >> +static int sdhci_pxa_suspend(struct platform_device *dev) >> +{ >> +     struct sdhci_host *host = >> platform_get_drvdata(to_platform_device(d

Re: [PATCH V3 1/1]MMC: add support of sdhci-pxa driver

2010-10-22 Thread Chris Ball
Hi, On Fri, Oct 22, 2010 at 10:58:14AM +0100, Chris Ball wrote: [...] > +#ifdef CONFIG_PM > +static int sdhci_pxa_suspend(struct platform_device *dev) > +{ > + struct sdhci_host *host = platform_get_drvdata(to_platform_device(dev)); > + > + return sdhci_suspend_host(host, state); > +} > +

Re: [PATCH v2 2/2] sdhci-esdhc-imx: enable QUIRK_NO_MULTIBLOCK only for i.MX25 and i.MX35

2010-10-22 Thread Wolfram Sang
On Fri, Oct 22, 2010 at 10:46:19AM +0200, Eric Bénard wrote: > only these CPU's errata list this bug. > > Signed-off-by: Eric Bénard Acked-by: Wolfram Sang signature.asc Description: Digital signature

[PATCH 1/1] powerpc: Fix initramfs size in PPC32 build

2010-10-22 Thread Kerstin Jonsson
commit ffe8018c3424892c9590048fc36caa6c3e0c8a76 of the -mm tree fixes the initramfs size calculation for e.g. s390 but breaks it for 32bit architectures which do not define CONFIG_32BIT. This patch fix the problem for PPC32 which will elsewise end up with a __initramfs_size of 0. Signed-off-by: K

Re: mount rootfs over NFS problem

2010-10-22 Thread kerstin jonsson
As it turned out the PPC32 build was broken - due to changes in the initramfs size calculation - I ended up with a __initramfs_size of zero, after which not much worked. Sorry for cluttering the list with misleading information, however, no one seem to have taken any notice so I guess - no har

Re: [PATCH V3 1/1]MMC: add support of sdhci-pxa driver

2010-10-22 Thread Chris Ball
Hi Russell, On Fri, Oct 22, 2010 at 04:44:07PM +0800, Haojian Zhuang wrote: > I'm fine on this. Please merge it via the MMC tree. I'm planning on merging this patch via the MMC tree, please let me know if you object. Thanks. From: Zhangfei Gao Date: Mon, 20 Sep 2010 10:51:28 -0400 Subject: [P

Re: [PATCH V3 1/1]MMC: add support of sdhci-pxa driver

2010-10-22 Thread Haojian Zhuang
On Thu, Oct 21, 2010 at 10:52 PM, Chris Ball wrote: > Hi, > > On Thu, Oct 21, 2010 at 03:13:02PM +0100, Chris Ball wrote: >> On Mon, Oct 18, 2010 at 08:32:46AM -0400, zhangfei gao wrote: >> > Update with comments from Matt and Eric. >> > Test with sd and emmc. >> > >> > >From e5dd554ed4d3488a83d9a

[PATCH v2 1/2] sdhci-esdhc-imx: fix timeout on i.MX's sdhci

2010-10-22 Thread Eric Bénard
this patch fix timeout problems on i.MX's sdhci as suggested by Richard Zhu. Tested on : - i.MX257 : not needed - i.MX357 : needed - i.MX515 : needed more details can be found here : http://lists.infradead.org/pipermail/linux-arm-kernel/2010-October/029748.html Signed-off-by: Eric Bénard Tested

[PATCH v2 2/2] sdhci-esdhc-imx: enable QUIRK_NO_MULTIBLOCK only for i.MX25 and i.MX35

2010-10-22 Thread Eric Bénard
only these CPU's errata list this bug. Signed-off-by: Eric Bénard --- drivers/mmc/host/sdhci-esdhc-imx.c |8 +--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/drivers/mmc/host/sdhci-esdhc-imx.c b/drivers/mmc/host/sdhci-esdhc-imx.c index 31256ad..14d2836 100644 --- a/dr

Re: [PATCH 2/2] sdhci-esdhc-imx: enable QUIRK_NO_MULTIBLOCK only for i.MX25 and i.MX35

2010-10-22 Thread Eric Bénard
Hi Wolfram, Le 22/10/2010 08:18, Wolfram Sang a écrit : On Thu, Oct 21, 2010 at 11:20:28PM +0200, Eric Bénard wrote: only these CPU's errata list this bug. So, it was not directly tested? While I was testing the other quirk, I tested this one on 25, 35 & 51, but I can't trigger the bug on a