Re: [patch V4 10/37] x86/smpboot: Get rid of cpu_init_secondary()

2023-06-12 Thread Philippe Mathieu-Daudé
On 12/5/23 23:07, Thomas Gleixner wrote: From: Thomas Gleixner The synchronization of the AP with the control CPU is a SMP boot problem and has nothing to do with cpu_init(). Open code cpu_init_secondary() in start_secondary() and move wait_for_master_cpu() into the SMP boot code. No

[patch V4 10/37] x86/smpboot: Get rid of cpu_init_secondary()

2023-05-12 Thread Thomas Gleixner
From: Thomas Gleixner The synchronization of the AP with the control CPU is a SMP boot problem and has nothing to do with cpu_init(). Open code cpu_init_secondary() in start_secondary() and move wait_for_master_cpu() into the SMP boot code. No functional change. Signed-off-by: Thomas Gleixner