[PATCH v3 1/1] arch_topology: move parse_acpi_topology() to common code
Will Deacon
will at kernel.org
Fri Sep 19 04:43:07 PDT 2025
On Fri, Sep 19, 2025 at 04:59:18PM +0800, Yunhui Cui wrote:
> 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 at bytedance.com>
> ---
> arch/arm64/kernel/topology.c | 87 +---------------------------------
> drivers/base/arch_topology.c | 89 ++++++++++++++++++++++++++++++++++-
> include/linux/arch_topology.h | 1 +
> 3 files changed, 90 insertions(+), 87 deletions(-)
I'm fine with shedding code from arch/arm64/ but this needs an Ack
from Sudeep.
Will
More information about the linux-arm-kernel
mailing list