arm64: gen3: enable eMMC HS200 in DT
Subsystems (2)
cover arm64: gen3: enable eMMC HS200 in DT
Simon,
as Ulf picked up the driver patches for HS200 support, it is now safe to pick up the DTS patches, I'd say? I rebased them to the dt-for-4.11 branch.
All the best,
Wolfram
Wolfram Sang (2):
arm64: dts: r8a7795: enable HS200 for eMMC
arm64: dts: r8a7796: enable HS200 for eMMC
arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts | 1 + arch/arm64/boot/dts/renesas/r8a7796-salvator-x.dts | 1 + 2 files changed, 2 insertions(+)
Signature · 1 line
2.10.2
PATCH RESEND 1/2 arm64: dts: r8a7795: enable HS200 for eMMC
--- arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts | 1 + 1 file changed, 1 insertion(+)
arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts +1 -0
@@ -452,6 +452,7 @@ vmmc-supply = <®_3p3v>; vqmmc-supply = <®_1p8v>; bus-width = <8>; + mmc-hs200-1_8v; non-removable; status = "okay"; };
Signature · 1 line
2.10.2
PATCH RESEND 2/2 arm64: dts: r8a7796: enable HS200 for eMMC
In reply to Wolfram Sang--- arch/arm64/boot/dts/renesas/r8a7796-salvator-x.dts | 1 + 1 file changed, 1 insertion(+)
arch/arm64/boot/dts/renesas/r8a7796-salvator-x.dts +1 -0
@@ -184,6 +184,7 @@ vmmc-supply = <®_3p3v>; vqmmc-supply = <®_1p8v>; bus-width = <8>; + mmc-hs200-1_8v; non-removable; status = "okay"; };
Signature · 1 line
2.10.2
Quoted 10 lines · Wolfram Sang
Simon,
as Ulf picked up the driver patches for HS200 support, it is now safe to pick up the DTS patches, I'd say? I rebased them to the dt-for-4.11 branch.
All the best,
Wolfram
Quoted 7 lines
Wolfram Sang (2):
arm64: dts: r8a7795: enable HS200 for eMMC
arm64: dts: r8a7796: enable HS200 for eMMCarch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts | 1 + arch/arm64/boot/dts/renesas/r8a7796-salvator-x.dts | 1 + 2 files changed, 2 insertions(+)
Ping :)
Quoted 15 lines · Wolfram Sang
Quoted 14 lines · Wolfram Sang
Simon,
as Ulf picked up the driver patches for HS200 support, it is now safe to pick up the DTS patches, I'd say? I rebased them to the dt-for-4.11 branch.
All the best,
Wolfram
Wolfram Sang (2):
arm64: dts: r8a7795: enable HS200 for eMMC
arm64: dts: r8a7796: enable HS200 for eMMC
Quoted 5 lines
Quoted 3 lines
arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts | 1 + arch/arm64/boot/dts/renesas/r8a7796-salvator-x.dts | 1 + 2 files changed, 2 insertions(+)Ping :)
Sorry for missing these.
I have queued them up for v4.11.
Quoted 2 lines
Sorry for missing these.
I have queued them up for v4.11.
Thank you!
Quoted 4 lines · Wolfram Sang
Quoted 2 lines
Sorry for missing these.
I have queued them up for v4.11.Thank you!
On my r8a7796/salvator-x I see the following with this series applied:
sh_mobile_sdhi ee140000.sd: timeout waiting for hardware interrupt (CMD13)
I am currently thinking in terms of dropping this series from v4.11 so we can revisit it for v4.12.
Quoted 9 lines · Simon Horman
Quoted 4 lines · Wolfram Sang
Quoted 2 lines
Sorry for missing these.
I have queued them up for v4.11.Thank you!
On my r8a7796/salvator-x I see the following with this series applied:
sh_mobile_sdhiee140000.sd: timeout waiting for hardware interrupt (CMD13)
Do you have the HS200 enablement patches in that branch? They are currently in -next.
Quoted 5 lines · Wolfram Sang
Quoted 4 lines · Simon Horman
Quoted 3 lines · Wolfram Sang
Quoted 2 lines
Sorry for missing these.
I have queued them up for v4.11.
Quoted 8 lines
Quoted 5 lines
Quoted 1 line
Thank you!
On my r8a7796/salvator-x I see the following with this series applied:
sh_mobile_sdhiee140000.sd: timeout waiting for hardware interrupt (CMD13)Do you have the HS200 enablement patches in that branch? They are currently in -next.
I tried mmc/next (but didn't notice anything special there). Which patches should I be looking for?
Quoted 6 lines
Quoted 3 lines
Do you have the HS200 enablement patches in that branch? They are currently in -next.
I tried mmc/next (but didn't notice anything special there). Which patches should I be looking for?
The series starting with 59c21074b582aa ("mmc: sh_mobile_sdhi: simplify accessing DT data") up to 8c81459fa8adec ("mmc: sh_mobile_sdhi: enable HS200").
Do you already fetch from Ulf's kernel.org tree? He switched away from the Linaro tree for MMC for a while. I only realized when he complained that he can't apply my patches.
Quoted 7 lines · Wolfram Sang
Quoted 6 lines
Quoted 3 lines
Do you have the HS200 enablement patches in that branch? They are currently in -next.
I tried mmc/next (but didn't notice anything special there). Which patches should I be looking for?
Quoted 7 lines
The series starting with
59c21074b582aa("mmc:sh_mobile_sdhi: simplify accessing DT data") up to8c81459fa8adec("mmc:sh_mobile_sdhi: enable HS200").Do you already fetch from Ulf's kernel.org tree? He switched away from the Linaro tree for MMC for a while. I only realized when he complained that he can't apply my patches.
Thanks, I had not realised that. I've pulled the kernel.org tree.
Quoted 3 lines
Quoted 3 lines
Do you already fetch from Ulf's kernel.org tree? He switched away from the Linaro tree for MMC for a while. I only realized when he complained
"since a while" not "for a while", of course.
Quoted 1 line
Thanks, I had not realised that. I've pulled the kernel.org tree.
So, there is hope for the patches to be in v4.11? :)
Hi Wolfram,
Quoted 5 lines · Wolfram Sang
Quoted 4 lines · Simon Horman
Quoted 3 lines · Wolfram Sang
Quoted 2 lines
Sorry for missing these.
I have queued them up for v4.11.
Quoted 8 lines
Quoted 5 lines
Quoted 1 line
Thank you!
On my r8a7796/salvator-x I see the following with this series applied:
sh_mobile_sdhiee140000.sd: timeout waiting for hardware interrupt (CMD13)Do you have the HS200 enablement patches in that branch? They are currently in -next.
I saw the same thing with renesas-devel last week, only on M3-W. The same kernel on H3 didn't spew such messages.
According to Shimoda-san, it was due to different eMMCs on H3 and M3-W.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]
In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
Quoted 7 lines · Wolfram Sang
Quoted 3 lines
Quoted 3 lines
Do you already fetch from Ulf's kernel.org tree? He switched away from the Linaro tree for MMC for a while. I only realized when he complained
"since a while" not "for a while", of course.
Quoted 1 line
Thanks, I had not realised that. I've pulled the kernel.org tree.
I have tested with "the new mmc/next" and things seem better. The problem does not appear to manifest in light testing.
Quoted 1 line
So, there is hope for the patches to be in v4.11? :)
Quoted 12 lines · Geert Uytterhoeven
Hi Wolfram,
Quoted 9 lines · Wolfram Sang
Quoted 8 lines · Simon Horman
Quoted 4 lines · Wolfram Sang
Quoted 2 lines
Sorry for missing these.
I have queued them up for v4.11.Thank you!
On my r8a7796/salvator-x I see the following with this series applied:
Quoted 8 lines
Quoted 4 lines
Quoted 1 line
sh_mobile_sdhiee140000.sd: timeout waiting for hardware interrupt (CMD13)Do you have the HS200 enablement patches in that branch? They are currently in -next.
I saw the same thing with renesas-devel last week, only on M3-W. The same kernel on H3 didn't spew such messages.
According to Shimoda-san, it was due to different eMMCs on H3 and M3-W.
Thanks, my interpretation of that is that the H3 patch of this series is fine.
I am still of a mind to drop the M3-W patch of this series because unless we can control the order that things are merged into Linus's tree there will be a temporary regression there. Moreover I'm not very excited about renesas-next having regressed.
Quoted 2 lines
I have tested with "the new mmc/next" and things seem better.
Good. The issue you saw is expected when you have not the enablement patches in place.
Quoted 4 lines
I am still of a mind to drop the M3-W patch of this series because unless we can control the order that things are merged into Linus's tree there will be a temporary regression there. Moreover I'm not very excited about renesas-next having regressed.
I have not heard of a regression. Geert, did you report that? Did I miss that? As you can see, I did test the patches with M3 as well:
http://elinux.org/Tests:eMMC-HS
and Jinso test team (Duc-san) confirmed it works for them with H3 and M3-W. In private communication, though.
Regards,
Wolfram
Hi Wolfram,
Quoted 10 lines · Wolfram Sang
Quoted 1 line
I have tested with "the new mmc/next" and things seem better.
Good. The issue you saw is expected when you have not the enablement patches in place.
Quoted 4 lines
I am still of a mind to drop the M3-W patch of this series because unless we can control the order that things are merged into Linus's tree there will be a temporary regression there. Moreover I'm not very excited about renesas-next having regressed.
Quoted 7 lines
I have not heard of a regression. Geert, did you report that? Did I miss that? As you can see, I did test the patches with M3 as well:
http://elinux.org/Tests:eMMC-HS
and Jinso test team (Duc-san) confirmed it works for them with H3 and M3-W. In private communication, though.
The issue happened with renesas-devel, i.e. without those patches. It was mentioned during last core meeting, so have a look at that log.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]
In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
Quoted 3 lines
The issue happened with renesas-devel, i.e. without those patches. It was mentioned during last core meeting, so have a look at that log.
No need to. As I said, the behaviour is expected without the patches. Thanks for the update!
Quoted 11 lines · Wolfram Sang
Quoted 2 lines
I have tested with "the new mmc/next" and things seem better.
Good. The issue you saw is expected when you have not the enablement patches in place.
Quoted 4 lines
I am still of a mind to drop the M3-W patch of this series because unless we can control the order that things are merged into Linus's tree there will be a temporary regression there. Moreover I'm not very excited about renesas-next having regressed.
Quoted 7 lines
I have not heard of a regression. Geert, did you report that? Did I miss that? As you can see, I did test the patches with M3 as well:
http://elinux.org/Tests:eMMC-HS
and Jinso test team (Duc-san) confirmed it works for them with H3 and M3-W. In private communication, though.
The problem I see is the following logged to the console (which makes the console semi-unusable).
sh_mobile_sdhi ee140000.sd: timeout waiting for hardware interrupt (CMD13)
I'm on IRC if you'd like to chat there.
Quoted 5 lines
The problem I see is the following logged to the console (which makes the console semi-unusable).
sh_mobile_sdhiee140000.sd: timeout waiting for hardware interrupt (CMD13)
Just to make sure: with the HS200 enablement patches present?
Quoted 7 lines · Wolfram Sang
Quoted 5 lines
The problem I see is the following logged to the console (which makes the console semi-unusable).
sh_mobile_sdhiee140000.sd: timeout waiting for hardware interrupt (CMD13)Just to make sure: with the HS200 enablement patches present?
Using renesas-next without mmc-next I see the problem above on the M3-W. Using renesas-next with mmc-next I do not see the problem above. Using v4.10-rc2 I also do not see the problem above.
So I believe we should delay the integration change, which is currently in renesas-next, until the driver change in mmc-next hits Linus's tree.
Quoted 4 lines
Using renesas-next without mmc-next I see the problem above on the M3-W. Using renesas-next with mmc-next I do not see the problem above. Using v4.10-rc2 I also do not see the problem above.
OK. So there is no problem with the code, at least.
Quoted 2 lines
So I believe we should delay the integration change, which is currently in renesas-next, until the driver change in mmc-next hits Linus's tree.
Whatever you do, H3 and M3-W should be treated equally IMO.
Quoted 11 lines · Wolfram Sang
Quoted 4 lines
Using renesas-next without mmc-next I see the problem above on the M3-W. Using renesas-next with mmc-next I do not see the problem above. Using v4.10-rc2 I also do not see the problem above.
OK. So there is no problem with the code, at least.
Quoted 2 lines
So I believe we should delay the integration change, which is currently in renesas-next, until the driver change in mmc-next hits Linus's tree.
Whatever you do, H3 and M3-W should be treated equally IMO.
Sure, that is reasonable. This is what I plan to do:
1. Drop this series from v4.11
2. Re-queue them for v4.12 once the driver changes hit an rc release
- Please ping me one that happens
Hi Simon,
Quoted 11 lines · Simon Horman
Quoted 10 lines · Wolfram Sang
Quoted 4 lines
Using renesas-next without mmc-next I see the problem above on the M3-W. Using renesas-next with mmc-next I do not see the problem above. Using v4.10-rc2 I also do not see the problem above.
OK. So there is no problem with the code, at least.
Quoted 2 lines
So I believe we should delay the integration change, which is currently in renesas-next, until the driver change in mmc-next hits Linus's tree.
Quoted 7 lines
Quoted 1 line
Whatever you do, H3 and M3-W should be treated equally IMO.
Sure, that is reasonable. This is what I plan to do:
1. Drop this series from v4.11
2. Re-queue them for v4.12 once the driver changes hit an rc release
- Please ping me one that happens
Ping :) Do I need to resend? If so, what branch should I base this on?
Have a nice weekend,
Wolfram
Quoted 1 line
- Please ping me one that happens
Well, to ease and speed up things, I'll simply resend in a minute based on arm64-dt-for-v4.12.