You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Linux 5.15 exposes a single core instead of 4 on Hive Unmatched (riscv64 board) #536
Hello. I wondered the same when testing the gcc farm yesterday. Linux is showing a single core with 4 threads. I saw some possibly related patched on the Linux kernel mailing list today, I'll ask if they could fix this kernel bug.
changed the title [-]hwloc detects a single core instead of 4 on Hive Unmatched (riscv64 board)[/-][+]Linux 5.15 exposes a single core instead of 4 on Hive Unmatched (riscv64 board)[/+]on Jul 5, 2022
Activity
bgoglin commentedon Jul 5, 2022
Hello. I wondered the same when testing the gcc farm yesterday. Linux is showing a single core with 4 threads. I saw some possibly related patched on the Linux kernel mailing list today, I'll ask if they could fix this kernel bug.
[-]hwloc detects a single core instead of 4 on Hive Unmatched (riscv64 board)[/-][+]Linux 5.15 exposes a single core instead of 4 on Hive Unmatched (riscv64 board)[/+]zorun commentedon Jul 5, 2022
Right, thanks!
Note that gcc91 has the correct amount of cores detected (2), but it's a different SoC and it's running with a newer kernel (5.18.5)
bgoglin commentedon Jul 5, 2022
Reported the issue to RISC-V developers at https://lkml.org/lkml/2022/7/5/1568 and there are now kernel patches at https://lore.kernel.org/linux-riscv/20220705190435.1790466-1-mail@conchuod.ie/ which should fix the issue.
ConchuOD commentedon Jul 6, 2022
Oh dear, I didn't realise that I would spam /your/ issue by doing that. Good ole overzealous github...
bgoglin commentedon Jul 6, 2022
Don't worry @ConchuOD , that's fine, we can unsubscribe from the issue if needed (but I won't).
riscv: arch-topology: fix default topology reporting
zorun commentedon Jul 6, 2022
Thanks a lot for the detective work and the quick patch!
And sorry about the misleading comment on the VisionFive, I totally forgot that we're using a downstream kernel...
ConchuOD commentedon Jul 7, 2022
My hope is to get the addition of defaults backported & the cpu-map stuff into v5.20 (but not backport it).
Ye I knew there was a vendor kernel but I completely forgot about it too.. dw about it :)
riscv: arch-topology: fix default topology reporting
riscv: topology: fix default topology reporting
riscv: topology: fix default topology reporting
riscv: dts: sifive: Add fu540 topology information
riscv: dts: sifive: Add fu740 topology information
riscv: dts: canaan: Add k210 topology information
216 remaining items
riscv: topology: fix default topology reporting
riscv: topology: fix default topology reporting
riscv: topology: fix default topology reporting
riscv: topology: fix default topology reporting
riscv: topology: fix default topology reporting
riscv: topology: fix default topology reporting
riscv: topology: fix default topology reporting
riscv: topology: fix default topology reporting
riscv: topology: fix default topology reporting
riscv: topology: fix default topology reporting
riscv: topology: fix default topology reporting
riscv: topology: fix default topology reporting
riscv: topology: fix default topology reporting
bgoglin commentedon Oct 25, 2022
Looks like the fix has reached 6.1 and been backported to stables series, I am closing this issue, thanks.
ConchuOD commentedon Oct 25, 2022
Yeah, although I don't think the stable kernels have technically been released I think closing it is fair at this point. Thanks!