Re: [PATCH V4 00/15] mmc: host: Add facility to support re-tuning

2015-04-01 Thread Adrian Hunter
On 27/03/15 22:57, Adrian Hunter wrote: Hi Here is V4 of some patches to move re-tuning support out of sdhci and into the core, and add support for HS400 re-tuning. Currently sdhci does re-tuning transparently by calling sdhci_execute_tuning() from its -request() function. The

Re: [PATCH V4 03/15] mmc: core: Add support for re-tuning before each request

2015-04-01 Thread Ulf Hansson
On 27 March 2015 at 21:57, Adrian Hunter adrian.hun...@intel.com wrote: At the start of each request, re-tune if needed and then hold off re-tuning again until the request is done. Note that though there is one function that starts requests (mmc_start_request) there are two that wait for the

Re: [PATCH V4 01/15] mmc: host: Add facility to support re-tuning

2015-04-01 Thread Ulf Hansson
On 27 March 2015 at 21:57, Adrian Hunter adrian.hun...@intel.com wrote: Currently, there is core support for tuning during initialization. There can also be a need to re-tune periodically (e.g. sdhci) or to re-tune after the host controller is powered off (e.g. after PM runtime suspend /

Re: [PATCH V4 03/15] mmc: core: Add support for re-tuning before each request

2015-04-01 Thread Adrian Hunter
On 01/04/15 13:13, Ulf Hansson wrote: On 27 March 2015 at 21:57, Adrian Hunter adrian.hun...@intel.com wrote: At the start of each request, re-tune if needed and then hold off re-tuning again until the request is done. Note that though there is one function that starts requests

Re: [PATCH] mmc: sdhci-tegra: convert to use GPIO descriptors

2015-04-01 Thread Alexandre Courbot
On Tue, Mar 31, 2015 at 6:39 AM, Mylene JOSSERAND josserand.myl...@gmail.com wrote: Modify the driver to handle GPIOs using the descriptor API. Reviewed-by: Alexandre Courbot acour...@nvidia.com Tested-by: Alexandre Courbot acour...@nvidia.com Both the eMMC (not using power GPIO) and SD slot

Re: [PATCH] mmc: sleep notification

2015-04-01 Thread Ulf Hansson
[...] Okay, so to me, I think the SLEEP notification needs to be sent as a part of the system PM suspend phase. And more exactly from the bus_ops-suspend() callback. PM suspend phase is a right place for PON Sleep_Notification, but it also the critical one and need to be completed as

Re: [PATCH V4 01/15] mmc: host: Add facility to support re-tuning

2015-04-01 Thread Adrian Hunter
On 01/04/15 12:50, Ulf Hansson wrote: On 27 March 2015 at 21:57, Adrian Hunter adrian.hun...@intel.com wrote: Currently, there is core support for tuning during initialization. There can also be a need to re-tune periodically (e.g. sdhci) or to re-tune after the host controller is powered off

Re: [PATCH] mmc: sdhci-tegra: convert to use GPIO descriptors

2015-04-01 Thread Ulf Hansson
On 30 March 2015 at 23:39, Mylene JOSSERAND josserand.myl...@gmail.com wrote: Modify the driver to handle GPIOs using the descriptor API. Signed-off-by: Mylene JOSSERAND josserand.myl...@gmail.com Thanks! Applied. Kind regards Uffe --- drivers/mmc/host/sdhci-tegra.c | 32

Re: [PATCH] mmc: block: use block layer pm helpers for pm of card device

2015-04-01 Thread Konstantin Dorfman
Hello all, Any comments? I'm working on power management for eMMC CQ command queuing solution (these are patches released by Asutosh Das). Using the block layer pm helpers is important to be able to issue a data requests in non-blocking way directly from the block layer contexts, so it is

[PATCH v2 1/2] mmc: Add support for marking hpi as broken through devicetree

2015-04-01 Thread Hans de Goede
The eMMC on a tablet I've will stop working / communicating as soon as the kernel executes: mmc_switch(card, EXT_CSD_CMD_SET_NORMAL, EXT_CSD_HPI_MGMT, 1, card-ext_csd.generic_cmd6_time); There seems to be no way to

[PATCH v2 2/2] ARM: dts: sun5i: Add broken-hpi property for Utoo-P66 eMMC

2015-04-01 Thread Hans de Goede
The eMMC on the A13 based Utoo-P66 tablet does not properly support hpi, and trying to enable it results in the eMMC not working, so add a child-node describing the eMMC, and set the broken-hpi property on it. Signed-off-by: Hans de Goede hdego...@redhat.com --- Changes in v2: -Fix mmmcard typo

Re: [PATCH V4 01/15] mmc: host: Add facility to support re-tuning

2015-04-01 Thread Arend van Spriel
On 04/01/15 13:47, Adrian Hunter wrote: On 01/04/15 12:50, Ulf Hansson wrote: On 27 March 2015 at 21:57, Adrian Hunteradrian.hun...@intel.com wrote: Currently, there is core support for tuning during initialization. There can also be a need to re-tune periodically (e.g. sdhci) or to re-tune

Re: [RFC PATCH 0/4] mmc: sdhci: Support maximum DMA latency request via PM QoS

2015-04-01 Thread Len Brown
Ad hoc testing with Lenovo Thinkpad 10 showed a stress test could run for at least 24 hours with the patches, compared to less than an hour without. There is a patch in linux-next to delete C1E from BYT, since it is problematic on multiple platforms. I don't suppose that just disabling that