Re: [PATCH v3 1/1] arch_topology: move parse_acpi_topology() to common code

From: Will Deacon

Date: Fri Sep 19 2025 - 07:43:12 EST


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@xxxxxxxxxxxxx>
> ---
> 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