| Date | Thu, 14 Sep 2023 11:01:21 +0100 | From | "Russell King (Oracle)" <> | Subject | Re: [RFC PATCH v2 08/35] x86/topology: Switch over to GENERIC_CPU_DEVICES |
| |
On Wed, Sep 13, 2023 at 04:37:56PM +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. > > x86's struct cpus come from struct x86_cpu, which has no other members > or users. Remove this and use the version defined by common code. > > 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.
I think it should also be noted that this moves the registration of CPUs from subsys to driver core initialisation (before any other initcalls are run.)
-- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!
|