Re: [PATCH v2 07/25] x86: mp_init: Set up the CPU numbers at the start

2020-06-27 Thread Bin Meng
On Mon, Jun 15, 2020 at 1:00 AM Simon Glass wrote: > > At present each CPU is given a number when it starts itself up. While this > saves a tiny amount of time by doing the device-tree read in parallel, it > is confusing that the numbering happens on the fly. > > Move this code into mp_init() and

[PATCH v2 07/25] x86: mp_init: Set up the CPU numbers at the start

2020-06-14 Thread Simon Glass
At present each CPU is given a number when it starts itself up. While this saves a tiny amount of time by doing the device-tree read in parallel, it is confusing that the numbering happens on the fly. Move this code into mp_init() and do it at the start. Signed-off-by: Simon Glass Reviewed-by: W