Re: SDIO driver return -ENOSYS behaviour change?

2014-02-28 Thread Aaron Lu
On 02/28/2014 04:30 PM, Ulf Hansson wrote: On 28 February 2014 03:37, Aaron Lu aaron...@intel.com wrote: On 02/27/2014 09:05 PM, Ulf Hansson wrote: I think it's more a matter of having a controlled suspend sequence. The mmc core are not able to serve any new SDIO requests while it is

[PATCH v9 3/3] mmc: sdhci-msm: Add platform_execute_tunning implementation

2014-02-28 Thread Georgi Djakov
This patch adds implementation for platform specific tuning in order to support HS200 bus speed mode on Qualcomm SDHCI controller. Signed-off-by: Asutosh Das asuto...@codeaurora.org Signed-off-by: Venkat Gopalakrishnan venk...@codeaurora.org Signed-off-by: Georgi Djakov gdja...@mm-sol.com ---

[PATCH v9 1/3] mmc: sdhci-msm: Qualcomm SDHCI binding documentation

2014-02-28 Thread Georgi Djakov
This patch adds the device-tree binding documentation for Qualcomm SDHCI driver. It contains the differences between the core properties in mmc.txt and the properties used by the sdhci-msm driver. Signed-off-by: Georgi Djakov gdja...@mm-sol.com --- .../devicetree/bindings/mmc/sdhci-msm.txt

[PATCH v9 0/3] mmc: sdhci-msm: Add support for Qualcomm chipsets

2014-02-28 Thread Georgi Djakov
This patchset adds basic support of the Secure Digital Host Controller Interface compliant controller found in Qualcomm SoCs. Tested with eMMC and various micro SD cards on APQ8074 Dragonboard. Applies to linux-next. Changes from v8: - Added controller version suffix to the DT compatible string.

[PATCH v9 2/3] mmc: sdhci-msm: Initial support for Qualcomm chipsets

2014-02-28 Thread Georgi Djakov
This platform driver adds the initial support of Secure Digital Host Controller Interface compliant controller found in Qualcomm chipsets. Signed-off-by: Asutosh Das asuto...@codeaurora.org Signed-off-by: Venkat Gopalakrishnan venk...@codeaurora.org Tested-by: Ivan T. Ivanov iiva...@mm-sol.com

[RFC PATCH] mmc: core: Invoke sdio func driver's PM callbacks from the sdio bus

2014-02-28 Thread Ulf Hansson
The sdio func device is added to the driver model after the card device. This means the sdio func device will be suspend before the card device and thus resumed after. The consequence are the mmc core don't explicity need to protect itself from receiving sdio requests in suspended state. Instead

Re: [RFC PATCH] mmc: core: Invoke sdio func driver's PM callbacks from the sdio bus

2014-02-28 Thread Aaron Lu
On 02/28/2014 07:49 PM, Ulf Hansson wrote: The sdio func device is added to the driver model after the card device. This means the sdio func device will be suspend before the card device and thus resumed after. The consequence are the mmc core don't explicity need to protect itself from

[PATCH 0/2] mmc: omap_hsmmc: checkpatch cleanup

2014-02-28 Thread Balaji T K
fixes for checkpatch warnings. Balaji T K (2): mmc: omap_hsmmc: fix return error code for of_get_hsmmc_pdata mmc: omap_hsmmc: remove redundant reset done drivers/mmc/host/omap_hsmmc.c |8 ++-- 1 files changed, 2 insertions(+), 6 deletions(-) -- 1.7.5.4 -- To unsubscribe from this

[PATCH 1/2] mmc: omap_hsmmc: fix return error code for of_get_hsmmc_pdata

2014-02-28 Thread Balaji T K
of_get_hsmmc_pdata returns a pointer, returning NULL is invalid, return ERR_PTR for error case. Signed-off-by: Balaji T K balaj...@ti.com Reported-by: Dan Carpenter dan.carpen...@oracle.com --- drivers/mmc/host/omap_hsmmc.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff

[PATCH 2/2] mmc: omap_hsmmc: remove redundant reset done

2014-02-28 Thread Balaji T K
Remove redundant reset done check since omap hwmod layer ensures IP reset. Signed-off-by: Balaji T K balaj...@ti.com Reported-by: Dan Carpenter dan.carpen...@oracle.com --- drivers/mmc/host/omap_hsmmc.c |4 1 files changed, 0 insertions(+), 4 deletions(-) diff --git

Re: [PATCH V2 1/2] mmc: omap_hsmmc: Add support for quirky omap3 hsmmc controller

2014-02-28 Thread Nishanth Menon
On 02/14/2014 10:31 AM, Tony Lindgren wrote: * Nishanth Menon n...@ti.com [140213 21:48]: When device is booted using devicetree, platforms impacted by Erratum 2.1.1.128 is not detected easily in the mmc driver. This erratum indicates that the module cannot do multi-block transfers. Platforms

Re: [PATCH 2/4] ARM: dove: prepare new Dove DT Kconfig variable

2014-02-28 Thread Jason Cooper
On Fri, Feb 28, 2014 at 10:53:10AM +0900, Mark Brown wrote: On Thu, Feb 27, 2014 at 10:28:03PM +0100, Sebastian Hesselbarth wrote: DT-enabled Dove will move over from ARCH_DOVE in mach-dove to MACH_DOVE in mach-mvebu. As non-DT ARCH_DOVE will stay to rot for a while, add a new DT-only

Re: [PATCH v9 3/3] mmc: sdhci-msm: Add platform_execute_tunning implementation

2014-02-28 Thread Kumar Gala
On Feb 28, 2014, at 5:24 AM, Georgi Djakov gdja...@mm-sol.com wrote: This patch adds implementation for platform specific tuning in order to support HS200 bus speed mode on Qualcomm SDHCI controller. Signed-off-by: Asutosh Das asuto...@codeaurora.org Signed-off-by: Venkat Gopalakrishnan

Re: [PATCH v7 1/4] mmc: omap_hsmmc: Enable SDIO IRQ.

2014-02-28 Thread Balaji T K
On Tuesday 25 February 2014 06:07 PM, Andreas Fenkart wrote: For now, only support SDIO interrupt if we are booted with DT. This is because some platforms need special quirks. And we don't want to add new legacy mux platform init code callbacks any longer as we are moving to DT based booting

Re: [PATCH 2/4] ARM: dove: prepare new Dove DT Kconfig variable

2014-02-28 Thread Sebastian Hesselbarth
On 02/28/2014 05:34 PM, Jason Cooper wrote: On Fri, Feb 28, 2014 at 10:53:10AM +0900, Mark Brown wrote: On Thu, Feb 27, 2014 at 10:28:03PM +0100, Sebastian Hesselbarth wrote: DT-enabled Dove will move over from ARCH_DOVE in mach-dove to MACH_DOVE in mach-mvebu. As non-DT ARCH_DOVE will stay to

re: mmc: rtsx: add support for pre_req and post_req

2014-02-28 Thread Dan Carpenter
Hello Micky Ching, The patch c42deffd5b53: mmc: rtsx: add support for pre_req and post_req from Feb 17, 2014, leads to the following static checker warning: drivers/mmc/host/rtsx_pci_sdmmc.c:525 sd_pre_dma_transfer() warn: we tested 'next' before and it was 'false'

Re: [PATCH v9 3/3] mmc: sdhci-msm: Add platform_execute_tunning implementation

2014-02-28 Thread Josh Cartwright
Nit below. On Fri, Feb 28, 2014 at 01:24:35PM +0200, Georgi Djakov wrote: This patch adds implementation for platform specific tuning in order to support HS200 bus speed mode on Qualcomm SDHCI controller. Signed-off-by: Asutosh Das asuto...@codeaurora.org Signed-off-by: Venkat

Re: [PATCH v9 3/3] mmc: sdhci-msm: Add platform_execute_tunning implementation

2014-02-28 Thread Josh Cartwright
On Fri, Feb 28, 2014 at 01:24:35PM +0200, Georgi Djakov wrote: This patch adds implementation for platform specific tuning in order to support HS200 bus speed mode on Qualcomm SDHCI controller. Signed-off-by: Asutosh Das asuto...@codeaurora.org Signed-off-by: Venkat Gopalakrishnan

[PATCH 0/6] mmc: kona/spear updates

2014-02-28 Thread Russell King - ARM Linux
Chris, Here's the latest patches for these fixups. They've been in my build system for a while, and allyesconfig/allmodconfig show no problems. Probably want to get some acks/tested-bys from people before applying these. drivers/mmc/host/sdhci-bcm-kona.c | 2 +-

[PATCH 1/6] mmc: sdhci-bcm-kona: fix build errors when built-in

2014-02-28 Thread Russell King
`sdhci_bcm_kona_remove' referenced in section `.data' of drivers/built-in.o: defined in discarded section `.exit.text' of drivers/built-in.o Fixes: 058feb53666f (mmc: sdhci-bcm-kona: make linker-section warning go away) Cc: Markus Mayer markus.ma...@linaro.org Cc: Christian Daudt

[PATCH 5/6] mmc: sdhci-spear: remove support for power gpio

2014-02-28 Thread Russell King
None of this code is currently used: there are no definitions of struct sdhci_plat_data in arch/arm, neither are there any DT properties which use card_power_gpio/power_active_high/power_always_enb. In any case, slot power control should be rigged up via vmmc and the regulator subsystem in the DT

[PATCH 4/6] mmc: sdhci-spear: simplify resource handling

2014-02-28 Thread Russell King
Use devm_ioremap_resource() to simplify iomem resource handling in the probe path. Signed-off-by: Russell King rmk+ker...@arm.linux.org.uk --- drivers/mmc/host/sdhci-spear.c | 40 +--- 1 file changed, 13 insertions(+), 27 deletions(-) diff --git

[PATCH 2/6] mmc: sdhci-spear: fix error handling paths for DT

2014-02-28 Thread Russell King
Fix the error handling paths for DT and simplify using the devm_* API for clk_get(). Signed-off-by: Russell King rmk+ker...@arm.linux.org.uk --- drivers/mmc/host/sdhci-spear.c | 9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/drivers/mmc/host/sdhci-spear.c

[PATCH 3/6] mmc: sdhci-spear: fix platform_data usage

2014-02-28 Thread Russell King
sdhci-spear is unsafe should a probe fail or defer, since it overwrites the platform_data with its own driver-private data. It's trivial to fix as SDHCI allows for driver-private data to be appended to its own structure - we just need to arrange the code to allow this. Signed-off-by: Russell

[PATCH 6/6] mmc: sdhci-spear: use generic card detection gpio support

2014-02-28 Thread Russell King
sdhci has support for using GPIOs for card detection. If we have a GPIO specified, we can use that directly, without needing our own interrupt handler. Signed-off-by: Russell King rmk+ker...@arm.linux.org.uk --- drivers/mmc/host/sdhci-spear.c | 79 +- 1

Re: [PATCH 1/6] mmc: sdhci-bcm-kona: fix build errors when built-in

2014-02-28 Thread Markus Mayer
On 28 February 2014 13:32, Russell King rmk+ker...@arm.linux.org.uk wrote: `sdhci_bcm_kona_remove' referenced in section `.data' of drivers/built-in.o: defined in discarded section `.exit.text' of drivers/built-in.o Fixes: 058feb53666f (mmc: sdhci-bcm-kona: make linker-section warning go

Re: [PATCH v9 3/3] mmc: sdhci-msm: Add platform_execute_tunning implementation

2014-02-28 Thread Georgi Djakov
On 28.02.14, 18:51, Kumar Gala wrote: On Feb 28, 2014, at 5:24 AM, Georgi Djakov gdja...@mm-sol.com wrote: This patch adds implementation for platform specific tuning in order to support HS200 bus speed mode on Qualcomm SDHCI controller. Signed-off-by: Asutosh Das

Re: [RFC PATCH 1/1] mmc-utils: Support-sending-eMMC-5.0-FFU

2014-02-28 Thread Grant Grundler
Avi, Thanks for posting these - I look forward to seeing this functionality available in mmc-utils (and kernel as needed). Comments as usual inline. I've added Gwendal/Kees to CC to comment on security issues of this proposal. See notes below. On Sun, Feb 9, 2014 at 1:08 AM, Avi Shchislowski

Re: [PATCH v9 3/3] mmc: sdhci-msm: Add platform_execute_tunning implementation

2014-02-28 Thread Georgi Djakov
On 28.02.14, 22:51, Josh Cartwright wrote: [..] +sg_init_one(sg, data_buf, sizeof(data_buf)); +memset(data_buf, 0, sizeof(data_buf)); +mmc_wait_for_req(mmc, mrq); + +if (!cmd.error !data.error +!memcmp(data_buf,

Re: [RFC PATCH 1/1] mmc-utils: Support-sending-eMMC-5.0-FFU

2014-02-28 Thread Kees Cook
On Fri, Feb 28, 2014 at 2:39 PM, Grant Grundler grund...@chromium.org wrote: Avi, Thanks for posting these - I look forward to seeing this functionality available in mmc-utils (and kernel as needed). Comments as usual inline. I've added Gwendal/Kees to CC to comment on security issues of

CONTACT KENYA COMMERCIAL BANK LTD IMMEDIATELY FOR YOUR PAYMENT (3MILLION UNITED STATE DOLLARS)

2014-02-28 Thread Jantima Khuntaraksa
Attention: Please, Kindly contact KENYA COMMERCIAL BANK immediately for your compensation payment of (3MILLION UNITED STATE DOLLARS) via email: Email:(servic...@kenya.ncommercialbnk.com) quote your payment Ref No:KCB/00Y/2014 For purposes of immediate payment. -- To unsubscribe from this