From nobody Fri Dec 19 20:33:08 2025 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 5282A286883 for ; Tue, 6 May 2025 17:09:38 +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=1746551379; cv=none; b=g71/dhfQ1eCLyi73k0XYgYfYbJq7VlHaa+f1fdEJloQ4iV9ZXZNEEbXpYXfPJEpnA8G+yTJAMuekEFVLjNi++wJtW5RDJble1JBDUT6FduaUk4Lh5ApIiNUOavM4q7sWbavdwPu8WUwDhMxLHk4kJhPvLyk3gipgOg9WQMzmYHg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1746551379; c=relaxed/simple; bh=m1ua2gv6ZUlge2dnQ93gbROLZjd8XU7U5kTj2XLvWwk=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=nbhGnGLXpdkZkszfeUSwblikqjj1xIP3bSM1HSd6hZ9maEdrmuCZHr4uMRh2pKCfewLbHL1QqrwlopjnTn3abeNX/d9Of7xKXj6dFuE4Y2jT73CzbayKWcIKeGo1JxctIYN/r69difQRlSkMcrZagxTevHpwR7B8SbE17DrNdtc= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=MQHgu+p5; 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="MQHgu+p5" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 06B17C4CEE4; Tue, 6 May 2025 17:09:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1746551378; bh=m1ua2gv6ZUlge2dnQ93gbROLZjd8XU7U5kTj2XLvWwk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=MQHgu+p5PED9cj85Ma+nsVJZ/Up0A3uFJjLDZSZiDLy4EE5D7QZ5YklxpNGVqGhYE xVLUDbRkHIbupMq9mMh+PEC+g88bSpYnkeK4vsNSqPCFV+OTdvhWWT4XCbcDMlkjJJ SeY7ejP0F3X3cKf4K3GgfXWMlQkrr3F/MfoVvQdZiXzfCBj2fC4n0c2ANiSsp9ZaVR u9YcdrdlQ8TzGsRnk7zziNudRLVlOSIEiM4gxhNaWV9BisWWbqID2RKEo1D7zr0yvv t29OsNkYD6QgizYvLApsiCxu6JTolj46JS/xIS0NoPbjaU+VkOwp/7OtpZXguTg1L4 bZWfIEtDTKqfw== From: Ingo Molnar To: linux-kernel@vger.kernel.org Cc: "H . Peter Anvin" , Linus Torvalds , Peter Zijlstra , Borislav Petkov , Thomas Gleixner , Vitaly Kuznetsov , Ingo Molnar , Ard Biesheuvel , Arnd Bergmann , David Woodhouse , Masahiro Yamada , Michal Marek Subject: [PATCH 03/15] x86/kconfig: Rename x86_64_defconfig to defconfig.x86_64 and i386_defconfig to defconfig.i386 Date: Tue, 6 May 2025 19:09:12 +0200 Message-ID: <20250506170924.3513161-4-mingo@kernel.org> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20250506170924.3513161-1-mingo@kernel.org> References: <20250506170924.3513161-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: quoted-printable Content-Type: text/plain; charset="utf-8" Editing the defconfigs with shell filename completion is unnecessarily hard due to bad naming: if one remembers 'arch/x86/config/defconfig', it won't lead to the right files, because the defconfigs are prefixed with $(ARCH)_. Under the principle of 'higher order names should go first', prefix them with 'defconfig' and postfix them with .$(ARCH), and thus make all x86 configs match the arch/x86/config/defconfig.* pattern. Signed-off-by: Ingo Molnar Cc: Ard Biesheuvel Cc: Arnd Bergmann Cc: David Woodhouse Cc: H. Peter Anvin Cc: Linus Torvalds Cc: Masahiro Yamada Cc: Michal Marek --- Documentation/admin-guide/verify-bugs-and-bisect-regressions.rst | 2 +- arch/x86/Makefile | 6 +++--- arch/x86/configs/{i386_defconfig =3D> defconfig.i386} | 0 arch/x86/configs/{x86_64_defconfig =3D> defconfig.x86_64} | 0 drivers/gpu/drm/ci/build.yml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Documentation/admin-guide/verify-bugs-and-bisect-regressions.r= st b/Documentation/admin-guide/verify-bugs-and-bisect-regressions.rst index 03c55151346c..bcd2bdf6c076 100644 --- a/Documentation/admin-guide/verify-bugs-and-bisect-regressions.rst +++ b/Documentation/admin-guide/verify-bugs-and-bisect-regressions.rst @@ -426,7 +426,7 @@ machine; if you want to compile the kernel on another s= ystem, check Look out for a line starting with '# using defaults found in'. It should= be followed by a path to a file in '/boot/' that contains the release ident= ifier of your currently working kernel. If the line instead continues with som= ething - like 'arch/x86/configs/x86_64_defconfig', then the build infra failed to= find + like 'arch/x86/configs/defconfig.x86_64', then the build infra failed to= find the .config file for your running kernel -- in which case you have to pu= t one there manually, as explained in the reference section. =20 diff --git a/arch/x86/Makefile b/arch/x86/Makefile index 594723005d95..bae2c7bbb8db 100644 --- a/arch/x86/Makefile +++ b/arch/x86/Makefile @@ -4,12 +4,12 @@ # select defconfig based on actual architecture ifeq ($(ARCH),x86) ifeq ($(shell uname -m | sed -e 's/i.86/i386/'),i386) - KBUILD_DEFCONFIG :=3D i386_defconfig + KBUILD_DEFCONFIG :=3D defconfig.i386 else - KBUILD_DEFCONFIG :=3D x86_64_defconfig + KBUILD_DEFCONFIG :=3D defconfig.x86_64 endif else - KBUILD_DEFCONFIG :=3D $(ARCH)_defconfig + KBUILD_DEFCONFIG :=3D defconfig.$(ARCH) endif =20 ifdef CONFIG_CC_IS_GCC diff --git a/arch/x86/configs/i386_defconfig b/arch/x86/configs/defconfig.i= 386 similarity index 100% rename from arch/x86/configs/i386_defconfig rename to arch/x86/configs/defconfig.i386 diff --git a/arch/x86/configs/x86_64_defconfig b/arch/x86/configs/defconfig= .x86_64 similarity index 100% rename from arch/x86/configs/x86_64_defconfig rename to arch/x86/configs/defconfig.x86_64 diff --git a/drivers/gpu/drm/ci/build.yml b/drivers/gpu/drm/ci/build.yml index 274f118533a7..2e0ce38d73cd 100644 --- a/drivers/gpu/drm/ci/build.yml +++ b/drivers/gpu/drm/ci/build.yml @@ -35,7 +35,7 @@ - .build - .use-debian/x86_64_build variables: - DEFCONFIG: "arch/x86/configs/x86_64_defconfig" + DEFCONFIG: "arch/x86/configs/defconfig.x86_64" KERNEL_IMAGE_NAME: "bzImage" KERNEL_ARCH: "x86_64" =20 --=20 2.45.2