2020-06-23 22:51:27

by Konrad Dybcio

[permalink] [raw]
Subject: [PATCH v2 09/12] arm64: dts: qcom: msm8994: Add PSCI node

Add PSCI node to enable multi-processor startup.

Note that not every 8994 device firmware supports PSCI,
and even if, then it can only start the cores and not
shut them down.

Signed-off-by: Konrad Dybcio <[email protected]>
---
arch/arm64/boot/dts/qcom/msm8994.dtsi | 5 +++++
1 file changed, 5 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/msm8994.dtsi b/arch/arm64/boot/dts/qcom/msm8994.dtsi
index b3c01ebc5c67..9eec8ab6bf2c 100644
--- a/arch/arm64/boot/dts/qcom/msm8994.dtsi
+++ b/arch/arm64/boot/dts/qcom/msm8994.dtsi
@@ -159,6 +159,11 @@ pmu {
interrupts = <GIC_PPI 7 (GIC_CPU_MASK_SIMPLE(4)| IRQ_TYPE_LEVEL_HIGH)>;
};

+ psci {
+ compatible = "arm,psci-0.2";
+ method = "hvc";
+ };
+
reserved-memory {
#address-cells = <2>;
#size-cells = <2>;
--
2.27.0


2020-06-23 23:26:30

by Bjorn Andersson

[permalink] [raw]
Subject: Re: [PATCH v2 09/12] arm64: dts: qcom: msm8994: Add PSCI node

On Tue 23 Jun 15:48 PDT 2020, Konrad Dybcio wrote:

> Add PSCI node to enable multi-processor startup.
>
> Note that not every 8994 device firmware supports PSCI,
> and even if, then it can only start the cores and not
> shut them down.
>
> Signed-off-by: Konrad Dybcio <[email protected]>

Applied, thanks.

> ---
> arch/arm64/boot/dts/qcom/msm8994.dtsi | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/qcom/msm8994.dtsi b/arch/arm64/boot/dts/qcom/msm8994.dtsi
> index b3c01ebc5c67..9eec8ab6bf2c 100644
> --- a/arch/arm64/boot/dts/qcom/msm8994.dtsi
> +++ b/arch/arm64/boot/dts/qcom/msm8994.dtsi
> @@ -159,6 +159,11 @@ pmu {
> interrupts = <GIC_PPI 7 (GIC_CPU_MASK_SIMPLE(4)| IRQ_TYPE_LEVEL_HIGH)>;
> };
>
> + psci {
> + compatible = "arm,psci-0.2";
> + method = "hvc";
> + };
> +
> reserved-memory {
> #address-cells = <2>;
> #size-cells = <2>;
> --
> 2.27.0
>