]> git.ipfire.org Git - thirdparty/qemu.git/commit
hw/riscv: Validate cluster and NUMA node boundary
authorGavin Shan <gshan@redhat.com>
Tue, 9 May 2023 00:27:39 +0000 (10:27 +1000)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 26 Jun 2023 08:23:01 +0000 (10:23 +0200)
commit3d9981cde964ea80f9c58072ddbb4df8b5a7183a
treedb3892903663083fcdc6ebf002714f2163316b75
parentfecff672351ace5e39adf7dbcf7a8ee748b201cb
hw/riscv: Validate cluster and NUMA node boundary

There are two RISCV machines where NUMA is aware: 'virt' and 'spike'.
Both of them are required to follow cluster-NUMA-node boundary. To
enable the validation to warn about the irregular configuration where
multiple CPUs in one cluster has been associated with multiple NUMA
nodes.

Signed-off-by: Gavin Shan <gshan@redhat.com>
Reviewed-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com>
Acked-by: Igor Mammedov <imammedo@redhat.com>
Acked-by: Alistair Francis <alistair.francis@wdc.com>
Message-Id: <20230509002739.18388-4-gshan@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/riscv/spike.c
hw/riscv/virt.c