From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 BEEF52C0F6F for ; Sun, 14 Dec 2025 08:47:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765702054; cv=none; b=OklyeJBecCMOaV9TsI5sShS3BKMFwCNW20hMfLxPGA8OUePoDsuBnvltg2XXZfCwC01n/x2pfEYy5l7MIHb51en0OYV7TyzBFnddmz8uWTrzH/GgSp9QtITosGKk8KvDVLheX+0zsqO1eevj3GgO9iTws4DS+bRFDYCyez4N6JQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765702054; c=relaxed/simple; bh=Yxcqd/8Iy/c0IwRbURmFtnuIvQluWCQGhw4JkcUyjeE=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=hFb5MMRCnPkYgV6cS+xDWmQpRIVE+CxnF1Gkth4CBAxhA1OvesC6HjkPQZIs3pUsgRIyJaJam5Nv+BPYftuqQFE2Darz+QaqkGlhFNlCf4l2FISI8dNz6aAa1EXhH74GwIQRC3thM0U3wLSEHbaKpkHpEZbIVi4ZmuUwvwWVNY0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=V1g7R6oC; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="V1g7R6oC" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3511DC16AAE; Sun, 14 Dec 2025 08:47:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1765702054; bh=Yxcqd/8Iy/c0IwRbURmFtnuIvQluWCQGhw4JkcUyjeE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=V1g7R6oChvjm9Y5DS5YNqTo8Zd9j018jDltfyaGHaixRm94CGHAfAJnHo+m0H+2Hm E5f/oHAB8R0ieZR3Dg6bq7Z76qPy3dYRWe1VC+s8TXIUBYFWCHh3SqLzVCd1KylMh2 iSQNHocLDK1zH1Se6psa0jrtcRD8NHi0BGqsmYu8PLozML1x87Jt4HosdpSFPtKxTw zEl2SNZDl5H19g/39RdnlEWo/AoWhrRIw4YLnJnlTtmrpAG4+ZgjkdUsomWZmTuNR5 U6yY/jAvjs6c06eX7GwwPGKOwgrliKVY/zgv/o8g23/AVxHLXpx+2jr8ZJVHOhSOgL ISbXpPnVyFQ0w== From: Ingo Molnar To: linux-kernel@vger.kernel.org Cc: Ingo Molnar , "Ahmed S . Darwish" , Andrew Cooper , Ard Biesheuvel , Arnd Bergmann , Borislav Petkov , Dave Hansen , "H . Peter Anvin" , John Ogness , Linus Torvalds , Peter Zijlstra , Thomas Gleixner , Arnd Bergmann Subject: [PATCH 03/15] x86/cpu: Remove CPU_SUP_UMC_32 support Date: Sun, 14 Dec 2025 09:46:51 +0100 Message-ID: <20251214084710.3606385-4-mingo@kernel.org> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20251214084710.3606385-1-mingo@kernel.org> References: <20251214084710.3606385-1-mingo@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit These are 486 based CPUs. Signed-off-by: Ingo Molnar Reviewed-by: Arnd Bergmann Acked-by: Dave Hansen Cc: Ahmed S . Darwish Cc: Andrew Cooper Cc: Ard Biesheuvel Cc: H . Peter Anvin Cc: John Ogness Cc: Linus Torvalds Cc: Peter Zijlstra Link: https://lore.kernel.org/r/20250425084216.3913608-4-mingo@kernel.org --- arch/x86/Kconfig.cpu | 14 -------------- arch/x86/kernel/cpu/umc.c | 26 -------------------------- 2 files changed, 40 deletions(-) diff --git a/arch/x86/Kconfig.cpu b/arch/x86/Kconfig.cpu index c80bb16abeb4..ac53e422f423 100644 --- a/arch/x86/Kconfig.cpu +++ b/arch/x86/Kconfig.cpu @@ -399,20 +399,6 @@ config CPU_SUP_TRANSMETA_32 If unsure, say N. -config CPU_SUP_UMC_32 - default y - bool "Support UMC processors" if PROCESSOR_SELECT - depends on M486SX || M486 || (EXPERT && !64BIT) - help - This enables detection, tunings and quirks for UMC processors - - You need this enabled if you want your kernel to run on a - UMC CPU. Disabling this option on other types of CPUs - makes the kernel a tiny bit smaller. Disabling it on a UMC - CPU might render the kernel unbootable. - - If unsure, say N. - config CPU_SUP_ZHAOXIN default y bool "Support Zhaoxin processors" if PROCESSOR_SELECT diff --git a/arch/x86/kernel/cpu/umc.c b/arch/x86/kernel/cpu/umc.c deleted file mode 100644 index 65a58a390fc3..000000000000 --- a/arch/x86/kernel/cpu/umc.c +++ /dev/null @@ -1,26 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0 -#include -#include -#include "cpu.h" - -/* - * UMC chips appear to be only either 386 or 486, - * so no special init takes place. - */ - -static const struct cpu_dev umc_cpu_dev = { - .c_vendor = "UMC", - .c_ident = { "UMC UMC UMC" }, - .legacy_models = { - { .family = 4, .model_names = - { - [1] = "U5D", - [2] = "U5S", - } - }, - }, - .c_x86_vendor = X86_VENDOR_UMC, -}; - -cpu_dev_register(umc_cpu_dev); - -- 2.51.0