mmc: {tmio,renesas_sdhi}: fix tuning behavior
Subsystems (2)
v3 cover mmc: {tmio,renesas_sdhi}: fix tuning behavior
Hi,
Tuning failed on my R-Car H3 ES2.0 board using latest mmc/next while the Renesas BSP kernel worked. After some digging I found patches in the BSP which remedied this and whit these applied tuning now works for me.
I have done small fixes, updated commit messages and rebased on latest mmc/next but Hayakawa-san did all the real work. This change helped me to successfully tune a stubborn card I have had trouble in the past to get to work.
Masaharu Hayakawa (3):
mmc: tmio: Fix tuning flow
mmc: tmio: Fix SCC error detection
mmc: renesas_sdhi: skip SCC error check when retuning
Niklas Söderlund (1):
mmc: renesas_sdhi: Fix sampling clock position selecting
drivers/mmc/host/renesas_sdhi_core.c | 20 ++++++++++++++++++++ drivers/mmc/host/tmio_mmc_core.c | 6 ++---- 2 files changed, 22 insertions(+), 4 deletions(-)
Signature · 1 line
2.18.0
PATCH v3 1/4 mmc: tmio: Fix tuning flow
From: Masaharu Hayakawa <[email protected]>
If the return value of mmc_send_tuning() is error other than -EILSEQ, the tuning fails and process goes out of for_loop. The correct processing is to judge their TAP as not good (NG) and continue.
---
* Changes since v2
- Use a intermediate variable instead of checking the return value of mmc_send_tuning() in a if statement, suggested by Geert thanks!
- Added tags from Wolfram.
* Changes since v1
- Change '!mmc_send_tuning()' to 'mmc_send_tuning() == 0'.
--- drivers/mmc/host/tmio_mmc_core.c | 2 -- 1 file changed, 2 deletions(-)
drivers/mmc/host/tmio_mmc_core.c +0 -2
@@ -818,8 +818,6 @@ static int tmio_mmc_execute_tuning(struct mmc_host *mmc, u32 opcode) host->prepare_tuning (host, i % host->tap_num); ret =mmc_send_tuning (mmc, opcode,NULL ); -if (ret && ret != -EILSEQ ) - goto out;if (ret ==0 )set_bit (i, host->taps);
Signature · 1 line
2.18.0
Re: [PATCH v3 1/4] mmc: tmio: Fix tuning flow
Quoted 11 lines · Niklas Söderlund
From: Masaharu Hayakawa <[email protected]>
If the return value of
mmc_send_tuning()is error other than-EILSEQ, the tuning fails and process goes out offor_loop. The correct processing is to judge their TAP as not good (NG) and continue.Signed-off-by Masaharu Hayakawa <[email protected]>[Niklas: update commit message]Signed-off-by Niklas Söderlund <[email protected]>Reviewed-by Wolfram Sang <[email protected]>Tested-by Wolfram Sang <[email protected]>
Re: [PATCH v3 1/4] mmc: tmio: Fix tuning flow
In reply to Niklas SöderlundQuoted 11 lines · Niklas Söderlund
From: Masaharu Hayakawa <[email protected]>
If the return value of
mmc_send_tuning()is error other than-EILSEQ, the tuning fails and process goes out offor_loop. The correct processing is to judge their TAP as not good (NG) and continue.Signed-off-by Masaharu Hayakawa <[email protected]>[Niklas: update commit message]Signed-off-by Niklas Söderlund <[email protected]>Reviewed-by Wolfram Sang <[email protected]>Tested-by Wolfram Sang <[email protected]>
Re-tested this with Simon's HS400 patches.
Actually, this patch is needed to make HS400 work on my M3-N board.
Simon, did I get it correctly, it worked without this patch for you?
Re: [PATCH v3 1/4] mmc: tmio: Fix tuning flow
Quoted 13 lines · Wolfram Sang
Quoted 11 lines · Niklas Söderlund
From: Masaharu Hayakawa <[email protected]>
If the return value of
mmc_send_tuning()is error other than-EILSEQ, the tuning fails and process goes out offor_loop. The correct processing is to judge their TAP as not good (NG) and continue.Signed-off-by Masaharu Hayakawa <[email protected]>[Niklas: update commit message]Signed-off-by Niklas Söderlund <[email protected]>Reviewed-by Wolfram Sang <[email protected]>Tested-by Wolfram Sang <[email protected]>
Quoted 5 lines
Re-tested this with Simon's HS400 patches.
Actually, this patch is needed to make HS400 work on my M3-N board.
Simon, did I get it correctly, it worked without this patch for you?
I think so but I would have to re-test for sure as at some point I had a variant of this patch in my patch stack.
Re: [PATCH v3 1/4] mmc: tmio: Fix tuning flow
Quoted 4 lines
Quoted 1 line
Simon, did I get it correctly, it worked without this patch for you?
I think so but I would have to re-test for sure as at some point I had a variant of this patch in my patch stack.
Not needed IMO. We had this case already that some memories work without this patch and some don't.
PATCH v3 2/4 mmc: tmio: Fix SCC error detection
In reply to Niklas SöderlundFrom: Masaharu Hayakawa <[email protected]>
SDR104 and HS200 need to check for SCC error. If SCC error is detected, retuning is necessary.
--- drivers/mmc/host/tmio_mmc_core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/mmc/host/tmio_mmc_core.c +2 -2
@@ -920,8 +920,8 @@ static void tmio_mmc_finish_request(struct tmio_mmc_host *host)if (mrq->cmd->error || (mrq->data && mrq->data->error))tmio_mmc_abort_dma (host); -if (host->check_scc_error) - host->check_scc_error (host); +if (host->check_scc_error && host->check_scc_error (host)) + mrq->cmd->error = -EILSEQ ;/* If SET_BLOCK_COUNT, continue with main command */ if (host->mrq && !mrq->cmd->error) {
Signature · 1 line
2.18.0
Re: [PATCH v3 2/4] mmc: tmio: Fix SCC error detection
Quoted 11 lines · Niklas Söderlund
From: Masaharu Hayakawa <[email protected]>
SDR104 and HS200 need to check for SCC error. If SCC error is detected, retuning is necessary.
Signed-off-by Masaharu Hayakawa <[email protected]>[Niklas: update commit message]Signed-off-by Niklas Söderlund <[email protected]>Reviewed-by Simon Horman <[email protected]>Reviewed-by Wolfram Sang <[email protected]>Tested-by Wolfram Sang <[email protected]>
This patch breaks HS400 on my M3-N again :(
Re: [PATCH v3 2/4] mmc: tmio: Fix SCC error detection
Quoted 6 lines · Wolfram Sang
Quoted 5 lines · Niklas Söderlund
From: Masaharu Hayakawa <[email protected]>
SDR104 and HS200 need to check for SCC error. If SCC error is detected, retuning is necessary.
Quoted 9 lines
Quoted 6 lines
Signed-off-by Masaharu Hayakawa <[email protected]>[Niklas: update commit message]Signed-off-by Niklas Söderlund <[email protected]>Reviewed-by Simon Horman <[email protected]>Reviewed-by Wolfram Sang <[email protected]>Tested-by Wolfram Sang <[email protected]>This patch breaks HS400 on my M3-N again :(
I think that may be because renesas_sdhi_check_scc_error needs to be taught about 8-tap HS400.
Re: [PATCH v3 2/4] mmc: tmio: Fix SCC error detection
Quoted 6 lines
Quoted 3 lines
This patch breaks HS400 on my M3-N again :(
I think that may be because
renesas_sdhi_check_scc_errorneeds to be taught about 8-tap HS400.
Right, so patch 2 kind of depends on patch 4?
Niklas, how is your status on reworking patch 4?
Re: [PATCH v3 2/4] mmc: tmio: Fix SCC error detection
Quoted 8 lines · Wolfram Sang
Quoted 6 lines
Quoted 3 lines
This patch breaks HS400 on my M3-N again :(
I think that may be because
renesas_sdhi_check_scc_errorneeds to be taught about 8-tap HS400.Right, so patch 2 kind of depends on patch 4?
Yes, I think so. Sorry for missing that in my earlier review.
Quoted 1 line
Niklas, how is your status on reworking patch 4?
PATCH v3 3/4 mmc: renesas_sdhi: Fix sampling clock position selecting
In reply to Niklas SöderlundWhen tuning each tap is issued CMD19 twice and the result of both runs recorded in host->taps. If the result is different between the two runs the wrong sampling clock position was selected. Fix this by merging the two runs and only keep the result for each tap if it was good in both sets.
---
* Changes since v2
- Rewrote the change to use a less clumsy loop. The patch is now completely changed from Hayakawa-sans version and therefor I have also claimed authorship.
- Fixed spelling in comment as suggested by Geert.
* Changes since v1
- Updated commit message after discussion with Wolfram.
- Expanded comment in code to better explain why the results are merged.
--- drivers/mmc/host/renesas_sdhi_core.c | 12 ++++++++++++ 1 file changed, 12 insertions(+)
drivers/mmc/host/renesas_sdhi_core.c +12 -0
@@ -384,6 +384,18 @@ static int renesas_sdhi_select_tuning(struct tmio_mmc_host *host)/* Clear SCC_RVSREQ */ sd_scc_write32 (host, priv,SH_MOBILE_SDHI_SCC_RVSREQ ,0 ); +/* +* When tuning CMD19 is issued twice for each tap, merge the +* result requiring the tap to be good in both runs before +* considering it for tuning selection. +*/ +for (i =0 ; i < host->tap_num *2 ; i++) { +int offset = host->tap_num * (i < host->tap_num ?1 :-1 ); + +if (!test_bit (i, host->taps)) +clear_bit (i + offset, host->taps); + } +/* * Find the longest consecutive run of successful probes. If that * is more than SH_MOBILE_SDHI_MAX_TAP probes long then use the
Signature · 1 line
2.18.0
Re: [PATCH v3 3/4] mmc: renesas_sdhi: Fix sampling clock position selecting
Quoted 7 lines · Niklas Söderlund
When tuning each tap is issued CMD19 twice and the result of both runs recorded in
host->taps. If the result is different between the two runs the wrong sampling clock position was selected. Fix this by merging the two runs and only keep the result for each tap if it was good in both sets.Signed-off-by Niklas Söderlund <[email protected]>
Quoted 42 lines
---
* Changes since v2
- Rewrote the change to use a less clumsy loop. The patch is now completely changed from Hayakawa-sans version and therefor I have also claimed authorship.
- Fixed spelling in comment as suggested by Geert.* Changes since v1
- Updated commit message after discussion with Wolfram.
- Expanded comment in code to better explain why the results are merged.--- drivers/mmc/host/renesas_sdhi_core.c | 12 ++++++++++++ 1 file changed, 12 insertions(+)drivers/mmc/host/renesas_sdhi_core.c +12
-0@@ -384,6 +384,18 @@ static int renesas_sdhi_select_tuning(struct tmio_mmc_host *host)/* Clear SCC_RVSREQ */ sd_scc_write32 (host, priv,SH_MOBILE_SDHI_SCC_RVSREQ ,0 ); +/* +* When tuning CMD19 is issued twice for each tap, merge the +* result requiring the tap to be good in both runs before +* considering it for tuning selection. +*/ +for (i =0 ; i < host->tap_num *2 ; i++) { +int offset = host->tap_num * (i < host->tap_num ?1 :-1 ); + +if (!test_bit (i, host->taps)) +clear_bit (i + offset, host->taps); + } +/* * Find the longest consecutive run of successful probes. If that * is more than SH_MOBILE_SDHI_MAX_TAP probes long then use the Signature · 1 line
2.18.0
Re: [PATCH v3 3/4] mmc: renesas_sdhi: Fix sampling clock position selecting
In reply to Niklas SöderlundQuoted 7 lines · Niklas Söderlund
When tuning each tap is issued CMD19 twice and the result of both runs recorded in
host->taps. If the result is different between the two runs the wrong sampling clock position was selected. Fix this by merging the two runs and only keep the result for each tap if it was good in both sets.Signed-off-by Niklas Söderlund <[email protected]>
So, I tested this patch without having patch 2 applied and it worked:
Ulf, I think patches 1 & 3 are good and should be applied to 4.18 with stable attached.
And I wonder if it was easier if I'd send you pull requests now that we are working with even more developers on SDHI? Simon, Niklas, what do you think?
Re: [PATCH v3 3/4] mmc: renesas_sdhi: Fix sampling clock position selecting
Quoted 14 lines · Wolfram Sang
Quoted 7 lines · Niklas Söderlund
When tuning each tap is issued CMD19 twice and the result of both runs recorded in
host->taps. If the result is different between the two runs the wrong sampling clock position was selected. Fix this by merging the two runs and only keep the result for each tap if it was good in both sets.Signed-off-by Niklas Söderlund <[email protected]>So, I tested this patch without having patch 2 applied and it worked:
Tested-by Wolfram Sang <[email protected]>Reviewed-by Wolfram Sang <[email protected]>
Quoted 6 lines
Ulf, I think patches 1 & 3 are good and should be applied to 4.18 with stable attached.
And I wonder if it was easier if I'd send you pull requests now that we are working with even more developers on SDHI? Simon, Niklas, what do you think?
Of course its up to Ulf but from my point of view it would make sense for you to coordinate things at least for now.
Re: [PATCH v3 3/4] mmc: renesas_sdhi: Fix sampling clock position selecting
In reply to Wolfram SangHi Wolfram,
Quoted 9 lines · Wolfram Sang
Quoted 7 lines · Niklas S�derlund
When tuning each tap is issued CMD19 twice and the result of both runs recorded in
host->taps. If the result is different between the two runs the wrong sampling clock position was selected. Fix this by merging the two runs and only keep the result for each tap if it was good in both sets.Signed-off-by Niklas S�derlund <[email protected]>
Quoted 7 lines
So, I tested this patch without having patch 2 applied and it worked:
Tested-by Wolfram Sang <[email protected]>Reviewed-by Wolfram Sang <[email protected]>Ulf, I think patches 1 & 3 are good and should be applied to 4.18 with stable attached.
I have collected all tags and broken out 1 and 3 to a v4 of this series for easy consumption for either you or Ulf. And I'm working on updating 2 and 4.
Quoted 5 lines
And I wonder if it was easier if I'd send you pull requests now that we are working with even more developers on SDHI? Simon, Niklas, what do you think?
For me this approach would be great but as Simon points out maybe Ulf have a different idea. If you end up collecting and sending pull requests can you provide a public branch of the patches you have sent PR for so I can base my work upon that to avoid potential merge conflicts?
Signature · 2 lines
Regards, Niklas S�derlund
PATCH v3 4/4 mmc: renesas_sdhi: skip SCC error check when retuning
In reply to Niklas SöderlundFrom: Masaharu Hayakawa <[email protected]>
Checking for SCC error during retuning is unnecessary.
---
* Changes since v2
- Added check for HS400 as it's now merged.
- Added tags from Wolfram.
--- drivers/mmc/host/renesas_sdhi_core.c | 8 ++++++++ 1 file changed, 8 insertions(+)
drivers/mmc/host/renesas_sdhi_core.c +8 -0
@@ -444,6 +444,14 @@ static bool renesas_sdhi_check_scc_error(struct tmio_mmc_host *host) {struct renesas_sdhi *priv =host_to_priv (host); +if (!(host->mmc->ios.timing ==MMC_TIMING_UHS_SDR104 ) && + !(host->mmc->ios.timing ==MMC_TIMING_MMC_HS200 ) && + !(host->mmc->ios.timing ==MMC_TIMING_MMC_HS400 )) +return false; + +if (host->mmc->doing_retune) +return false; +/* Check SCC error */ if (sd_scc_read32(host, priv, SH_MOBILE_SDHI_SCC_RVSCNTL) & SH_MOBILE_SDHI_SCC_RVSCNTL_RVSEN &&
Signature · 1 line
2.18.0
Re: [PATCH v3 4/4] mmc: renesas_sdhi: skip SCC error check when retuning
Hi Niklas,
Quoted 24 lines · Niklas Söderlund
From: Masaharu Hayakawa <[email protected]>
Checking for SCC error during retuning is unnecessary.
Signed-off-by Masaharu Hayakawa <[email protected]>[Niklas: fix small style issue]Signed-off-by Niklas Söderlund <[email protected]>Tested-by Wolfram Sang <[email protected]>Reviewed-by Wolfram Sang <[email protected]>---
* Changes since v2
- Added check for HS400 as it's now merged.
- Added tags from Wolfram.--- drivers/mmc/host/renesas_sdhi_core.c | 8 ++++++++ 1 file changed, 8 insertions(+)drivers/mmc/host/renesas_sdhi_core.c +0
-0
drivers/mmc/host/renesas_sdhi_core.c static bool renesas_sdhi_check_scc_error(struct tmio_mmc_host *host) · line 449
Quoted 6 lines
drivers/mmc/host/renesas_sdhi_core.c +3
-0@@ -444,6 +444,14 @@ static bool renesas_sdhi_check_scc_error(struct tmio_mmc_host *host) {struct renesas_sdhi *priv =host_to_priv (host); +if (!(host->mmc->ios.timing ==MMC_TIMING_UHS_SDR104 ) && + !(host->mmc->ios.timing ==MMC_TIMING_MMC_HS200 ) && + !(host->mmc->ios.timing ==MMC_TIMING_MMC_HS400 ))
According to the BSP this needs to differentiate between 4tap and 8tap variants of HS400 support.
Quoted 11 lines
drivers/mmc/host/renesas_sdhi_core.c +5
-0+return false; + +if (host->mmc->doing_retune) +return false; +/* Check SCC error */ if (sd_scc_read32(host, priv, SH_MOBILE_SDHI_SCC_RVSCNTL) & SH_MOBILE_SDHI_SCC_RVSCNTL_RVSEN &&Signature · 1 line
2.18.0
Re: [PATCH v3 4/4] mmc: renesas_sdhi: skip SCC error check when retuning
Quoted 12 lines · Simon Horman
Hi Niklas,
Quoted 9 lines · Niklas Söderlund
From: Masaharu Hayakawa <[email protected]>
Checking for SCC error during retuning is unnecessary.
Signed-off-by Masaharu Hayakawa <[email protected]>[Niklas: fix small style issue]Signed-off-by Niklas Söderlund <[email protected]>Tested-by Wolfram Sang <[email protected]>Reviewed-by Wolfram Sang <[email protected]>
Sorry, Niklas, I got confused with the messages, that's my fault. I want to revoke my tags here which were meant for another patch in your series. I actually wanted to write a comment about...
Quoted 18 lines
Quoted 18 lines
---
* Changes since v2
- Added check for HS400 as it's now merged.
- Added tags from Wolfram.--- drivers/mmc/host/renesas_sdhi_core.c | 8 ++++++++ 1 file changed, 8 insertions(+)drivers/mmc/host/renesas_sdhi_core.c +0
-0@@ -444,6 +444,14 @@ static bool renesas_sdhi_check_scc_error(struct tmio_mmc_host *host) {struct renesas_sdhi *priv =host_to_priv (host);
Quoted 6 lines
drivers/mmc/host/renesas_sdhi_core.c static bool renesas_sdhi_check_scc_error(struct tmio_mmc_host *host) · line 449
Quoted 3 lines
drivers/mmc/host/renesas_sdhi_core.c +3
-0+if (!(host->mmc->ios.timing ==MMC_TIMING_UHS_SDR104 ) && + !(host->mmc->ios.timing ==MMC_TIMING_MMC_HS200 ) && + !(host->mmc->ios.timing ==MMC_TIMING_MMC_HS400 ))According to the BSP this needs to differentiate between 4tap and 8tap variants of HS400 support.
... checking exactly this.
Re: [PATCH v3 4/4] mmc: renesas_sdhi: skip SCC error check when retuning
Hi Wolfram,
Quoted 14 lines · Wolfram Sang
Quoted 12 lines · Simon Horman
Hi Niklas,
Quoted 9 lines · Niklas S�derlund
From: Masaharu Hayakawa <[email protected]>
Checking for SCC error during retuning is unnecessary.
Signed-off-by Masaharu Hayakawa <[email protected]>[Niklas: fix small style issue]Signed-off-by Niklas S�derlund <[email protected]>Tested-by Wolfram Sang <[email protected]>Reviewed-by Wolfram Sang <[email protected]>
Quoted 3 lines
Sorry, Niklas, I got confused with the messages, that's my fault. I want to revoke my tags here which were meant for another patch in your series. I actually wanted to write a comment about...
No problem, I think I need to do some more work on it as Simon pointed out more work is needed for HS400.
Quoted 28 lines
Quoted 19 lines
Quoted 19 lines
---
* Changes since v2
- Added check for HS400 as it's now merged.
- Added tags from Wolfram.--- drivers/mmc/host/renesas_sdhi_core.c | 8 ++++++++ 1 file changed, 8 insertions(+)drivers/mmc/host/renesas_sdhi_core.c +0
-0@@ -444,6 +444,14 @@ static bool renesas_sdhi_check_scc_error(struct tmio_mmc_host *host) {struct renesas_sdhi *priv =host_to_priv (host);Quoted 6 lines
drivers/mmc/host/renesas_sdhi_core.c static bool renesas_sdhi_check_scc_error(struct tmio_mmc_host *host) · line 449
Quoted 3 lines
drivers/mmc/host/renesas_sdhi_core.c +3
-0+if (!(host->mmc->ios.timing ==MMC_TIMING_UHS_SDR104 ) && + !(host->mmc->ios.timing ==MMC_TIMING_MMC_HS200 ) && + !(host->mmc->ios.timing ==MMC_TIMING_MMC_HS400 ))According to the BSP this needs to differentiate between 4tap and 8tap variants of HS400 support.
... checking exactly this.
Signature · 2 lines
Regards, Niklas S�derlund
Re: [PATCH v3 4/4] mmc: renesas_sdhi: skip SCC error check when retuning
In reply to Simon HormanHi Simon,
Quoted 30 lines · Simon Horman
Hi Niklas,
Quoted 27 lines · Niklas S�derlund
From: Masaharu Hayakawa <[email protected]>
Checking for SCC error during retuning is unnecessary.
Signed-off-by Masaharu Hayakawa <[email protected]>[Niklas: fix small style issue]Signed-off-by Niklas S�derlund <[email protected]>Tested-by Wolfram Sang <[email protected]>Reviewed-by Wolfram Sang <[email protected]>---
* Changes since v2
- Added check for HS400 as it's now merged.
- Added tags from Wolfram.--- drivers/mmc/host/renesas_sdhi_core.c | 8 ++++++++ 1 file changed, 8 insertions(+)drivers/mmc/host/renesas_sdhi_core.c +0
-0@@ -444,6 +444,14 @@ static bool renesas_sdhi_check_scc_error(struct tmio_mmc_host *host) {struct renesas_sdhi *priv =host_to_priv (host);
Quoted 6 lines
drivers/mmc/host/renesas_sdhi_core.c static bool renesas_sdhi_check_scc_error(struct tmio_mmc_host *host) · line 449
Quoted 3 lines
drivers/mmc/host/renesas_sdhi_core.c +3
-0+if (!(host->mmc->ios.timing ==MMC_TIMING_UHS_SDR104 ) && + !(host->mmc->ios.timing ==MMC_TIMING_MMC_HS200 ) && + !(host->mmc->ios.timing ==MMC_TIMING_MMC_HS400 ))According to the BSP this needs to differentiate between 4tap and 8tap variants of HS400 support.
Ahh I see, yes it looks like this patch will require some work to update to HS400. I might break this out to a own patch so the rest of the patches in this series can progress as they fix other unrelated issues.
Thanks for letting me know about this.
Quoted 12 lines
Quoted 12 lines
drivers/mmc/host/renesas_sdhi_core.c +5
-0+return false; + +if (host->mmc->doing_retune) +return false; +/* Check SCC error */ if (sd_scc_read32(host, priv, SH_MOBILE_SDHI_SCC_RVSCNTL) & SH_MOBILE_SDHI_SCC_RVSCNTL_RVSEN &&Signature · 1 line
2.18.0
Signature · 2 lines
Regards, Niklas S�derlund
Re: [PATCH v3 4/4] mmc: renesas_sdhi: skip SCC error check when retuning
Quoted 40 lines · Niklas Söderlund
Hi Simon,
Quoted 30 lines · Simon Horman
Hi Niklas,
Quoted 27 lines · Niklas Söderlund
From: Masaharu Hayakawa <[email protected]>
Checking for SCC error during retuning is unnecessary.
Signed-off-by Masaharu Hayakawa <[email protected]>[Niklas: fix small style issue]Signed-off-by Niklas Söderlund <[email protected]>Tested-by Wolfram Sang <[email protected]>Reviewed-by Wolfram Sang <[email protected]>---
* Changes since v2
- Added check for HS400 as it's now merged.
- Added tags from Wolfram.--- drivers/mmc/host/renesas_sdhi_core.c | 8 ++++++++ 1 file changed, 8 insertions(+)drivers/mmc/host/renesas_sdhi_core.c +0
-0@@ -444,6 +444,14 @@ static bool renesas_sdhi_check_scc_error(struct tmio_mmc_host *host) {struct renesas_sdhi *priv =host_to_priv (host);Quoted 6 lines
drivers/mmc/host/renesas_sdhi_core.c static bool renesas_sdhi_check_scc_error(struct tmio_mmc_host *host) · line 449
Quoted 3 lines
drivers/mmc/host/renesas_sdhi_core.c +3
-0+if (!(host->mmc->ios.timing ==MMC_TIMING_UHS_SDR104 ) && + !(host->mmc->ios.timing ==MMC_TIMING_MMC_HS200 ) && + !(host->mmc->ios.timing ==MMC_TIMING_MMC_HS400 ))According to the BSP this needs to differentiate between 4tap and 8tap variants of HS400 support.
Quoted 5 lines
Ahh I see, yes it looks like this patch will require some work to update to HS400. I might break this out to a own patch so the rest of the patches in this series can progress as they fix other unrelated issues.
Thanks for letting me know about this.
Of course breaking this patch out from the series is fine by me.