Received: by 2002:a05:7412:5112:b0:fa:6e18:a558 with SMTP id fm18csp482865rdb; Tue, 23 Jan 2024 05:52:05 -0800 (PST) X-Google-Smtp-Source: AGHT+IGl13DrhP+uXJ0whqHWCESeRSMvXwG2GihP+T68lbgOboJf5EbglrVNxJ3dECD6dXJ8kTFb X-Received: by 2002:a17:90a:88b:b0:290:a33c:e6d2 with SMTP id v11-20020a17090a088b00b00290a33ce6d2mr3297738pjc.49.1706017925486; Tue, 23 Jan 2024 05:52:05 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706017925; cv=pass; d=google.com; s=arc-20160816; b=gTjXlQSfSVGTAC7ym4SsbrzClrTAYhza50FG2/3UFa7pT+45V60MknQyoG4PB46FW1 l3ZJMzkS+3Fy6EGdrrq/6SgZ96HvmQOT7DFaZAh8F5zu/BnNzC/WIw8eSEK5cw87E9Cj cTjpmhAijxeyyouKgnrMJBS2d1x8nUc41IBOzry1vOyrVlKHXtTcEnSb1PqRC24smI6n gje0ZjKjAlO5V3ZjvX9L2kQiqaDd68cBB+9hfautNQNPXB+1LaU/VrgdymD26TTJrjGT 3oh0R1jqV5zQ10h6urAcxh4+Re4h9rc+4ZVbTiO3VSfOBroRgC/N5dEXLdixPXNZRh/p bdpg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=SGKrS9LRKzEP5X+pGg5+m7DPAJetrgd1g3M8vKpTTPo=; fh=30CIWmd5yz3/UCgYwi5S/jz2F0/Gm24LA7YrDg9T4YE=; b=fpsG7fpN8kMV7T9AdwHn/FCsobhF/ULA3Z14bKOshtxGSqRCbllqWynEcI3lnl/Rit wXDSsDOd9Qcy4q87NcFngCDx5VMpzixMbTb4n62PQtLThxrXLEnUtXMDepU1RACBCp6Z CWuN/8mBdmWTvMgTd1qDbEGZ7C71GOxv+SLe+EDHiD7lfWJzy8TXpu2a3ffslDmSX2Qx UbAigw2/pPYAUw/22sOgsAdjZbBr3DjIiDHefXnbUTTL7D8kbcSD4etzIfMy326yR6Tc QXNpvbzeUthFl8QNAbpnb8ktSwoQkwCJEx/lbZr1n+dnLt9K/ojzLFHP79IdJqI0WhvF /Yvg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass (test mode) header.i=@wp.pl header.s=1024a header.b=J7dIHlxu; arc=pass (i=1 spf=pass spfdomain=wp.pl dkim=pass dkdomain=wp.pl dmarc=pass fromdomain=wp.pl); spf=pass (google.com: domain of linux-kernel+bounces-35398-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-35398-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=wp.pl Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id r68-20020a632b47000000b005cd8938b10csi9827744pgr.631.2024.01.23.05.52.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Jan 2024 05:52:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-35398-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass (test mode) header.i=@wp.pl header.s=1024a header.b=J7dIHlxu; arc=pass (i=1 spf=pass spfdomain=wp.pl dkim=pass dkdomain=wp.pl dmarc=pass fromdomain=wp.pl); spf=pass (google.com: domain of linux-kernel+bounces-35398-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-35398-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=wp.pl Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id D85D82861BB for ; Tue, 23 Jan 2024 13:44:24 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 51F555F550; Tue, 23 Jan 2024 13:44:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=wp.pl header.i=@wp.pl header.b="J7dIHlxu" Received: from mx4.wp.pl (mx4.wp.pl [212.77.101.11]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 801DF5F542 for ; Tue, 23 Jan 2024 13:44:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=212.77.101.11 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706017451; cv=none; b=lJtt2NgsJ3983NQk0ocuU5eePrO9z7kqYoJZteiOh6WBWBQhBnKbKHqAG8/fWMHm3iLfilv5dQiOFS0uPaVSFhxWd6un4P8/mCxnzJeSmi9IdC/2gWBhWtUY0TBrHrJnshwuaWQRVPh12Mm739RV/CD/lMWJcNAI4v21DDhvwyI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706017451; c=relaxed/simple; bh=ExZ4NFkkuHvqMfw5R0w3oCp++semdFNY6lhfSzlIdsA=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=o9vHqSiLjKsLbZ21V2/L3BIljkFCLnyB9J7oUz0Oy+lrxfYUdkV4vlmcG5PB9tMSjc3RKICmlBMb5lq6XwZgDEvZsyE9u80+6HUmpXu7KmpX1gCXE1BqoLct/2pkk1X3SSwU0sxaUkhs3Xy5OsqQ/WBtQIwAoBdeGPK3lPqi90M= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=wp.pl; spf=pass smtp.mailfrom=wp.pl; dkim=pass (1024-bit key) header.d=wp.pl header.i=@wp.pl header.b=J7dIHlxu; arc=none smtp.client-ip=212.77.101.11 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=wp.pl Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=wp.pl Received: (wp-smtpd smtp.wp.pl 29372 invoked from network); 23 Jan 2024 14:44:02 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wp.pl; s=1024a; t=1706017442; bh=SGKrS9LRKzEP5X+pGg5+m7DPAJetrgd1g3M8vKpTTPo=; h=From:To:Cc:Subject; b=J7dIHlxupngsXkpVgRurup3wTR0762+POm9PoYVX2g1qiT1DVCtwqNhYp1KRGnSCO HaBqpwFGbTauYAtmEf6WjE+SiX5lKaT9+NDUSAugiifgVkcTV5OylMH3aTU7b4dPXm HvgP5NiIH0WcDD3nSEfUkNpJU6RbizhYOrm5do1k= Received: from public-gprs378234.centertel.pl (HELO localhost.localdomain) (deweloper@wp.pl@[37.47.108.187]) (envelope-sender ) by smtp.wp.pl (WP-SMTPD) with ECDHE-RSA-AES256-GCM-SHA384 encrypted SMTP for ; 23 Jan 2024 14:44:02 +0100 From: Aleksander Mazur To: Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , x86@kernel.org, "H. Peter Anvin" , Matthew Whitehead Cc: Aleksander Mazur , Ingo Molnar , linux-kernel@vger.kernel.org Subject: [PATCH] x86/Kconfig: Transmeta Crusoe is cpu family 5, not 6 Date: Tue, 23 Jan 2024 14:43:00 +0100 Message-ID: <20240123134309.1117782-1-deweloper@wp.pl> X-Mailer: git-send-email 2.43.0 In-Reply-To: <30A7BB83-E44A-4082-B5DE-AB9FBF0AB555@zytor.com> References: <30A7BB83-E44A-4082-B5DE-AB9FBF0AB555@zytor.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-WP-MailID: 8f61489bb4525c394e16f739b86cdb1f X-WP-AV: skaner antywirusowy Poczty Wirtualnej Polski X-WP-SPAM: NO 0000000 [McPU] The kernel built with MCRUSOE is unbootable on Transmeta Crusoe. It shows following error message: > This kernel requires an i686 CPU, but only detected an i586 CPU. > Unable to boot - please use a kernel appropriate for your CPU. Fix this by removing MCRUSOE from condition introduced in 25d76ac88821, effectively changing X86_MINIMUM_CPU_FAMILY back to 5, what matches CPU family given by CPUID. Tested on HP t5300. Fixes: 25d76ac88821 ("x86/Kconfig: Explicitly enumerate i686-class CPUs in Kconfig") Acked-by: H. Peter Anvin Signed-off-by: Aleksander Mazur --- arch/x86/Kconfig.cpu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/Kconfig.cpu b/arch/x86/Kconfig.cpu index b9224cf2ee4d..2a7279d80460 100644 --- a/arch/x86/Kconfig.cpu +++ b/arch/x86/Kconfig.cpu @@ -379,7 +379,7 @@ config X86_CMOV config X86_MINIMUM_CPU_FAMILY int default "64" if X86_64 - default "6" if X86_32 && (MPENTIUM4 || MPENTIUMM || MPENTIUMIII || MPENTIUMII || M686 || MVIAC3_2 || MVIAC7 || MEFFICEON || MATOM || MCRUSOE || MCORE2 || MK7 || MK8) + default "6" if X86_32 && (MPENTIUM4 || MPENTIUMM || MPENTIUMIII || MPENTIUMII || M686 || MVIAC3_2 || MVIAC7 || MEFFICEON || MATOM || MCORE2 || MK7 || MK8) default "5" if X86_32 && X86_CMPXCHG64 default "4" -- 2.43.0