diff options
author | Conor Dooley <conor.dooley@microchip.com> | 2022-07-05 22:04:35 +0300 |
---|---|---|
committer | Conor Dooley <conor.dooley@microchip.com> | 2022-07-08 01:15:39 +0300 |
commit | 88d319c6abaeb37f0e2323275eaf57a8388e0265 (patch) | |
tree | a0933c57d2fdadbeef01de58035a659b72ea9c7d /arch/riscv/boot/dts/microchip | |
parent | 3f8ccf5f1a8c349364055b73caf1bb0314229976 (diff) | |
download | linux-88d319c6abaeb37f0e2323275eaf57a8388e0265.tar.xz |
riscv: dts: microchip: Add mpfs' topology information
The mpfs has no cpu-map node, so tools like hwloc cannot correctly
parse the topology. Add the node using the existing node labels.
Reported-by: Brice Goglin <Brice.Goglin@inria.fr>
Link: https://github.com/open-mpi/hwloc/issues/536
Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
Reviewed-by: Sudeep Holla <sudeep.holla@arm.com>
Diffstat (limited to 'arch/riscv/boot/dts/microchip')
-rw-r--r-- | arch/riscv/boot/dts/microchip/mpfs.dtsi | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/arch/riscv/boot/dts/microchip/mpfs.dtsi b/arch/riscv/boot/dts/microchip/mpfs.dtsi index 1a5aa8836099..6b20828c919f 100644 --- a/arch/riscv/boot/dts/microchip/mpfs.dtsi +++ b/arch/riscv/boot/dts/microchip/mpfs.dtsi @@ -138,6 +138,30 @@ interrupt-controller; }; }; + + cpu-map { + cluster0 { + core0 { + cpu = <&cpu0>; + }; + + core1 { + cpu = <&cpu1>; + }; + + core2 { + cpu = <&cpu2>; + }; + + core3 { + cpu = <&cpu3>; + }; + + core4 { + cpu = <&cpu4>; + }; + }; + }; }; refclk: mssrefclk { |