Re: [PATCH v2] mmc: tmio: Fix timeout value for command request

2015-07-20 Thread Leon Romanovsky
On Mon, Jul 20, 2015 at 5:08 PM, Yoshihiro Kaneko wrote: > Hi Leon, > > 2015-07-20 14:03 GMT+09:00 Leon Romanovsky : >> On Sun, Jul 19, 2015 at 7:39 PM, Yoshihiro Kaneko >> wrote: >>> From: Takeshi Kihara >>> >>> Fix the problem which timeout occurs at the time of command request with >>> sever

Re: [PATCH] mmc: host: pxamci: switch over to dmaengine use

2015-07-20 Thread Robert Jarzmik
Ulf Hansson writes: > On 6 June 2015 at 23:15, Robert Jarzmik wrote: >> From: Daniel Mack >> >> Switch over pxamci to dmaengine. This prepares the devicetree full >> support of pxamci. >> >> This was successfully tested on a PXA3xx board, as well as PXA27x. >> >> Signed-off-by: Daniel Mack >>

[PATCH] sdhci-esdhc: Make 8BIT bus work.

2015-07-20 Thread Joakim Tjernlund
Support for 8BIT bus with was added some time ago to sdhci-esdhc but then missed to remove the 8BIT from the reserved bit mask which made 8BIT non functional. Signed-off-by: Joakim Tjernlund --- drivers/mmc/host/sdhci-esdhc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dr

Re: [linux-sunxi] Re: [PATCH v2] mmc: sunxi: Don't start commands while the card is busy

2015-07-20 Thread Hans de Goede
Hi, On 20-07-15 10:00, Maxime Ripard wrote: Hi, On Fri, Jul 10, 2015 at 05:14:44PM +0200, Hans de Goede wrote: Some sdio wifi modules have not been working reliable with the sunxi-mmc host code. This turns out to be caused by it starting new commands while the card signals that it is still bus

Re: [PATCH] mmc: MMC_MTK should depend on HAS_DMA

2015-07-20 Thread Ulf Hansson
On 26 June 2015 at 14:09, Geert Uytterhoeven wrote: > If NO_DMA=y: > > ERROR: "dma_alloc_coherent" [drivers/mmc/host/mtk-sd.ko] undefined! > ERROR: "dma_unmap_sg" [drivers/mmc/host/mtk-sd.ko] undefined! > ERROR: "dma_map_sg" [drivers/mmc/host/mtk-sd.ko] undefined! > ERROR: "dma_fre

Re: [PATCH 0/3] omap_hsmmc: Fix card enumeration failure on

2015-07-20 Thread Ulf Hansson
On 16 June 2015 at 12:37, Vignesh R wrote: > > Hi, > > When using omap_hsmmc driver, if sd-card repeatedly plug unplugged > multiple times quickly, card enumeration stops after few iterations. > This can be easily reproduced on DRA74X EVM which uses omap_hsmmc driver. > This patch series addresses

Re: [PATCH 1/1 linux-next] mmc: omap: use for_each_sg() for scatterlist parsing

2015-07-20 Thread Ulf Hansson
On 16 June 2015 at 21:15, Fabian Frederick wrote: > See Documentation/DMA-API.txt - Part Id > > Signed-off-by: Fabian Frederick Thanks, applied! Kind regards Uffe > --- > This is untested. > > drivers/mmc/host/omap.c | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) > > diff --git

Re: [PATCH] mmc: host: sdhci check parameters before call dma_free_coherent

2015-07-20 Thread Ulf Hansson
On 22 June 2015 at 09:04, Adrian Hunter wrote: > On 22/06/15 06:41, Peng Fan wrote: >> We should not call dma_free_coherent if host->adma_table is NULL, >> otherwise may trigger panic. >> >>>From DMA-API.txt: >> " >> void >> dma_free_coherent(struct device *dev, size_t size, void *cpu_addr, >>

Re: [PATCH v2 0/3] mmc: sdhci: Card detection fixes

2015-07-20 Thread Ulf Hansson
On 6 July 2015 at 14:16, Ivan T. Ivanov wrote: > Following changes aimed to fix some aspects of card detection, when > BROKEN_CARD_DETECTION quirk is set. > > Changes since first version [1]: > > * Patch 1/3 is a modified to first check for MMC_CAP_NONREMOVABLE > and then check for a valid value

Re: [PATCH v2] mmc: sdhci-msm: Boost controller core clock

2015-07-20 Thread Ulf Hansson
On 6 July 2015 at 13:53, Ivan T. Ivanov wrote: > Ensure SDCC is working with maximum clock otherwise card > detection could be extremely slow, up to 7 seconds. > > Signed-off-by: Ivan T. Ivanov > Reviewed-by: Georgi Djakov > Acked-by: Stephen Boyd Thanks, applied! Kind regards Uffe > --- > >

Re: [PATCHv2] mmc:Add pointer cast to uintptr_t for slave_id_rx and tx in the function, sh_mmcif_request_dma_one

2015-07-20 Thread Ulf Hansson
On 2 July 2015 at 15:32, nick wrote: > > > On 2015-06-24 03:16 AM, Arnd Bergmann wrote: >> On Tuesday 23 June 2015 17:54:33 Joe Perches wrote: >>> On Tue, 2015-06-23 at 20:44 -0400, nick wrote: On 2015-06-23 08:40 PM, Joe Perches wrote: > On Wed, 2015-06-24 at 00:24 +, Kuninori Morimo

Re: [PATCH v2 0/2] mmc: omap_hsmmc: omap_hsmmc_set_power cleanup

2015-07-20 Thread Ulf Hansson
On 7 July 2015 at 20:38, Andreas Fenkart wrote: > v2: > - add empty omap_hsmmc_set_power in case CONFIG_REGULATOR is undefined > > Andreas Fenkart (2): > mmc: omap_hsmmc: call omap_hsmmc_set_power directly > mmc: omap_hsmmc: regulator automatically released by devm > > drivers/mmc/host/omap_h

Re: [PATCH 1/1] mmc: block: don't use parameter prefix if built as module

2015-07-20 Thread Ulf Hansson
On 24 June 2015 at 13:32, Andy Shevchenko wrote: > It's excessive to use prefix for the parameters when you do > modrpobe mmc-block mmcblk.perdev_minors=16 > > Make this available only for built-in case. > > Signed-off-by: Andy Shevchenko Thanks, applied! Kind regards Uffe > --- > dri

Re: [PATCH v2] mmc: tmio: Fix timeout value for command request

2015-07-20 Thread Yoshihiro Kaneko
Hi Leon, 2015-07-20 14:03 GMT+09:00 Leon Romanovsky : > On Sun, Jul 19, 2015 at 7:39 PM, Yoshihiro Kaneko > wrote: >> From: Takeshi Kihara >> >> Fix the problem which timeout occurs at the time of command request with >> several cards. > Hi Yoshihiro, > I afraid that I missed the answer to my c

Re: [PATCH 0/6] mmc: sdhci-esdhci-imx: fix cd/wp regression

2015-07-20 Thread Ulf Hansson
On 13 July 2015 at 13:43, Dong Aisheng wrote: > On Thu, Jul 09, 2015 at 09:27:36PM +0800, Shawn Guo wrote: >> On Thu, Jul 09, 2015 at 05:29:50PM +0800, Dong Aisheng wrote: >> > I agree with you. >> > One difference is that i'd like to fix it ASAP without reverting 8d86e4f >> > due to more patches

Re: [FRC PATCH v2] mmc: core: Optimize case for exactly one erase-group budget TRIM

2015-07-20 Thread Ulf Hansson
On 23 June 2015 at 11:43, David Jander wrote: > In the (not so unlikely) case that the mmc controller timeout budget is > enough for exactly one erase-group, the simplification of allowing one > sector has an enormous performance penalty. We optimize this special case > by introducing a flag that

Re: [PATCH] mmc: host: pxamci: switch over to dmaengine use

2015-07-20 Thread Ulf Hansson
On 6 June 2015 at 23:15, Robert Jarzmik wrote: > From: Daniel Mack > > Switch over pxamci to dmaengine. This prepares the devicetree full > support of pxamci. > > This was successfully tested on a PXA3xx board, as well as PXA27x. > > Signed-off-by: Daniel Mack > [adapted to pxa-dma] > Signed-off

Re: [PATCH 0/2] adds quirk SDHCI_QUIRK2_CLOCK_DIV_ZERO_BROKEN

2015-07-20 Thread Ulf Hansson
On 9 June 2015 at 09:31, Suneel Garapati wrote: > This quirk will support controllers whose clock divider zero is broken > and if the calculation results to zero, forcing the divider to next value. > This is tested on zynq ep108 and enables support for UHS cards where > formatting > cards fail. A

PCIe: Xilinx: sdhci-pci: probe() issue

2015-07-20 Thread Naveen Kumar Parna
Hi , I have a Verilog image & hardware which provides a PCIe interface with two BAR’s(BAR0 & BAR1) to host. BAR0 is having customized UART, GPIO and 1-wire prom modules. These modules are accessed via customized PCIe interface driver. BAR1 is having SD Host controller as per SD Specifications. H

Re: [PATCH v2] mmc: sunxi: Don't start commands while the card is busy

2015-07-20 Thread Maxime Ripard
Hi, On Fri, Jul 10, 2015 at 05:14:44PM +0200, Hans de Goede wrote: > Some sdio wifi modules have not been working reliable with the sunxi-mmc > host code. This turns out to be caused by it starting new commands while > the card signals that it is still busy processing a previous command. > > This