arm-bsp/fvp-base*: Fix the MPIDR values in the device tree
PATCH 1/1 arm-bsp/fvp-base*: Fix the MPIDR values in the device tree
The MPIDR values are incorrect, which means that only two CPUs start. With this patch, all 8 CPUs start.
Change-Id I4baa8738948ec756d6902bc75d0a56edf15e23f8
Signed-off-by Anders Dellien <[email protected]>
--- .../fvp-base-arm32/fvp-base-arm32-dts.patch | 28 +++++++++---------- .../linux/files/fvp-base-dts.patch | 28 +++++++++---------- 2 files changed, 28 insertions(+), 28 deletions(-)
meta-arm-bsp/recipes-kernel/linux/files/fvp-base-arm32/fvp-base-arm32-dts.patch +14 -14
@@ -112,64 +112,64 @@ index 000000000000..f4601c7f99f8 + next-level-cache = <&L2_0>; + }; + -+ CPU1:cpu@1 { ++ CPU1:cpu@100 { + device_type = "cpu"; + compatible = "arm,armv8"; -+ reg = <0x0 0x1>; ++ reg = <0x0 0x100>; + enable-method = "psci"; + cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>; + next-level-cache = <&L2_0>; + }; + -+ CPU2:cpu@2 { ++ CPU2:cpu@200 { + device_type = "cpu"; + compatible = "arm,armv8"; -+ reg = <0x0 0x2>; ++ reg = <0x0 0x200>; + enable-method = "psci"; + cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>; + next-level-cache = <&L2_0>; + }; + -+ CPU3:cpu@3 { ++ CPU3:cpu@300 { + device_type = "cpu"; + compatible = "arm,armv8"; -+ reg = <0x0 0x3>; ++ reg = <0x0 0x300>; + enable-method = "psci"; + cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>; + next-level-cache = <&L2_0>; + }; + -+ CPU4:cpu@100 { ++ CPU4:cpu@10000 { + device_type = "cpu"; + compatible = "arm,armv8"; -+ reg = <0x0 0x100>; ++ reg = <0x0 0x10000>; + enable-method = "psci"; + cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>; + next-level-cache = <&L2_0>; + }; + -+ CPU5:cpu@101 { ++ CPU5:cpu@10100 { + device_type = "cpu"; + compatible = "arm,armv8"; -+ reg = <0x0 0x101>; ++ reg = <0x0 0x10100>; + enable-method = "psci"; + cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>; + next-level-cache = <&L2_0>; + }; + -+ CPU6:cpu@102 { ++ CPU6:cpu@10200 { + device_type = "cpu"; + compatible = "arm,armv8"; -+ reg = <0x0 0x102>; ++ reg = <0x0 0x10200>; + enable-method = "psci"; + cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>; + next-level-cache = <&L2_0>; + }; + -+ CPU7:cpu@103 { ++ CPU7:cpu@10300 { + device_type = "cpu"; + compatible = "arm,armv8"; -+ reg = <0x0 0x103>; ++ reg = <0x0 0x10300>; + enable-method = "psci"; + cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>; + next-level-cache = <&L2_0>;
meta-arm-bsp/recipes-kernel/linux/files/fvp-base-dts.patch +14 -14
@@ -110,64 +110,64 @@ index 000000000000..f4601c7f99f8 + next-level-cache = <&L2_0>; + }; + -+ CPU1:cpu@1 { ++ CPU1:cpu@100 { + device_type = "cpu"; + compatible = "arm,armv8"; -+ reg = <0x0 0x1>; ++ reg = <0x0 0x100>; + enable-method = "psci"; + cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>; + next-level-cache = <&L2_0>; + }; + -+ CPU2:cpu@2 { ++ CPU2:cpu@200 { + device_type = "cpu"; + compatible = "arm,armv8"; -+ reg = <0x0 0x2>; ++ reg = <0x0 0x200>; + enable-method = "psci"; + cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>; + next-level-cache = <&L2_0>; + }; + -+ CPU3:cpu@3 { ++ CPU3:cpu@300 { + device_type = "cpu"; + compatible = "arm,armv8"; -+ reg = <0x0 0x3>; ++ reg = <0x0 0x300>; + enable-method = "psci"; + cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>; + next-level-cache = <&L2_0>; + }; + -+ CPU4:cpu@100 { ++ CPU4:cpu@10000 { + device_type = "cpu"; + compatible = "arm,armv8"; -+ reg = <0x0 0x100>; ++ reg = <0x0 0x10000>; + enable-method = "psci"; + cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>; + next-level-cache = <&L2_0>; + }; + -+ CPU5:cpu@101 { ++ CPU5:cpu@10100 { + device_type = "cpu"; + compatible = "arm,armv8"; -+ reg = <0x0 0x101>; ++ reg = <0x0 0x10100>; + enable-method = "psci"; + cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>; + next-level-cache = <&L2_0>; + }; + -+ CPU6:cpu@102 { ++ CPU6:cpu@10200 { + device_type = "cpu"; + compatible = "arm,armv8"; -+ reg = <0x0 0x102>; ++ reg = <0x0 0x10200>; + enable-method = "psci"; + cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>; + next-level-cache = <&L2_0>; + }; + -+ CPU7:cpu@103 { ++ CPU7:cpu@10300 { + device_type = "cpu"; + compatible = "arm,armv8"; -+ reg = <0x0 0x103>; ++ reg = <0x0 0x10300>; + enable-method = "psci"; + cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>; + next-level-cache = <&L2_0>;
Signature · 1 line
2.17.1
Jon Mason
AppliedQuoted 6 lines · Anders Dellien
The MPIDR values are incorrect, which means that only two CPUs start. With this patch, all 8 CPUs start.
Change-Id I4baa8738948ec756d6902bc75d0a56edf15e23f8Signed-off-by Anders Dellien <[email protected]>---
Applied to the master branch
Thanks,
Jon
Quoted 177 lines
.../fvp-base-arm32/fvp-base-arm32-dts.patch | 28 +++++++++---------- .../linux/files/fvp-base-dts.patch | 28 +++++++++---------- 2 files changed, 28 insertions(+), 28 deletions(-)meta-arm-bsp/recipes-kernel/linux/files/fvp-base-arm32/fvp-base-arm32-dts.patch +14
-14@@ -112,64 +112,64 @@ index 000000000000..f4601c7f99f8 + next-level-cache = <&L2_0>; + }; + -+ CPU1:cpu@1 { ++ CPU1:cpu@100 { + device_type = "cpu"; + compatible = "arm,armv8"; -+ reg = <0x0 0x1>; ++ reg = <0x0 0x100>; + enable-method = "psci"; + cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>; + next-level-cache = <&L2_0>; + }; + -+ CPU2:cpu@2 { ++ CPU2:cpu@200 { + device_type = "cpu"; + compatible = "arm,armv8"; -+ reg = <0x0 0x2>; ++ reg = <0x0 0x200>; + enable-method = "psci"; + cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>; + next-level-cache = <&L2_0>; + }; + -+ CPU3:cpu@3 { ++ CPU3:cpu@300 { + device_type = "cpu"; + compatible = "arm,armv8"; -+ reg = <0x0 0x3>; ++ reg = <0x0 0x300>; + enable-method = "psci"; + cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>; + next-level-cache = <&L2_0>; + }; + -+ CPU4:cpu@100 { ++ CPU4:cpu@10000 { + device_type = "cpu"; + compatible = "arm,armv8"; -+ reg = <0x0 0x100>; ++ reg = <0x0 0x10000>; + enable-method = "psci"; + cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>; + next-level-cache = <&L2_0>; + }; + -+ CPU5:cpu@101 { ++ CPU5:cpu@10100 { + device_type = "cpu"; + compatible = "arm,armv8"; -+ reg = <0x0 0x101>; ++ reg = <0x0 0x10100>; + enable-method = "psci"; + cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>; + next-level-cache = <&L2_0>; + }; + -+ CPU6:cpu@102 { ++ CPU6:cpu@10200 { + device_type = "cpu"; + compatible = "arm,armv8"; -+ reg = <0x0 0x102>; ++ reg = <0x0 0x10200>; + enable-method = "psci"; + cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>; + next-level-cache = <&L2_0>; + }; + -+ CPU7:cpu@103 { ++ CPU7:cpu@10300 { + device_type = "cpu"; + compatible = "arm,armv8"; -+ reg = <0x0 0x103>; ++ reg = <0x0 0x10300>; + enable-method = "psci"; + cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>; + next-level-cache = <&L2_0>;meta-arm-bsp/recipes-kernel/linux/files/fvp-base-dts.patch +14
-14@@ -110,64 +110,64 @@ index 000000000000..f4601c7f99f8 + next-level-cache = <&L2_0>; + }; + -+ CPU1:cpu@1 { ++ CPU1:cpu@100 { + device_type = "cpu"; + compatible = "arm,armv8"; -+ reg = <0x0 0x1>; ++ reg = <0x0 0x100>; + enable-method = "psci"; + cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>; + next-level-cache = <&L2_0>; + }; + -+ CPU2:cpu@2 { ++ CPU2:cpu@200 { + device_type = "cpu"; + compatible = "arm,armv8"; -+ reg = <0x0 0x2>; ++ reg = <0x0 0x200>; + enable-method = "psci"; + cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>; + next-level-cache = <&L2_0>; + }; + -+ CPU3:cpu@3 { ++ CPU3:cpu@300 { + device_type = "cpu"; + compatible = "arm,armv8"; -+ reg = <0x0 0x3>; ++ reg = <0x0 0x300>; + enable-method = "psci"; + cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>; + next-level-cache = <&L2_0>; + }; + -+ CPU4:cpu@100 { ++ CPU4:cpu@10000 { + device_type = "cpu"; + compatible = "arm,armv8"; -+ reg = <0x0 0x100>; ++ reg = <0x0 0x10000>; + enable-method = "psci"; + cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>; + next-level-cache = <&L2_0>; + }; + -+ CPU5:cpu@101 { ++ CPU5:cpu@10100 { + device_type = "cpu"; + compatible = "arm,armv8"; -+ reg = <0x0 0x101>; ++ reg = <0x0 0x10100>; + enable-method = "psci"; + cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>; + next-level-cache = <&L2_0>; + }; + -+ CPU6:cpu@102 { ++ CPU6:cpu@10200 { + device_type = "cpu"; + compatible = "arm,armv8"; -+ reg = <0x0 0x102>; ++ reg = <0x0 0x10200>; + enable-method = "psci"; + cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>; + next-level-cache = <&L2_0>; + }; + -+ CPU7:cpu@103 { ++ CPU7:cpu@10300 { + device_type = "cpu"; + compatible = "arm,armv8"; -+ reg = <0x0 0x103>; ++ reg = <0x0 0x10300>; + enable-method = "psci"; + cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>; + next-level-cache = <&L2_0>;Signature · 1 line
2.17.1