Skip to content

Commit 88d319c

Browse files
committed
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 <[email protected]> Link: open-mpi/hwloc#536 Signed-off-by: Conor Dooley <[email protected]> Reviewed-by: Sudeep Holla <[email protected]>
1 parent 3f8ccf5 commit 88d319c

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

arch/riscv/boot/dts/microchip/mpfs.dtsi

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,30 @@
138138
interrupt-controller;
139139
};
140140
};
141+
142+
cpu-map {
143+
cluster0 {
144+
core0 {
145+
cpu = <&cpu0>;
146+
};
147+
148+
core1 {
149+
cpu = <&cpu1>;
150+
};
151+
152+
core2 {
153+
cpu = <&cpu2>;
154+
};
155+
156+
core3 {
157+
cpu = <&cpu3>;
158+
};
159+
160+
core4 {
161+
cpu = <&cpu4>;
162+
};
163+
};
164+
};
141165
};
142166

143167
refclk: mssrefclk {

0 commit comments

Comments
 (0)