Re: [PATCH] mmc: mmci: Add new VE MMCI variant

2013-01-25 Thread Linus Walleij
On Thu, Jan 24, 2013 at 9:11 PM, Ulf Hansson ulf.hans...@linaro.org wrote: On 24 January 2013 18:12, Linus Walleij linus.wall...@linaro.org wrote: We're talking about this I guess: http://marc.info/?l=linux-arm-kernelm=123790711306850w=4 In these experiments I actually gated not only the

[PATCH] mmc: core: expose RPMB partition only for CMD23 capable host

2013-01-25 Thread Balaji T K
SET_BLOCK_COUNT CMD23 is needed for all access to RPMB partition. If block count is not set by CMD23, all subsequent read/write commands fail as per eMMC specification. So, If the host does not support CMD23, do not expose RPMB partition. Accessing RPMB partition can cause hang / huge delay for

[PATCH RESEND v4 1/2] mmc: sdhci: update timeout clock setting if SDCLK is used

2013-01-25 Thread Kevin Liu
1. If SDHCI_QUIRK_DATA_TIMEOUT_USES_SDCLK is selected, getting timeout through register or callback function is useless. So skip current redundant code. 2. If SDHCI_QUIRK_DATA_TIMEOUT_USES_SDCLK is selected, host uses SDCLK instead of TMCLK for data timeouts. So host-timeout_clk and

[PATCH RESEND v4 2/2] mmc: sdhci-pxav3: controller should use SDCLK for timeout caculation

2013-01-25 Thread Kevin Liu
Signed-off-by: Kevin Liu kl...@marvell.com --- drivers/mmc/host/sdhci-pxav3.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/host/sdhci-pxav3.c b/drivers/mmc/host/sdhci-pxav3.c index ff06aff..31dc53c 100644 --- a/drivers/mmc/host/sdhci-pxav3.c +++

[PATCH] mmc: sdio: add wakeup event for suspend/resume

2013-01-25 Thread Kevin Liu
If sdio host can wakeup system, interrupts will _NOT_ be disabled and sdio card interrupt may happen during whole suspend/resume process. Then the card interrupts received after suspend while before resume back should be regard as wakeup event. So set a wakeup event at that point. All sdio

Re: [PATCH] mmc: core: expose RPMB partition only for CMD23 capable host

2013-01-25 Thread Peter Ujfalusi
On 01/25/2013 12:30 PM, Balaji T K wrote: SET_BLOCK_COUNT CMD23 is needed for all access to RPMB partition. If block count is not set by CMD23, all subsequent read/write commands fail as per eMMC specification. So, If the host does not support CMD23, do not expose RPMB partition. Accessing

[PATCH] mmc: fix to refer NULL pointer

2013-01-25 Thread Joonyoung Shim
Check whether host-sdio_irq_thread is NULL before wake_up_process() is called about host-sdio_irq_thread. Signed-off-by: Joonyoung Shim jy0922.s...@samsung.com --- Currently the kernel panic to refer NULL pointer about host-sdio_irq_thread are occuring at the trats board using Samsung SDHCI