]> git.ipfire.org Git - thirdparty/linux.git/commit
arch_topology: move parse_acpi_topology() to common code
authorYunhui Cui <cuiyunhui@bytedance.com>
Tue, 23 Sep 2025 01:54:09 +0000 (09:54 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 22 Oct 2025 06:10:57 +0000 (08:10 +0200)
commit6d0ef68955d30be1e218caf160ec32eec23ebc6e
tree1add07955881698debd04143db1deb089142bb2a
parentcebd22dd3a0ac76e0e1f2f369bba710bc6b1dc66
arch_topology: move parse_acpi_topology() to common code

Currently, RISC-V lacks arch-specific registers for CPU topology
properties and must get them from ACPI. Thus, parse_acpi_topology()
is moved from arm64/ to drivers/ for RISC-V reuse.

Signed-off-by: Yunhui Cui <cuiyunhui@bytedance.com>
Reviewed-by: Sudeep Holla <sudeep.holla@arm.com>
Link: https://patch.msgid.link/20250923015409.15983-2-cuiyunhui@bytedance.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm64/include/asm/topology.h
arch/arm64/kernel/topology.c
drivers/base/arch_topology.c
include/linux/arch_topology.h