[RFC PATCH v2 09/35] LoongArch: Switch over to GENERIC_CPU_DEVICES

Russell King (Oracle) linux at armlinux.org.uk
Thu Sep 14 03:03:51 PDT 2023


On Wed, Sep 13, 2023 at 04:37:57PM +0000, James Morse wrote:
> Now that GENERIC_CPU_DEVICES calls arch_register_cpu(), which can be
> overridden by the arch code, switch over to this to allow common code
> to choose when the register_cpu() call is made.
> 
> This allows topology_init() to be removed.
> 
> This is an intermediate step to the logic being moved to drivers/acpi,
> where GENERIC_CPU_DEVICES will do the work when booting with acpi=off.
> 
> Signed-off-by: James Morse <james.morse at arm.com>

Same comment as x86 (moving the point at which cpus are registered
ought to be mentioned in the commit message.)

-- 
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!



More information about the linux-riscv mailing list