Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755540AbcLAKLG (ORCPT ); Thu, 1 Dec 2016 05:11:06 -0500 Received: from Galois.linutronix.de ([146.0.238.70]:56849 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750789AbcLAKLD (ORCPT ); Thu, 1 Dec 2016 05:11:03 -0500 Date: Thu, 1 Dec 2016 11:07:21 +0100 (CET) From: Thomas Gleixner To: Borislav Petkov cc: Peter Zijlstra , Andy Lutomirski , x86@kernel.org, One Thousand Gnomes , "linux-kernel@vger.kernel.org" , Brian Gerst , Matthew Whitehead , Henrique de Moraes Holschuh , Denys Vlasenko , "H . Peter Anvin" , Josh Poimboeuf , Linus Torvalds Subject: Re: [PATCH 2/4] Revert "x86/boot: Fail the boot if !M486 and CPUID is missing" In-Reply-To: <20161201090211.nrlyjt5uklcva3pd@pd.tnic> Message-ID: References: <56690623af05784f41a4efbe1b25b1e2c43fdefb.1480536936.git.luto@kernel.org> <20161201055350.GH3092@twins.programming.kicks-ass.net> <20161201090211.nrlyjt5uklcva3pd@pd.tnic> User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 797 Lines: 21 On Thu, 1 Dec 2016, Borislav Petkov wrote: > On Thu, Dec 01, 2016 at 06:53:50AM +0100, Peter Zijlstra wrote: > > On Wed, Nov 30, 2016 at 12:34:53PM -0800, Andy Lutomirski wrote: > > > This reverts commit ed68d7e9b9cfb64f3045ffbcb108df03c09a0f98. > > > > > > The patch wasn't quite correct -- there are non-Intel (and hence > > > non-486) CPUs that we support that don't have CPUID. Since we no > > > longer require CPUID for sync_core(), just revert the patch. > > > > Might be useful to enumerate which special parts these are. > > Right, and since we test for CPUID support at early boot, I think we > should use the X86_FEATURE_CPUID aspect from what I proposed earlier: > > https://lkml.kernel.org/r/20161120111917.pw3alolx4fksfwbv@pd.tnic Yes, that makes a lot of sense. Thanks, tglx