All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] arm64: defconfig: build-in Qualcomm SC7180 and SM8450 interconnects
@ 2022-10-21  3:27 Krzysztof Kozlowski
  2022-10-21  9:18 ` Konrad Dybcio
  2022-11-07  3:12 ` Bjorn Andersson
  0 siblings, 2 replies; 3+ messages in thread
From: Krzysztof Kozlowski @ 2022-10-21  3:27 UTC (permalink / raw)
  To: Andy Gross, Bjorn Andersson, Konrad Dybcio, linux-arm-msm, linux-kernel
  Cc: Krzysztof Kozlowski

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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] arm64: defconfig: build-in Qualcomm SC7180 and SM8450 interconnects
  2022-10-21  3:27 [PATCH] arm64: defconfig: build-in Qualcomm SC7180 and SM8450 interconnects Krzysztof Kozlowski
@ 2022-10-21  9:18 ` Konrad Dybcio
  2022-11-07  3:12 ` Bjorn Andersson
  1 sibling, 0 replies; 3+ messages in thread
From: Konrad Dybcio @ 2022-10-21  9:18 UTC (permalink / raw)
  To: Krzysztof Kozlowski, Andy Gross, Bjorn Andersson, linux-arm-msm,
	linux-kernel



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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] arm64: defconfig: build-in Qualcomm SC7180 and SM8450 interconnects
  2022-10-21  3:27 [PATCH] arm64: defconfig: build-in Qualcomm SC7180 and SM8450 interconnects Krzysztof Kozlowski
  2022-10-21  9:18 ` Konrad Dybcio
@ 2022-11-07  3:12 ` Bjorn Andersson
  1 sibling, 0 replies; 3+ messages in thread
From: Bjorn Andersson @ 2022-11-07  3:12 UTC (permalink / raw)
  To: linux-arm-msm, konrad.dybcio, Krzysztof Kozlowski, linux-kernel,
	Andy Gross

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>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-11-07  3:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-21  3:27 [PATCH] arm64: defconfig: build-in Qualcomm SC7180 and SM8450 interconnects Krzysztof Kozlowski
2022-10-21  9:18 ` Konrad Dybcio
2022-11-07  3:12 ` Bjorn Andersson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.