Re: [RFC PATCH v2 10/35] riscv: Switch over to GENERIC_CPU_DEVICES

From: Jonathan Cameron
Date: Thu Sep 14 2023 - 07:48:33 EST


On Thu, 14 Sep 2023 11:04:27 +0100
"Russell King (Oracle)" <linux@xxxxxxxxxxxxxxx> 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@xxxxxxx>
>
> ... and same concern as the previous patch.
>

Agreed - with that note added, this one looks simple.

Reviewed-by: Jonathan Cameron <Jonathan.Cameron@xxxxxxxxxx>