Re: [PATCH 02/21] x86: intel_epb: Don't rely on link order

2023-11-22 Thread Rafael J. Wysocki
On Tue, Nov 21, 2023 at 2:44 PM Russell King wrote: > > From: James Morse > > intel_epb_init() is called as a subsys_initcall() to register cpuhp > callbacks. The callbacks make use of get_cpu_device() which will return > NULL unless register_cpu() has been called. register_cpu() is called > from

[PATCH 02/21] x86: intel_epb: Don't rely on link order

2023-11-21 Thread Oracle
From: James Morse intel_epb_init() is called as a subsys_initcall() to register cpuhp callbacks. The callbacks make use of get_cpu_device() which will return NULL unless register_cpu() has been called. register_cpu() is called from topology_init(), which is also a subsys_initcall(). This is frag