From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Wallner Date: Wed, 10 Jun 2020 15:26:15 +0200 Subject: [PATCH 07/22] x86: mp_init: Set up the CPU numbers at the start In-Reply-To: <20200522022326.238388-7-sjg@chromium.org> References: <20200522022326.238388-7-sjg@chromium.org> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Simon, -----"Simon Glass" schrieb: ----- > Betreff: [PATCH 07/22] x86: mp_init: Set up the CPU numbers at the start > > 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 > --- > > arch/x86/cpu/mp_init.c | 21 +++++++++------------ > 1 file changed, 9 insertions(+), 12 deletions(-) > Reviewed-by: Wolfgang Wallner