[PATCH] arm64: defconfig: build-in Qualcomm SC7180 and SM8450 interconnects

Krzysztof Kozlowski posted 1 patch 3 years, 5 months ago
arch/arm64/configs/defconfig | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
[PATCH] arm64: defconfig: build-in Qualcomm SC7180 and SM8450 interconnects
Posted by Krzysztof Kozlowski 3 years, 5 months ago
On Qualcomm SC7180 and SM8450 SocS, the typical debug console serial
port is part of GENI Serial Engine QUP Wrapper Controller which uses
interconnects.  This means that without interconnect drivers, the serial
might not probe.  Without serial console, the root might not be mounted
by initramfs:

  + REASON=No init found. Try passing init= bootarg. PS1=(initramfs
  ...
  (initramfs) run-init -c /dev/console -n /root /sbin/init
  run-init: opening console: No such file or directory

This means that interconnect drivers on these Qualcomm SoCs cannot be
modules and must be built-in to mount rootfs.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 arch/arm64/configs/defconfig | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index 2af94d3c1c11..c1b7fb44e381 100644
--- a/arch/arm64/configs/defconfig
+++ b/arch/arm64/configs/defconfig
@@ -1301,7 +1301,7 @@ CONFIG_INTERCONNECT_QCOM_MSM8916=m
 CONFIG_INTERCONNECT_QCOM_MSM8996=m
 CONFIG_INTERCONNECT_QCOM_OSM_L3=m
 CONFIG_INTERCONNECT_QCOM_QCS404=m
-CONFIG_INTERCONNECT_QCOM_SC7180=m
+CONFIG_INTERCONNECT_QCOM_SC7180=y
 CONFIG_INTERCONNECT_QCOM_SC7280=y
 CONFIG_INTERCONNECT_QCOM_SC8180X=y
 CONFIG_INTERCONNECT_QCOM_SC8280XP=y
@@ -1309,7 +1309,7 @@ CONFIG_INTERCONNECT_QCOM_SDM845=y
 CONFIG_INTERCONNECT_QCOM_SM8150=m
 CONFIG_INTERCONNECT_QCOM_SM8250=m
 CONFIG_INTERCONNECT_QCOM_SM8350=m
-CONFIG_INTERCONNECT_QCOM_SM8450=m
+CONFIG_INTERCONNECT_QCOM_SM8450=y
 CONFIG_EXT2_FS=y
 CONFIG_EXT3_FS=y
 CONFIG_EXT4_FS_POSIX_ACL=y
-- 
2.34.1
Re: [PATCH] arm64: defconfig: build-in Qualcomm SC7180 and SM8450 interconnects
Posted by Bjorn Andersson 3 years, 5 months ago
On Thu, 20 Oct 2022 23:27:02 -0400, Krzysztof Kozlowski wrote:
> On Qualcomm SC7180 and SM8450 SocS, the typical debug console serial
> port is part of GENI Serial Engine QUP Wrapper Controller which uses
> interconnects.  This means that without interconnect drivers, the serial
> might not probe.  Without serial console, the root might not be mounted
> by initramfs:
> 
>   + REASON=No init found. Try passing init= bootarg. PS1=(initramfs
>   ...
>   (initramfs) run-init -c /dev/console -n /root /sbin/init
>   run-init: opening console: No such file or directory
> 
> [...]

Applied, thanks!

[1/1] arm64: defconfig: build-in Qualcomm SC7180 and SM8450 interconnects
      commit: c03fa428ac6e439afa1d437776365a632ce24262

Best regards,
-- 
Bjorn Andersson <andersson@kernel.org>
Re: [PATCH] arm64: defconfig: build-in Qualcomm SC7180 and SM8450 interconnects
Posted by Konrad Dybcio 3 years, 5 months ago

On 21.10.2022 05:27, Krzysztof Kozlowski wrote:
> On Qualcomm SC7180 and SM8450 SocS, the typical debug console serial
> port is part of GENI Serial Engine QUP Wrapper Controller which uses
> interconnects.  This means that without interconnect drivers, the serial
> might not probe.  Without serial console, the root might not be mounted
> by initramfs:
> 
>   + REASON=No init found. Try passing init= bootarg. PS1=(initramfs
>   ...
>   (initramfs) run-init -c /dev/console -n /root /sbin/init
>   run-init: opening console: No such file or directory
> 
> This means that interconnect drivers on these Qualcomm SoCs cannot be
> modules and must be built-in to mount rootfs.
> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> ---
Reviewed-by: Konrad Dybcio <konrad.dybcio@somainline.org>

Konrad
>  arch/arm64/configs/defconfig | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
> index 2af94d3c1c11..c1b7fb44e381 100644
> --- a/arch/arm64/configs/defconfig
> +++ b/arch/arm64/configs/defconfig
> @@ -1301,7 +1301,7 @@ CONFIG_INTERCONNECT_QCOM_MSM8916=m
>  CONFIG_INTERCONNECT_QCOM_MSM8996=m
>  CONFIG_INTERCONNECT_QCOM_OSM_L3=m
>  CONFIG_INTERCONNECT_QCOM_QCS404=m
> -CONFIG_INTERCONNECT_QCOM_SC7180=m
> +CONFIG_INTERCONNECT_QCOM_SC7180=y
>  CONFIG_INTERCONNECT_QCOM_SC7280=y
>  CONFIG_INTERCONNECT_QCOM_SC8180X=y
>  CONFIG_INTERCONNECT_QCOM_SC8280XP=y
> @@ -1309,7 +1309,7 @@ CONFIG_INTERCONNECT_QCOM_SDM845=y
>  CONFIG_INTERCONNECT_QCOM_SM8150=m
>  CONFIG_INTERCONNECT_QCOM_SM8250=m
>  CONFIG_INTERCONNECT_QCOM_SM8350=m
> -CONFIG_INTERCONNECT_QCOM_SM8450=m
> +CONFIG_INTERCONNECT_QCOM_SM8450=y
>  CONFIG_EXT2_FS=y
>  CONFIG_EXT3_FS=y
>  CONFIG_EXT4_FS_POSIX_ACL=y