Skip to contentSkip to conversation

arm64: defconfig: Enable qcom msm8994 clk drivers

PATCH In review Petr Vorel 2 participants 6 messages Jan 30, 2023 – Feb 9, 2023 Arm Qualcomm mailing list

lore
Share & tools
lore

Petr Vorel

author
#0 lore raw

PATCH 1/1 arm64: defconfig: Enable qcom msm8994 clk drivers

Enabling the clk drivers on msm8994 allows to boot and test most device drivers on this SoC.

---
NOTE: Working as part of SUSE hackweek, that's why I use my work mail instead of usual private gmail.

Kind regards,
Petr

 arch/arm64/configs/defconfig | 1 +
 1 file changed, 1 insertion(+)
arch/arm64/configs/defconfig +1 -0
index bfafb4313436..c6b08a9d8944 100644
@@ -1105,6 +1105,7 @@ CONFIG_IPQ_GCC_6018=y
 CONFIG_IPQ_GCC_8074=y
 CONFIG_MSM_GCC_8916=y
 CONFIG_MSM_GCC_8994=y
+CONFIG_MSM_MMCC_8994=y
 CONFIG_MSM_MMCC_8996=y
 CONFIG_MSM_GCC_8998=y
 CONFIG_QCS_GCC_404=y
Signature · 1 line
2.39.1
#1 lore raw
Quoted 4 lines · Petr Vorel

Enabling the clk drivers on msm8994 allows to boot and test most device drivers on this SoC.

Now that we can handle probe defer on the power-domains, can this be made =m instead?

Regards,
Bjorn

Quoted 25 lines

---
NOTE: Working as part of SUSE hackweek, that's why I use my work mail instead of usual private gmail.

Kind regards,
Petr

 arch/arm64/configs/defconfig | 1 +
 1 file changed, 1 insertion(+)
arch/arm64/configs/defconfig +1 -0
index bfafb4313436..c6b08a9d8944 100644
@@ -1105,6 +1105,7 @@ CONFIG_IPQ_GCC_6018=y
 CONFIG_IPQ_GCC_8074=y
 CONFIG_MSM_GCC_8916=y
 CONFIG_MSM_GCC_8994=y
+CONFIG_MSM_MMCC_8994=y
 CONFIG_MSM_MMCC_8996=y
 CONFIG_MSM_GCC_8998=y
 CONFIG_QCS_GCC_404=y
Signature · 1 line
2.39.1
author
#2 lore raw

Hi Bjorn,

Quoted 8 lines · Petr Vorel
Quoted 4 lines

Enabling the clk drivers on msm8994 allows to boot and test most device drivers on this SoC.

Now that we can handle probe defer on the power-domains, can this be made =m instead?

Thanks for your tip. Sure, if it's safe to change the rest of CONFIG_MSM_MMCC_.* to module as well (in separate patch). I'll send v2.

Kind regards,
Petr

Quoted 27 lines

Regards,
Bjorn

Quoted 24 lines

---
NOTE: Working as part of SUSE hackweek, that's why I use my work mail instead of usual private gmail.

Kind regards,
Petr

 arch/arm64/configs/defconfig | 1 +
 1 file changed, 1 insertion(+)
arch/arm64/configs/defconfig +1 -0
index bfafb4313436..c6b08a9d8944 100644
@@ -1105,6 +1105,7 @@ CONFIG_IPQ_GCC_6018=y
 CONFIG_IPQ_GCC_8074=y
 CONFIG_MSM_GCC_8916=y
 CONFIG_MSM_GCC_8994=y
+CONFIG_MSM_MMCC_8994=y
 CONFIG_MSM_MMCC_8996=y
 CONFIG_MSM_GCC_8998=y
 CONFIG_QCS_GCC_404=y
Signature · 1 line
2.39.1
author
#3 lore raw
In reply to Bjorn Andersson
Quoted 8 lines · Petr Vorel
Quoted 4 lines

Enabling the clk drivers on msm8994 allows to boot and test most device drivers on this SoC.

Now that we can handle probe defer on the power-domains, can this be made =m instead?

Out of curiosity may I know what commit implemented handling probe defer on power-domains?

Kind regards,
Petr

Quoted 27 lines

Regards,
Bjorn

Quoted 24 lines

---
NOTE: Working as part of SUSE hackweek, that's why I use my work mail instead of usual private gmail.

Kind regards,
Petr

 arch/arm64/configs/defconfig | 1 +
 1 file changed, 1 insertion(+)
arch/arm64/configs/defconfig +1 -0
index bfafb4313436..c6b08a9d8944 100644
@@ -1105,6 +1105,7 @@ CONFIG_IPQ_GCC_6018=y
 CONFIG_IPQ_GCC_8074=y
 CONFIG_MSM_GCC_8916=y
 CONFIG_MSM_GCC_8994=y
+CONFIG_MSM_MMCC_8994=y
 CONFIG_MSM_MMCC_8996=y
 CONFIG_MSM_GCC_8998=y
 CONFIG_QCS_GCC_404=y
Signature · 1 line
2.39.1
#4 lore raw
Quoted 4 lines · Petr Vorel
Quoted 3 lines · Petr Vorel
Quoted 2 lines

Enabling the clk drivers on msm8994 allows to boot and test most device drivers on this SoC.

Quoted 8 lines
Quoted 4 lines
Quoted 1 line

Now that we can handle probe defer on the power-domains, can this be made =m instead?

Out of curiosity may I know what commit implemented handling probe defer on power-domains?

Probe defer support has been there for a long time, but it was not reliable after late_initcall.

I believe 2b28a1a84a0e ("driver core: Extend deferred probe timeout on driver registration") is the change that altered the behavior, so we can now use it for kernel modules as well.

Regards,
Bjorn

Quoted 31 lines

Kind regards,
Petr

Quoted 27 lines

Regards,
Bjorn

Quoted 24 lines

---
NOTE: Working as part of SUSE hackweek, that's why I use my work mail instead of usual private gmail.

Kind regards,
Petr

 arch/arm64/configs/defconfig | 1 +
 1 file changed, 1 insertion(+)
arch/arm64/configs/defconfig +1 -0
index bfafb4313436..c6b08a9d8944 100644
@@ -1105,6 +1105,7 @@ CONFIG_IPQ_GCC_6018=y
 CONFIG_IPQ_GCC_8074=y
 CONFIG_MSM_GCC_8916=y
 CONFIG_MSM_GCC_8994=y
+CONFIG_MSM_MMCC_8994=y
 CONFIG_MSM_MMCC_8996=y
 CONFIG_MSM_GCC_8998=y
 CONFIG_QCS_GCC_404=y
Signature · 1 line
2.39.1
author
#5 lore raw
Quoted 14 lines · Petr Vorel
Quoted 11 lines
Quoted 8 lines · Petr Vorel
Quoted 4 lines

Enabling the clk drivers on msm8994 allows to boot and test most device drivers on this SoC.

Now that we can handle probe defer on the power-domains, can this be made =m instead?

Out of curiosity may I know what commit implemented handling probe defer on power-domains?

Quoted 6 lines

Probe defer support has been there for a long time, but it was not reliable after late_initcall.

I believe 2b28a1a84a0e ("driver core: Extend deferred probe timeout on driver registration") is the change that altered the behavior, so we can now use it for kernel modules as well.

Thanks for info! I have v2 prepared, but I'd prefer to test it, thus I'll send it next week after I get time to test it.

Kind regards,
Petr

Quoted 2 lines

Regards,
Bjorn