From nobody Sun Feb 8 17:03:34 2026 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 3D7792D662F for ; Sun, 28 Dec 2025 23:27:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.137.202.133 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766964458; cv=none; b=hCpxQatOeOpHZra51jPkH07JswvZCXK+B99ZEDr8Y2ZDtZrAnnY//hzsoGzz8OIdAp/O18IAQoIJfk+KS7Ym9SQngEBhaDhAUuZfmWMSzPagfS/ptLsd+soFN6GjDWhtZihPKAJmE0O5RJnx/uhT3LRVUxutMQsBbfe2Ci6SX/g= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766964458; c=relaxed/simple; bh=bu2ryQNlzTAAZfk2paZdFoyNxNWfOK9+dYIQybO/9L8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=tcPWz1PfW/oKzraN9CHz8b2DPDNkbdsM15nNKxIGA+08cfHpUCAZgLzbYzHF5kfXZPxCjhC2TEDzrTUfmFCvebKVcsGe3i0H3Ix5/+ODl698IiwClFqD2L8I2U2Ad8shjGGxuYEnYn8YjAYhuS8f8MVNuvMOpUrsjCmcQLOBm/M= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=infradead.org; spf=none smtp.mailfrom=infradead.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b=ZqH64DvW; arc=none smtp.client-ip=198.137.202.133 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=infradead.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=infradead.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="ZqH64DvW" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:In-Reply-To:References; bh=p/nvVdsjWGWg6yfbmosJmmrnn0SPkVZqDykMMywhOK8=; b=ZqH64DvW96AdZM+Y2jmgAE/rRh K2o7Z/Hbg+gVDqp/FrP5DfZPB2Wwgex426vJXZ6sqj/EsUQX0smorztrlpQX0FWhLHMYnIhNIeQhm +/1khfDOMtHSUp1gOk7FgTL4yJxisMYRNz3Qfos3e3m/UbpTD2hvHxRJ0WJhFVHehoH1W6WR5Y5pE oTqnOoeGh/fevY6s2t/c3bfvEpXOz4QgRpyM9BgWi9GdxV7CTU6+FxDjo50tZtOqhKpUXsE5uA2ea Q1nw4Bd1Flt4P/wHCp+jCVO8tLQvszPgnuARh8W0U9dhBvEAjX8G5DTlOTVgrvtkgl9jvBkIQUfcV sOgykmQQ==; Received: from [50.53.43.113] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.98.2 #2 (Red Hat Linux)) id 1va0Af-000000036MB-2dHh; Sun, 28 Dec 2025 23:27:33 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , Arnd Bergmann , Ingo Molnar , Thomas Gleixner , Borislav Petkov , Dave Hansen , x86@kernel.org Subject: [PATCH] x86/cpu: drop unused Kconfig symbol X86_P6_NOP Date: Sun, 28 Dec 2025 15:27:32 -0800 Message-ID: <20251228232732.2636507-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.52.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" This symbol was removed in early 2025 but 2 dangling references to it were missed. Delete them now. Fixes: f388f60ca904 ("x86/cpu: Drop configuration options for early 64-bit = CPUs") Signed-off-by: Randy Dunlap Reviewed-by: Nikolay Borisov --- Cc: Arnd Bergmann Cc: Ingo Molnar Cc: Thomas Gleixner Cc: Borislav Petkov Cc: Dave Hansen Cc: x86@kernel.org arch/x86/Kconfig.cpufeatures | 2 +- arch/x86/Makefile_32.cpu | 6 ------ 2 files changed, 1 insertion(+), 7 deletions(-) --- linux-next-20251219.orig/arch/x86/Kconfig.cpufeatures +++ linux-next-20251219/arch/x86/Kconfig.cpufeatures @@ -38,7 +38,7 @@ config X86_REQUIRED_FEATURE_ALWAYS =20 config X86_REQUIRED_FEATURE_NOPL def_bool y - depends on X86_64 || X86_P6_NOP + depends on X86_64 =20 config X86_REQUIRED_FEATURE_CX8 def_bool y --- linux-next-20251219.orig/arch/x86/Makefile_32.cpu +++ linux-next-20251219/arch/x86/Makefile_32.cpu @@ -42,9 +42,3 @@ cflags-$(CONFIG_MGEODE_LX) +=3D $(call cc- # add at the end to overwrite eventual tuning options from earlier # cpu entries cflags-$(CONFIG_X86_GENERIC) +=3D $(call tune,generic,$(call tune,i686)) - -# Bug fix for binutils: this option is required in order to keep -# binutils from generating NOPL instructions against our will. -ifneq ($(CONFIG_X86_P6_NOP),y) -cflags-y +=3D $(call cc-option,-Wa$(comma)-mtune=3Dgeneric32,) -endif