]> git.ipfire.org Git - thirdparty/qemu.git/commit
hw/riscv: Add helpers for RISC-V multi-socket NUMA machines
authorAnup Patel <anup.patel@wdc.com>
Fri, 29 May 2020 07:56:22 +0000 (13:26 +0530)
committerAlistair Francis <alistair.francis@wdc.com>
Tue, 25 Aug 2020 16:11:35 +0000 (09:11 -0700)
commit83fcaefd9d52670d71e1705b13d3df02d8ee4566
treeba8abf5815450bf4eeb6ae7d77bc7e82a3f62f10
parentc9270e10a5e3aa18a55bb5c115ae7838c8c43e41
hw/riscv: Add helpers for RISC-V multi-socket NUMA machines

We add common helper routines which can be shared by RISC-V
multi-socket NUMA machines.

We have two types of helpers:
1. riscv_socket_xyz() - These helper assist managing multiple
   sockets irrespective whether QEMU NUMA is enabled/disabled
2. riscv_numa_xyz() - These helpers assist in providing
   necessary QEMU machine callbacks for QEMU NUMA emulation

Signed-off-by: Anup Patel <anup.patel@wdc.com>
Reviewed-by: Atish Patra <atish.patra@wdc.com>
Message-Id: <20200616032229.766089-4-anup.patel@wdc.com>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
hw/riscv/meson.build
hw/riscv/numa.c [new file with mode: 0644]
include/hw/riscv/numa.h [new file with mode: 0644]