Commit c43cfc54 authored by Konrad Dybcio's avatar Konrad Dybcio Committed by Bjorn Andersson
Browse files

arm64: dts: qcom: msm8998: Add capacity-dmips-mhz to CPU cores



Add capacity-dmips-mhz to ensure the scheduler can efficiently
make use of the big.LITTLE core configuration.

Signed-off-by: default avatarKonrad Dybcio <konrad.dybcio@somainline.org>
Tested-by: default avatarAngeloGioacchino Del Regno <angelogioacchino.delregno@somainline.org>
Link: https://lore.kernel.org/r/20210109163001.146867-5-konrad.dybcio@somainline.org


Signed-off-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
parent 0fee55fc
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -133,6 +133,7 @@ CPU0: cpu@0 {
			compatible = "qcom,kryo280";
			reg = <0x0 0x0>;
			enable-method = "psci";
			capacity-dmips-mhz = <1024>;
			cpu-idle-states = <&LITTLE_CPU_SLEEP_0 &LITTLE_CPU_SLEEP_1>;
			next-level-cache = <&L2_0>;
			L2_0: l2-cache {
@@ -152,6 +153,7 @@ CPU1: cpu@1 {
			compatible = "qcom,kryo280";
			reg = <0x0 0x1>;
			enable-method = "psci";
			capacity-dmips-mhz = <1024>;
			cpu-idle-states = <&LITTLE_CPU_SLEEP_0 &LITTLE_CPU_SLEEP_1>;
			next-level-cache = <&L2_0>;
			L1_I_1: l1-icache {
@@ -167,6 +169,7 @@ CPU2: cpu@2 {
			compatible = "qcom,kryo280";
			reg = <0x0 0x2>;
			enable-method = "psci";
			capacity-dmips-mhz = <1024>;
			cpu-idle-states = <&LITTLE_CPU_SLEEP_0 &LITTLE_CPU_SLEEP_1>;
			next-level-cache = <&L2_0>;
			L1_I_2: l1-icache {
@@ -182,6 +185,7 @@ CPU3: cpu@3 {
			compatible = "qcom,kryo280";
			reg = <0x0 0x3>;
			enable-method = "psci";
			capacity-dmips-mhz = <1024>;
			cpu-idle-states = <&LITTLE_CPU_SLEEP_0 &LITTLE_CPU_SLEEP_1>;
			next-level-cache = <&L2_0>;
			L1_I_3: l1-icache {
@@ -197,6 +201,7 @@ CPU4: cpu@100 {
			compatible = "qcom,kryo280";
			reg = <0x0 0x100>;
			enable-method = "psci";
			capacity-dmips-mhz = <1536>;
			cpu-idle-states = <&BIG_CPU_SLEEP_0 &BIG_CPU_SLEEP_1>;
			next-level-cache = <&L2_1>;
			L2_1: l2-cache {
@@ -216,6 +221,7 @@ CPU5: cpu@101 {
			compatible = "qcom,kryo280";
			reg = <0x0 0x101>;
			enable-method = "psci";
			capacity-dmips-mhz = <1536>;
			cpu-idle-states = <&BIG_CPU_SLEEP_0 &BIG_CPU_SLEEP_1>;
			next-level-cache = <&L2_1>;
			L1_I_101: l1-icache {
@@ -231,6 +237,7 @@ CPU6: cpu@102 {
			compatible = "qcom,kryo280";
			reg = <0x0 0x102>;
			enable-method = "psci";
			capacity-dmips-mhz = <1536>;
			cpu-idle-states = <&BIG_CPU_SLEEP_0 &BIG_CPU_SLEEP_1>;
			next-level-cache = <&L2_1>;
			L1_I_102: l1-icache {
@@ -246,6 +253,7 @@ CPU7: cpu@103 {
			compatible = "qcom,kryo280";
			reg = <0x0 0x103>;
			enable-method = "psci";
			capacity-dmips-mhz = <1536>;
			cpu-idle-states = <&BIG_CPU_SLEEP_0 &BIG_CPU_SLEEP_1>;
			next-level-cache = <&L2_1>;
			L1_I_103: l1-icache {