From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mx2.suse.de ([195.135.220.15]) by Galois.linutronix.de with esmtps (TLS1.0:DHE_RSA_CAMELLIA_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1f9Gop-0001tP-Oi for speck@linutronix.de; Thu, 19 Apr 2018 23:10:16 +0200 Received: from relay2.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 89E8FAFF2 for ; Thu, 19 Apr 2018 21:10:09 +0000 (UTC) Date: Thu, 19 Apr 2018 23:10:03 +0200 From: Borislav Petkov Subject: [MODERATED] Re: [patch 3/8] [PATCH v1.3.1 3/7] Linux Patch 3 Message-ID: <20180419211003.GE3905@pd.tnic> References: <20180418141551.07CBB6111A@crypto-ml.lab.linutronix.de> <20180418153712.GD4290@pd.tnic> <20180419205132.GA18190@localhost.localdomain> MIME-Version: 1.0 In-Reply-To: <20180419205132.GA18190@localhost.localdomain> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable To: speck@linutronix.de List-ID: On Thu, Apr 19, 2018 at 04:51:37PM -0400, speck for Konrad Rzeszutek Wilk wro= te: > That won't work. The reason is that check_bugs first calls > identify_boot_cpu() which calls identify_cpu() which calls > this_cpu->init. Once identify_boot_cpu() is done _then_ it walks > through the spectre_v2_select_mitigation() and ssb_select_mitigation(). So call md_select_mitigation() before identify_boot_cpu() in check_bugs(). --=20 Regards/Gruss, Boris. SUSE Linux GmbH, GF: Felix Imend=C3=B6rffer, Jane Smithard, Graham Norton, HR= B 21284 (AG N=C3=BCrnberg) --=20