Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1340892

Re: [PATCH] arm64: dts: msm8916: Move smem below hwlock

From Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Newsgroups linux.kernel
Subject Re: [PATCH] arm64: dts: msm8916: Move smem below hwlock
Date 2016-02-23 18:30 +0100
Message-ID <r5oWB-8P-9@gated-at.bofh.it> (permalink)
References <r5oWB-8P-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw



On 23/02/16 17:21, Georgi Djakov wrote:
> When the SMEM is probed it defers as it depends on the hardware lock, which
> is not available yet. But the SMD bus and RPM regulators and clocks depend
> on SMEM and they defer too. The problem with this is that the order of
> registering the devices is not optimal and also we may end with messed
> up serial console as the RPM clocks are not registered yet..
I noticed the same issue but was wondering why would we end up with 
messed up serial console?

Could you add more details on why serial console is messed up?

I thought, serial driver has nothing to do with the rpm clocks directly!

--srini
>
> Signed-off-by: Georgi Djakov <georgi.djakov@linaro.org>
> ---
>   arch/arm64/boot/dts/qcom/msm8916.dtsi |   19 ++++++++++---------
>   1 file changed, 10 insertions(+), 9 deletions(-)
>
> diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi b/arch/arm64/boot/dts/qcom/msm8916.dtsi
> index 7705207872a5..c497c7b1ae70 100644
> --- a/arch/arm64/boot/dts/qcom/msm8916.dtsi
> +++ b/arch/arm64/boot/dts/qcom/msm8916.dtsi
> @@ -113,15 +113,6 @@
>   		};
>   	};
>
> -	smem {
> -		compatible = "qcom,smem";
> -
> -		memory-region = <&smem_mem>;
> -		qcom,rpm-msg-ram = <&rpm_msg_ram>;
> -
> -		hwlocks = <&tcsr_mutex 3>;
> -	};
> -
>   	soc: soc {
>   		#address-cells = <1>;
>   		#size-cells = <1>;
> @@ -512,6 +503,16 @@
>   		};
>   	};
>
> +	smem {
> +		compatible = "qcom,smem";
> +
> +		memory-region = <&smem_mem>;
> +		qcom,rpm-msg-ram = <&rpm_msg_ram>;
> +
> +		hwlocks = <&tcsr_mutex 3>;
> +	};
> +
> +
>   	smd {
>   		compatible = "qcom,smd";
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Re: [PATCH] arm64: dts: msm8916: Move smem below hwlock Srinivas Kandagatla <srinivas.kandagatla@linaro.org> - 2016-02-23 18:30 +0100
  Re: [PATCH] arm64: dts: msm8916: Move smem below hwlock Georgi Djakov <georgi.djakov@linaro.org> - 2016-02-23 19:50 +0100
    Re: [PATCH] arm64: dts: msm8916: Move smem below hwlock Andy Gross <andy.gross@linaro.org> - 2016-02-23 20:10 +0100
      Re: [PATCH] arm64: dts: msm8916: Move smem below hwlock Georgi Djakov <georgi.djakov@linaro.org> - 2016-02-24 11:40 +0100
    Re: [PATCH] arm64: dts: msm8916: Move smem below hwlock Srinivas Kandagatla <srinivas.kandagatla@linaro.org> - 2016-02-23 20:30 +0100
      Re: [PATCH] arm64: dts: msm8916: Move smem below hwlock Georgi Djakov <georgi.djakov@linaro.org> - 2016-02-23 21:20 +0100

csiph-web