From: Sahitya Tummala <stumm...@codeaurora.org>
Implement ->platform_dumpregs host operation to print the
platform specific registers in addition to standard SDHC
register during error conditions.
Signed-off-by: Sahitya Tummala <stumm...@codeaurora.org>
Signed-off-by: Rites
(->platform_dumpregs)
for sdhci-msm.
Patch 3 :- Adds more logs for data errors to aid debugging.
Ritesh Harjani (1):
mmc: sdhci: Add more debug info in case of data error
Sahitya Tummala (2):
mmc: sdhci: Add platform_dumpregs callback support to sdhci_ops.
mmc: sdhci-msm: Implem
From: Sahitya Tummala
Implement ->platform_dumpregs host operation to print the
platform specific registers in addition to standard SDHC
register during error conditions.
Signed-off-by: Sahitya Tummala
Signed-off-by: Ritesh Harjani
---
drivers/mmc/host/sdhci-msm.c |
(->platform_dumpregs)
for sdhci-msm.
Patch 3 :- Adds more logs for data errors to aid debugging.
Ritesh Harjani (1):
mmc: sdhci: Add more debug info in case of data error
Sahitya Tummala (2):
mmc: sdhci: Add platform_dumpregs callback support to sdhci_ops.
mmc: sdhci-msm: Implem
print error log message and dump sdhc registers for debugging
purpose in case of data errors (except when tuning commands
generate CRC/timeout/end bit errors).
Signed-off-by: Ritesh Harjani <rite...@codeaurora.org>
---
drivers/mmc/host/sdhci.c | 21 +++--
1 file chang
.org>
Signed-off-by: Ritesh Harjani <rite...@codeaurora.org>
---
drivers/mmc/host/sdhci.c | 3 +++
drivers/mmc/host/sdhci.h | 1 +
2 files changed, 4 insertions(+)
diff --git a/drivers/mmc/host/sdhci.c b/drivers/mmc/host/sdhci.c
index 2390980..73a8918 100644
--- a/drivers/mmc/host/sdhc
print error log message and dump sdhc registers for debugging
purpose in case of data errors (except when tuning commands
generate CRC/timeout/end bit errors).
Signed-off-by: Ritesh Harjani
---
drivers/mmc/host/sdhci.c | 21 +++--
1 file changed, 19 insertions(+), 2 deletions
From: Sahitya Tummala
Add new host operation ->platform_dumpregs to provide a
mechanism through which host drivers can dump platform
specific registers in addition to SDHC registers
during error conditions.
Signed-off-by: Sahitya Tummala
Signed-off-by: Ritesh Harjani
---
drivers/mmc/h
msm.
Patch 3 :- Adds more logs for data errors to aid debugging.
Ritesh Harjani (1):
mmc: sdhci: Add more debug info in case of data error
Sahitya Tummala (2):
mmc: sdhci: Add platform_dumpregs callback support to sdhci_ops.
mmc: sdhci-msm: Implement platform_dumpregs callback in sdhci-msm
driv
msm.
Patch 3 :- Adds more logs for data errors to aid debugging.
Ritesh Harjani (1):
mmc: sdhci: Add more debug info in case of data error
Sahitya Tummala (2):
mmc: sdhci: Add platform_dumpregs callback support to sdhci_ops.
mmc: sdhci-msm: Implement platform_dumpregs callback in sdhci-msm
driv
From: Sahitya Tummala <stumm...@codeaurora.org>
Implement ->platform_dumpregs host operation to print the
platform specific registers in addition to standard SDHC
register during error conditions.
Signed-off-by: Sahitya Tummala <stumm...@codeaurora.org>
Signed-off-by: Rites
From: Sahitya Tummala
Implement ->platform_dumpregs host operation to print the
platform specific registers in addition to standard SDHC
register during error conditions.
Signed-off-by: Sahitya Tummala
Signed-off-by: Ritesh Harjani
---
drivers/mmc/host/sdhci-msm.c |
This factors out sdhci_msm_hc_select_mode to later use
it during enhanced_strobe mode select.
It also further breaks sdhci_msm_hc_select_mode
into separate functions for configuring HS400 mode
or other modes.
Signed-off-by: Ritesh Harjani <rite...@codeaurora.org>
---
drivers/mmc/host/sdhci
This factors out sdhci_msm_hc_select_mode to later use
it during enhanced_strobe mode select.
It also further breaks sdhci_msm_hc_select_mode
into separate functions for configuring HS400 mode
or other modes.
Signed-off-by: Ritesh Harjani
---
drivers/mmc/host/sdhci-msm.c | 201
Factor out sdhci_msm_hs400 used for DLL calibration in HS400
modes. This function will be needed for enhanced_strobe as well.
Signed-off-by: Ritesh Harjani <rite...@codeaurora.org>
---
drivers/mmc/host/sdhci-msm.c | 32 ++--
1 file changed, 26 insertions
Clear SDHCI_HS400_TUNING flag after platform_execute_tuning
so that platform_execute_tuning may use it if needed.
Signed-off-by: Ritesh Harjani <rite...@codeaurora.org>
---
drivers/mmc/host/sdhci.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/drivers/mmc/host/s
ed-off-by: Venkat Gopalakrishnan <venk...@codeaurora.org>
Signed-off-by: Ritesh Harjani <rite...@codeaurora.org>
---
drivers/mmc/host/sdhci-msm.c | 15 ---
1 file changed, 4 insertions(+), 11 deletions(-)
diff --git a/drivers/mmc/host/sdhci-msm.c b/drivers/mmc/host/sdhci-msm.c
inde
This provides enhanced_strobe mode feature support in sdhci-msm
driver.
Signed-off-by: Ritesh Harjani <rite...@codeaurora.org>
---
drivers/mmc/host/sdhci-msm.c | 34 +-
1 file changed, 25 insertions(+), 9 deletions(-)
diff --git a/drivers/mmc/host/sdhci-m
Factor out sdhci_msm_hs400 used for DLL calibration in HS400
modes. This function will be needed for enhanced_strobe as well.
Signed-off-by: Ritesh Harjani
---
drivers/mmc/host/sdhci-msm.c | 32 ++--
1 file changed, 26 insertions(+), 6 deletions(-)
diff --git
Clear SDHCI_HS400_TUNING flag after platform_execute_tuning
so that platform_execute_tuning may use it if needed.
Signed-off-by: Ritesh Harjani
---
drivers/mmc/host/sdhci.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/drivers/mmc/host/sdhci.c b/drivers/mmc/host
Signed-off-by: Ritesh Harjani
---
drivers/mmc/host/sdhci-msm.c | 15 ---
1 file changed, 4 insertions(+), 11 deletions(-)
diff --git a/drivers/mmc/host/sdhci-msm.c b/drivers/mmc/host/sdhci-msm.c
index 5a37c29..a028568 100644
--- a/drivers/mmc/host/sdhci-msm.c
+++ b/drivers/mmc/host/sdhci
This provides enhanced_strobe mode feature support in sdhci-msm
driver.
Signed-off-by: Ritesh Harjani
---
drivers/mmc/host/sdhci-msm.c | 34 +-
1 file changed, 25 insertions(+), 9 deletions(-)
diff --git a/drivers/mmc/host/sdhci-msm.c b/drivers/mmc/host/sdhci
During tuning execution for HS400 mode, HW sequence recommends
to select MCLK_SEL/2(0x3) in VENDOR_SPEC & sdhc msm clock at GCC
to be 400MHZ (nearest supported clk). Add this change in tuning
sequence during HS400 tuning.
Signed-off-by: Ritesh Harjani <rite...@codeaurora.org>
---
d
From: Subhash Jadavani <subha...@codeaurora.org>
Program CORE_CSR_CDC_DELAY_CFG for hardware recommended 1.25ns delay.
We may see data CRC errors if it's programmed for any other delay
value.
Signed-off-by: Subhash Jadavani <subha...@codeaurora.org>
Signed-off-by: Ritesh H
From: Subhash Jadavani
Program CORE_CSR_CDC_DELAY_CFG for hardware recommended 1.25ns delay.
We may see data CRC errors if it's programmed for any other delay
value.
Signed-off-by: Subhash Jadavani
Signed-off-by: Ritesh Harjani
---
drivers/mmc/host/sdhci-msm.c | 2 +-
1 file changed, 1
During tuning execution for HS400 mode, HW sequence recommends
to select MCLK_SEL/2(0x3) in VENDOR_SPEC & sdhc msm clock at GCC
to be 400MHZ (nearest supported clk). Add this change in tuning
sequence during HS400 tuning.
Signed-off-by: Ritesh Harjani
---
drivers/mmc/host/sdhci-msm.c
Factor out msm_set/get_clock_rate_for_bus_mode for it's later
use in changing the tuning sequence for selecting HS400
bus speed mode.
Signed-off-by: Ritesh Harjani <rite...@codeaurora.org>
---
drivers/mmc/host/sdhci-msm.c | 64 +++-
1 file chang
tuning.
Patch 7 :- Implements an additional step as per HPG for HS400 tuning.
Patch 8 :- Implements enhanced strobe functionality in sdhci-msm driver.
Ritesh Harjani (6):
mmc: sdhci-msm: Factor out sdhci_msm_hc_select_mode
mmc: sdhci-msm: Factor out function to set/get msm clock rate
mmc: sd
Factor out msm_set/get_clock_rate_for_bus_mode for it's later
use in changing the tuning sequence for selecting HS400
bus speed mode.
Signed-off-by: Ritesh Harjani
---
drivers/mmc/host/sdhci-msm.c | 64 +++-
1 file changed, 40 insertions(+), 24 deletions
tuning.
Patch 7 :- Implements an additional step as per HPG for HS400 tuning.
Patch 8 :- Implements enhanced strobe functionality in sdhci-msm driver.
Ritesh Harjani (6):
mmc: sdhci-msm: Factor out sdhci_msm_hc_select_mode
mmc: sdhci-msm: Factor out function to set/get msm clock rate
mmc: sd
be
acceptable or not ?
Regards
Ritesh
On 12/20/2016 11:23 AM, Ritesh Harjani wrote:
Some controllers may need to configure few registers based on enhanced
strobe mode while configuring to HS400 timing, thus make
ios.enhanced_strobe to true before mmc_set_timing in mmc_select_hs400es.
Signed-off
be
acceptable or not ?
Regards
Ritesh
On 12/20/2016 11:23 AM, Ritesh Harjani wrote:
Some controllers may need to configure few registers based on enhanced
strobe mode while configuring to HS400 timing, thus make
ios.enhanced_strobe to true before mmc_set_timing in mmc_select_hs400es.
Signed-off
Hi Shawn,
On 12/20/2016 4:33 PM, Shawn Lin wrote:
On 2016/12/20 18:33, Ritesh Harjani wrote:
Hi Shawn,
On 12/20/2016 12:59 PM, Shawn Lin wrote:
On 2016/12/20 13:53, Ritesh Harjani wrote:
Currently mmc_select_hs400es is not setting the desired frequency
before sending switch command
Hi Shawn,
On 12/20/2016 4:33 PM, Shawn Lin wrote:
On 2016/12/20 18:33, Ritesh Harjani wrote:
Hi Shawn,
On 12/20/2016 12:59 PM, Shawn Lin wrote:
On 2016/12/20 13:53, Ritesh Harjani wrote:
Currently mmc_select_hs400es is not setting the desired frequency
before sending switch command
Hi Shawn,
On 12/20/2016 12:59 PM, Shawn Lin wrote:
On 2016/12/20 13:53, Ritesh Harjani wrote:
Currently mmc_select_hs400es is not setting the desired frequency
before sending switch command. This makes CMD13 to timeout on
some controllers.
Thus add a change to set the desired HS400 frequency
Hi Shawn,
On 12/20/2016 12:59 PM, Shawn Lin wrote:
On 2016/12/20 13:53, Ritesh Harjani wrote:
Currently mmc_select_hs400es is not setting the desired frequency
before sending switch command. This makes CMD13 to timeout on
some controllers.
Thus add a change to set the desired HS400 frequency
This provide support for enhanced_strobe feature to sdhci-msm.
Signed-off-by: Ritesh Harjani <rite...@codeaurora.org>
---
drivers/mmc/host/sdhci-msm.c | 32 +++-
1 file changed, 23 insertions(+), 9 deletions(-)
diff --git a/drivers/mmc/host/sdhci-msm.c b/drive
Currently mmc_select_hs400es is not setting the desired frequency
before sending switch command. This makes CMD13 to timeout on
some controllers.
Thus add a change to set the desired HS400 frequency
in mmc_select_hs400es when the timing is switched to HS400.
Signed-off-by: Ritesh Harjani <r
This provide support for enhanced_strobe feature to sdhci-msm.
Signed-off-by: Ritesh Harjani
---
drivers/mmc/host/sdhci-msm.c | 32 +++-
1 file changed, 23 insertions(+), 9 deletions(-)
diff --git a/drivers/mmc/host/sdhci-msm.c b/drivers/mmc/host/sdhci-msm.c
index
Currently mmc_select_hs400es is not setting the desired frequency
before sending switch command. This makes CMD13 to timeout on
some controllers.
Thus add a change to set the desired HS400 frequency
in mmc_select_hs400es when the timing is switched to HS400.
Signed-off-by: Ritesh Harjani
Some controllers may need to configure few registers based on enhanced
strobe mode while configuring to HS400 timing, thus make
ios.enhanced_strobe to true before mmc_set_timing in mmc_select_hs400es.
Signed-off-by: Ritesh Harjani <rite...@codeaurora.org>
---
drivers/mmc/core/mmc
Signed-off-by: Ritesh Harjani <rite...@codeaurora.org>
---
drivers/mmc/core/core.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/mmc/core/core.c b/drivers/mmc/core/core.c
index 543eadd..125f8a9 100644
--- a/drivers/mmc/core/core.c
+++ b/drivers/mmc/core/core.c
@@ -1139,6 +
Hi,
Patch series is to enable enhanced strobe feature for sdhci-msm driver.
But there are also some changes done in core layer for this.
This was tested on msm8996 based interal target with emmc-5.1 card.
Ritesh Harjani (4):
mmc: core: Return from mmc_set_clock if hz is already set
Some controllers may need to configure few registers based on enhanced
strobe mode while configuring to HS400 timing, thus make
ios.enhanced_strobe to true before mmc_set_timing in mmc_select_hs400es.
Signed-off-by: Ritesh Harjani
---
drivers/mmc/core/mmc.c | 8 +++-
1 file changed, 7
Signed-off-by: Ritesh Harjani
---
drivers/mmc/core/core.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/mmc/core/core.c b/drivers/mmc/core/core.c
index 543eadd..125f8a9 100644
--- a/drivers/mmc/core/core.c
+++ b/drivers/mmc/core/core.c
@@ -1139,6 +1139,9 @@ void mmc_set_clock
Hi,
Patch series is to enable enhanced strobe feature for sdhci-msm driver.
But there are also some changes done in core layer for this.
This was tested on msm8996 based interal target with emmc-5.1 card.
Ritesh Harjani (4):
mmc: core: Return from mmc_set_clock if hz is already set
Minor comments.
On 12/9/2016 1:43 AM, Jens Axboe wrote:
Takes a list of requests, and dispatches it. Moves any residual
requests to the dispatch list.
Signed-off-by: Jens Axboe
---
block/blk-mq.c | 85 --
block/blk-mq.h |
Minor comments.
On 12/9/2016 1:43 AM, Jens Axboe wrote:
Takes a list of requests, and dispatches it. Moves any residual
requests to the dispatch list.
Signed-off-by: Jens Axboe
---
block/blk-mq.c | 85 --
block/blk-mq.h | 1 +
2 files
On 12/1/2016 11:38 PM, Georgi Djakov wrote:
On 11/29/2016 05:40 AM, Ritesh Harjani wrote:
Hi Georgi,
On 11/28/2016 11:09 PM, Georgi Djakov wrote:
On apq8016, apq8084 and apq8074 platforms, writing to the software
reset register triggers the "power irq". We need to ack and hand
On 12/1/2016 11:38 PM, Georgi Djakov wrote:
On 11/29/2016 05:40 AM, Ritesh Harjani wrote:
Hi Georgi,
On 11/28/2016 11:09 PM, Georgi Djakov wrote:
On apq8016, apq8084 and apq8074 platforms, writing to the software
reset register triggers the "power irq". We need to ack and hand
Hi Georgi,
On 11/28/2016 11:09 PM, Georgi Djakov wrote:
On apq8016, apq8084 and apq8074 platforms, writing to the software
reset register triggers the "power irq". We need to ack and handle
the irq, otherwise the following message appears:
mmc0: Reset 0x1 never completed.
sdhci: ===
Hi Georgi,
On 11/28/2016 11:09 PM, Georgi Djakov wrote:
On apq8016, apq8084 and apq8074 platforms, writing to the software
reset register triggers the "power irq". We need to ack and handle
the irq, otherwise the following message appears:
mmc0: Reset 0x1 never completed.
sdhci: ===
Hi Georgi,
I collected some info on this problem. May be below info might help you.
I think "Reset 0x1" problem is occurring because of below call stack.
SDHCI_RESET_ALL to SDHCI_SOFTWARE_RESET register will anyway trigger the
sdhci_msm_pwr_irq.
But I think the problem is that the above
Hi Georgi,
I collected some info on this problem. May be below info might help you.
I think "Reset 0x1" problem is occurring because of below call stack.
SDHCI_RESET_ALL to SDHCI_SOFTWARE_RESET register will anyway trigger the
sdhci_msm_pwr_irq.
But I think the problem is that the above
Hi Pramod,
Thanks for this patch. Few minor comments.
I have tested your patch on db410c and 8996 based internal platform and
it works fine.
On 10/18/2016 3:46 PM, Pramod Gurav wrote:
Provides runtime PM callbacks to enable and disable clock resources
when idle. Also support system PM
Hi Pramod,
Thanks for this patch. Few minor comments.
I have tested your patch on db410c and 8996 based internal platform and
it works fine.
On 10/18/2016 3:46 PM, Pramod Gurav wrote:
Provides runtime PM callbacks to enable and disable clock resources
when idle. Also support system PM
Hi Ulf,
On 9/23/2016 3:37 PM, Ulf Hansson wrote:
[...]
Is there anything else needed in msm sdhci driver so that the auto
tuning is taken care of?
I am not familiar with any other than sdhci-esdhc-imx which supports
the SDHCI_TUNING_MODE_3. I may be wrong though.
In the sdhci-esdhc-imx
Hi Ulf,
On 9/23/2016 3:37 PM, Ulf Hansson wrote:
[...]
Is there anything else needed in msm sdhci driver so that the auto
tuning is taken care of?
I am not familiar with any other than sdhci-esdhc-imx which supports
the SDHCI_TUNING_MODE_3. I may be wrong though.
In the sdhci-esdhc-imx
Hi Pramod,
On 9/15/2016 7:28 PM, Pramod Gurav wrote:
On 15 September 2016 at 15:49, Ulf Hansson wrote:
On 15 September 2016 at 09:59, Pramod Gurav wrote:
On 9 September 2016 at 15:48, Georgi Djakov wrote:
On
Hi Pramod,
On 9/15/2016 7:28 PM, Pramod Gurav wrote:
On 15 September 2016 at 15:49, Ulf Hansson wrote:
On 15 September 2016 at 09:59, Pramod Gurav wrote:
On 9 September 2016 at 15:48, Georgi Djakov wrote:
On 09/08/2016 11:02 AM, Adrian Hunter wrote:
On 01/09/16 17:23, Pramod Gurav
On Thu, Mar 26, 2015 at 6:04 AM, David Rientjes wrote:
> On Thu, 26 Mar 2015, Ritesh Harjani wrote:
>
>> > diff --git a/arch/arm/mm/dma-mapping.c b/arch/arm/mm/dma-mapping.c
>> > index 83cd5ac..3f1ac51 100644
>> > --- a/arch/arm/mm/dma-mapping.c
>
Hi
On Mon, Mar 23, 2015 at 12:57 PM, Tomasz Figa wrote:
> IOMMU should be able to use single pages as well as bigger blocks, so if
> higher order allocations fail, we should not affect state of the system,
> with events such as OOM killer, but rather fall back to order 0
> allocations.
>
> This
Hi
On Mon, Mar 23, 2015 at 12:57 PM, Tomasz Figa tf...@chromium.org wrote:
IOMMU should be able to use single pages as well as bigger blocks, so if
higher order allocations fail, we should not affect state of the system,
with events such as OOM killer, but rather fall back to order 0
On Thu, Mar 26, 2015 at 6:04 AM, David Rientjes rient...@google.com wrote:
On Thu, 26 Mar 2015, Ritesh Harjani wrote:
diff --git a/arch/arm/mm/dma-mapping.c b/arch/arm/mm/dma-mapping.c
index 83cd5ac..3f1ac51 100644
--- a/arch/arm/mm/dma-mapping.c
+++ b/arch/arm/mm/dma-mapping.c
Hi Greg,
On Thu, Jun 5, 2014 at 12:29 AM, Greg KH wrote:
> On Thu, Jun 05, 2014 at 12:16:28AM +0530, Ritesh Harjani wrote:
>> Hi Greg,
>>
>> Thanks for reviewing.
>>
>> On Wed, Jun 4, 2014 at 11:21 PM, Greg KH wrote:
>> > On Wed, Jun 04, 2014 at 01:41:
Hi Greg,
On Thu, Jun 5, 2014 at 12:29 AM, Greg KH gre...@linuxfoundation.org wrote:
On Thu, Jun 05, 2014 at 12:16:28AM +0530, Ritesh Harjani wrote:
Hi Greg,
Thanks for reviewing.
On Wed, Jun 4, 2014 at 11:21 PM, Greg KH gre...@linuxfoundation.org wrote:
On Wed, Jun 04, 2014 at 01:41:46PM
Hi Greg,
Thanks for reviewing.
On Wed, Jun 4, 2014 at 11:21 PM, Greg KH wrote:
> On Wed, Jun 04, 2014 at 01:41:46PM +0530, ritesh.harj...@gmail.com wrote:
>> From: Ritesh Harjani
>>
>> This patch moves out *mapping pointer of dma_iommu_mapping
>> from arch/arm/incl
Hi Greg,
Thanks for reviewing.
On Wed, Jun 4, 2014 at 11:21 PM, Greg KH gre...@linuxfoundation.org wrote:
On Wed, Jun 04, 2014 at 01:41:46PM +0530, ritesh.harj...@gmail.com wrote:
From: Ritesh Harjani ritesh.harj...@gmail.com
This patch moves out *mapping pointer of dma_iommu_mapping
from
Hi Joonsoo,
CC'ing the developer of the patch (Tomasz Stanislawski)
On Fri, May 30, 2014 at 8:16 PM, Joonsoo Kim wrote:
> 2014-05-30 19:40 GMT+09:00 Ritesh Harjani :
>> Hi Joonsoo,
>>
>> I think you will be loosing the benefit of below patch with your changes.
>> I
Hi Joonsoo,
CC'ing the developer of the patch (Tomasz Stanislawski)
On Fri, May 30, 2014 at 8:16 PM, Joonsoo Kim js1...@gmail.com wrote:
2014-05-30 19:40 GMT+09:00 Ritesh Harjani ritesh.l...@gmail.com:
Hi Joonsoo,
I think you will be loosing the benefit of below patch with your changes.
I
Hi Joonsoo,
I think you will be loosing the benefit of below patch with your changes.
I am no expert here so please bear with me. I tried explaining in the
inline comments, let me know if I am wrong.
commit 026b08147923142e925a7d0aaa39038055ae0156
Author: Tomasz Stanislawski
Date: Wed Jun 12
Hi Joonsoo,
I think you will be loosing the benefit of below patch with your changes.
I am no expert here so please bear with me. I tried explaining in the
inline comments, let me know if I am wrong.
commit 026b08147923142e925a7d0aaa39038055ae0156
Author: Tomasz Stanislawski
201 - 272 of 272 matches
Mail list logo