[RFC PATCH v2 10/35] riscv: Switch over to GENERIC_CPU_DEVICES
Jonathan Cameron
Jonathan.Cameron at Huawei.com
Thu Sep 14 04:48:25 PDT 2023
On Thu, 14 Sep 2023 11:04:27 +0100
"Russell King (Oracle)" <linux at armlinux.org.uk> wrote:
> On Wed, Sep 13, 2023 at 04:37:58PM +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>
>
> ... and same concern as the previous patch.
>
Agreed - with that note added, this one looks simple.
Reviewed-by: Jonathan Cameron <Jonathan.Cameron at huawei.com>
More information about the linux-riscv
mailing list