Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756863AbcK3NTK (ORCPT ); Wed, 30 Nov 2016 08:19:10 -0500 Received: from lxorguk.ukuu.org.uk ([81.2.110.251]:56752 "EHLO lxorguk.ukuu.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755449AbcK3NTC (ORCPT ); Wed, 30 Nov 2016 08:19:02 -0500 Date: Wed, 30 Nov 2016 13:18:12 +0000 From: One Thousand Gnomes To: Andy Lutomirski Cc: x86@kernel.org, Borislav Petkov , linux-kernel@vger.kernel.org, Brian Gerst , Matthew Whitehead Subject: Re: [PATCH] x86/boot: Fail the boot if !M486 and CPUID is missing Message-ID: <20161130131812.5a99e3ac@lxorguk.ukuu.org.uk> In-Reply-To: <70eac6639f23df8be5fe03fa1984aedd5d40077a.1479598603.git.luto@kernel.org> References: <70eac6639f23df8be5fe03fa1984aedd5d40077a.1479598603.git.luto@kernel.org> Organization: Intel Corporation X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.31; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 807 Lines: 24 > Rather than trying to work around these issues, just have the kernel > fail loudly if it's running on a CPUID-less 486, doesn't have CPUID, > and doesn't have CONFIG_M486 set. NAK This still breaks the Geode at the very least and I think the ELAN and some of the other older socket 7 devices. These have their own config CPU type (and in some cases *need* it selected) but do not have CPUID. Given the cores without CPUID are often post 486 in other respects this seems a bit odd. In fact I can't help thinking that the problem is that sync_core tests CONFIG_M486 whereas we should have and test HAVE_CPUID and set this by processor type (M586/M486/GEODEGX1/GEODE_LX1/Cyrix plus I think ELAN not having it) I'd been wondering why Geode wasn't working on modern kernels, now I think I know 8) Alan