summaryrefslogtreecommitdiffstats
path: root/include/exec
diff options
context:
space:
mode:
authorAtish Patra2019-06-25 01:41:44 +0200
committerPalmer Dabbelt2019-06-26 07:37:08 +0200
commit28a4df979a2ef92d9129886cd9dcb00c497ac4cb (patch)
tree591e4d86400c67055dd20ee0a8e6eb8016555215 /include/exec
parentRISC-V: Update syscall list for 32-bit support. (diff)
downloadqemu-28a4df979a2ef92d9129886cd9dcb00c497ac4cb.tar.gz
qemu-28a4df979a2ef92d9129886cd9dcb00c497ac4cb.tar.xz
qemu-28a4df979a2ef92d9129886cd9dcb00c497ac4cb.zip
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 'include/exec')
0 files changed, 0 insertions, 0 deletions