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

2023-11-28 Thread Russell King (Oracle)
On Tue, Nov 28, 2023 at 02:40:59PM +, Jonathan Cameron wrote: > On Tue, 07 Nov 2023 10:29:28 + > 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 r

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

2023-11-12 Thread Gavin Shan
On 11/7/23 20:29, Russell King (Oracle) 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 topology_init(),