]> git.baikalelectronics.ru Git - kernel.git/commit
Merge tag 'riscv-topo-on-6.0-rc1' of https://git.kernel.org/pub/scm/linux/kernel...
authorPalmer Dabbelt <palmer@rivosinc.com>
Thu, 18 Aug 2022 20:40:51 +0000 (13:40 -0700)
committerPalmer Dabbelt <palmer@rivosinc.com>
Thu, 18 Aug 2022 20:41:00 +0000 (13:41 -0700)
commit56ac1d59fc0d99c9cd605bce733966d4286114e1
treeeadce30e55aff942aca6c4b73b48076712d694e9
parent34a3249ab33a1690f58cd6e91a0208887337d3e0
parent0840d38731d52a8845e9feebc7e1bcae9a8ee440
Merge tag 'riscv-topo-on-6.0-rc1' of https://git.kernel.org/pub/scm/linux/kernel/git/conor/linux.git/ into for-next

Fix RISC-V's topology reporting

The goal here is the fix the incorrectly reported arch topology on
RISC-V which seems to have been broken since it was added.
cpu, package and thread IDs are all currently reported as -1, so tools
like lstopo think systems have multiple threads on the same core when
this is not true:
https://github.com/open-mpi/hwloc/issues/536

arm64's topology code basically applies to RISC-V too, so it has been
made generic along with the removal of MPIDR related code, which
appears to be redudant code since '41334a55f039 ("arm64: topology: Stop
using MPIDR for topology information")' replaced the code that actually
interacted with MPIDR with default values.

* tag 'riscv-topo-on-6.0-rc1' of https://git.kernel.org/pub/scm/linux/kernel/git/conor/linux.git/:
  riscv: topology: fix default topology reporting
  arm64: topology: move store_cpu_topology() to shared code