summaryrefslogtreecommitdiffstats
path: root/drivers/base/Kconfig
diff options
context:
space:
mode:
authorAtish Patra <atish.patra@wdc.com>2019-06-27 21:53:00 +0200
committerPaul Walmsley <paul.walmsley@sifive.com>2019-07-22 18:36:30 +0200
commit03f11f03dbfe37c0bff2768b8f2e277a29ac62b9 (patch)
treeb040c074863a1c1c79799b6b5cd3a251d0ee0273 /drivers/base/Kconfig
parentarm: Use common cpu_topology structure and functions. (diff)
downloadlinux-03f11f03dbfe37c0bff2768b8f2e277a29ac62b9.tar.xz
linux-03f11f03dbfe37c0bff2768b8f2e277a29ac62b9.zip
RISC-V: Parse cpu topology during boot.
Currently, there are no topology defined for RISC-V. Parse the cpu-map node from device tree and setup the cpu topology. CPU topology after applying the patch. $cat /sys/devices/system/cpu/cpu2/topology/core_siblings_list 0-3 $cat /sys/devices/system/cpu/cpu3/topology/core_siblings_list 0-3 $cat /sys/devices/system/cpu/cpu3/topology/physical_package_id 0 $cat /sys/devices/system/cpu/cpu3/topology/core_id 3 Signed-off-by: Atish Patra <atish.patra@wdc.com> Acked-by: Sudeep Holla <sudeep.holla@arm.com> Signed-off-by: Paul Walmsley <paul.walmsley@sifive.com>
Diffstat (limited to 'drivers/base/Kconfig')
0 files changed, 0 insertions, 0 deletions