lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <92993d1d-e7b0-199c-5652-5158988a65b9@linaro.org>
Date:   Wed, 16 Nov 2022 16:58:32 +0100
From:   Konrad Dybcio <konrad.dybcio@...aro.org>
To:     Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>,
        Andy Gross <agross@...nel.org>,
        Bjorn Andersson <andersson@...nel.org>,
        Rob Herring <robh+dt@...nel.org>,
        Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
        linux-arm-msm@...r.kernel.org, devicetree@...r.kernel.org,
        linux-kernel@...r.kernel.org
Subject: Re: [PATCH] arm64: dts: qcom: sm8150: use defines for RPMh power
 domains



On 16/11/2022 16:49, Krzysztof Kozlowski wrote:
> Use defines for RPMh power domains instead of hard-coding numbers.
> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
> ---
I sent exactly the same patch yesterday.

https://lore.kernel.org/linux-arm-msm/ef2057cb-8de8-4d65-2749-cfc205833eb4@linaro.org/T/#m4196988be896c461131ee11df51dcdd5b9cdcdc2

Konrad
>   arch/arm64/boot/dts/qcom/sm8150.dtsi | 12 ++++++------
>   1 file changed, 6 insertions(+), 6 deletions(-)
> 
> diff --git a/arch/arm64/boot/dts/qcom/sm8150.dtsi b/arch/arm64/boot/dts/qcom/sm8150.dtsi
> index d1b64280ab0b..136fa5360e8e 100644
> --- a/arch/arm64/boot/dts/qcom/sm8150.dtsi
> +++ b/arch/arm64/boot/dts/qcom/sm8150.dtsi
> @@ -2074,8 +2074,8 @@ remoteproc_slpi: remoteproc@...0000 {
>   			clocks = <&rpmhcc RPMH_CXO_CLK>;
>   			clock-names = "xo";
>   
> -			power-domains = <&rpmhpd 3>,
> -					<&rpmhpd 2>;
> +			power-domains = <&rpmhpd SM8150_LCX>,
> +					<&rpmhpd SM8150_LMX>;
>   			power-domain-names = "lcx", "lmx";
>   
>   			memory-region = <&slpi_mem>;
> @@ -2619,8 +2619,8 @@ remoteproc_mpss: remoteproc@...0000 {
>   			clocks = <&rpmhcc RPMH_CXO_CLK>;
>   			clock-names = "xo";
>   
> -			power-domains = <&rpmhpd 7>,
> -					<&rpmhpd 0>;
> +			power-domains = <&rpmhpd SM8150_CX>,
> +					<&rpmhpd SM8150_MSS>;
>   			power-domain-names = "cx", "mss";
>   
>   			memory-region = <&mpss_mem>;
> @@ -3246,7 +3246,7 @@ remoteproc_cdsp: remoteproc@...0000 {
>   			clocks = <&rpmhcc RPMH_CXO_CLK>;
>   			clock-names = "xo";
>   
> -			power-domains = <&rpmhpd 7>;
> +			power-domains = <&rpmhpd SM8150_CX>;
>   
>   			memory-region = <&cdsp_mem>;
>   
> @@ -3747,7 +3747,7 @@ remoteproc_adsp: remoteproc@...00000 {
>   			clocks = <&rpmhcc RPMH_CXO_CLK>;
>   			clock-names = "xo";
>   
> -			power-domains = <&rpmhpd 7>;
> +			power-domains = <&rpmhpd SM8150_CX>;
>   
>   			memory-region = <&adsp_mem>;
>   

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ