From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Wallner Date: Wed, 10 Jun 2020 15:27:13 +0200 Subject: [PATCH 12/22] x86: Set the SMP flag when MP init is complete In-Reply-To: <20200522022326.238388-10-sjg@chromium.org> References: <20200522022326.238388-10-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 12/22] x86: Set the SMP flag when MP init is complete > > Set this flag so we can track when it is safe to use CPUs other than the > main one. > > Signed-off-by: Simon Glass > --- > > arch/x86/cpu/mp_init.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/arch/x86/cpu/mp_init.c b/arch/x86/cpu/mp_init.c > index c424f283807..139e9749e74 100644 > --- a/arch/x86/cpu/mp_init.c > +++ b/arch/x86/cpu/mp_init.c > @@ -609,6 +609,7 @@ int mp_init(void) > debug("CPU init failed: err=%d\n", ret); > return ret; > } > + gd->flags |= GD_FLG_SMP_INIT; > > return 0; > } > -- > 2.27.0.rc0.183.gde8f92d652-goog Reviewed-by: Wolfgang Wallner