aboutsummaryrefslogtreecommitdiff
path: root/disas
diff options
context:
space:
mode:
authorAtish Patra <atish.patra@wdc.com>2019-06-24 16:41:44 -0700
committerPalmer Dabbelt <palmer@sifive.com>2019-06-25 22:37:08 -0700
commit28a4df979a2ef92d9129886cd9dcb00c497ac4cb (patch)
tree591e4d86400c67055dd20ee0a8e6eb8016555215 /disas
parentab433cccadb9f8e73bc3350273b049377d54d083 (diff)
riscv: virt: Add cpu-topology DT node.
Currently, there is no cpu topology defined in RISC-V. Define a device tree node that clearly describes the entire topology. This saves the trouble of scanning individual cache to figure out the topology. Here is the linux kernel patch series that enables topology for RISC-V. http://lists.infradead.org/pipermail/linux-riscv/2019-June/005072.html CPU topology after applying this patch in QEMU & above series in kernel / # cat /sys/devices/system/cpu/cpu2/topology/thread_siblings_list 2 / # cat /sys/devices/system/cpu/cpu2/topology/physical_package_id 0 / # cat /sys/devices/system/cpu/cpu2/topology/core_siblings_list 0-7 Signed-off-by: Atish Patra <atish.patra@wdc.com> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
Diffstat (limited to 'disas')
0 files changed, 0 insertions, 0 deletions