]> www.infradead.org Git - nvme.git/commit
ACPI: RISCV: Add NUMA support based on SRAT and SLIT
authorHaibo Xu <haibo1.xu@intel.com>
Thu, 13 Jun 2024 08:54:33 +0000 (16:54 +0800)
committerPalmer Dabbelt <palmer@rivosinc.com>
Mon, 22 Jul 2024 14:13:06 +0000 (07:13 -0700)
commiteabd9db64ea8ba64d2a0b1d70da38e1a95dcd08b
tree9ec6ab49d13c17dc915b7a6d2e3a6be8edd2fd3a
parent1613e604df0cd359cf2a7fbd9be7a0bcfacfabd0
ACPI: RISCV: Add NUMA support based on SRAT and SLIT

Add acpi_numa.c file to enable parse NUMA information from
ACPI SRAT and SLIT tables. SRAT table provide CPUs(Hart) and
memory nodes to proximity domain mapping, while SLIT table
provide the distance metrics between proximity domains.

Signed-off-by: Haibo Xu <haibo1.xu@intel.com>
Reviewed-by: Sunil V L <sunilvl@ventanamicro.com>
Reviewed-by: Hanjun Guo <guohanjun@huawei.com>
Link: https://lore.kernel.org/r/65dbad1fda08a32922c44886e4581e49b4a2fecc.1718268003.git.haibo1.xu@intel.com
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
arch/riscv/include/asm/acpi.h
arch/riscv/kernel/Makefile
arch/riscv/kernel/acpi.c
arch/riscv/kernel/acpi_numa.c [new file with mode: 0644]
arch/riscv/kernel/setup.c
arch/riscv/kernel/smpboot.c
include/linux/acpi.h