From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 7E75EFD8765 for ; Tue, 17 Mar 2026 13:06:01 +0000 (UTC) Received: from boromir.ozlabs.org (localhost [127.0.0.1]) by lists.ozlabs.org (Postfix) with ESMTP id 4fZsdz2xgqz2yh4; Wed, 18 Mar 2026 00:05:59 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; arc=none smtp.remote-ip=172.105.4.254 ARC-Seal: i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707; t=1773738921; cv=none; b=Krb9XmotQoCQbyuwuD/VWv2IuwtKAx8xvauLrnVguJ82Hw0L7ebMunffHEWNZDrDk/nR7YElIjneU+o8NMClbRXwhD8Hh7ye+xiJWyp+xtm05uAHH0k3GZL5grDVnt79UqORN0XsmoFbYXQDgHnS51AgME0ZqTGBfPrgYvmSMY+m/S/aQXZ4jfZbjjXMxvzxvxXxr6y85SZJ9g9n+dioKviDBibNraaw314PjS4NN/XwXtJTk2ERY6K0Mec4N+rLmEzercvXAFmdC2ldS7MoLGrV9Qvg8EEPfoD/6hwlMQlGBgdn6FkqStX7YqFraEvyFw3CH5q67xm6omAjPCb4Tg== ARC-Message-Signature: i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707; t=1773738921; c=relaxed/relaxed; bh=5TTu6YSSYlrmYDTJoqN935e6Ph+m0FLpfn7cFak/K4o=; h=From:Subject:Date:Message-Id:MIME-Version:Content-Type:To:Cc; b=VlrWLp8nteFtJnvUk29Kwc2gqzAi9w1eOwTxqkUxR9YgOPUaV2i808SK6+EgNDOh4LJfXCB01ZuJ4qHpuJyprOQUNXYrcPF81c9EWnV9Z7z9YypufMAI6bIMOLXyXpCJ/lMEN/p5JlxXWD3nAbpURFIIrz8jbSsfgjhwPvwRJ6bAT0DW5SgE8j1oG+D88ZD9tu4Nyxl57HDiEuL95gHLRKU03YoiEBgNzEyQhN3CIyERfBoNh8kJ/EnchLmAmBQNqEUzfIRa61zEdy/Onhjbh0t7UdYa8hQCEfHMc++Kpil8wOzi/cikI92dcnot3TwySwkb8oRG5fALcLh3YapICA== ARC-Authentication-Results: i=1; lists.ozlabs.org; dmarc=pass (p=quarantine dis=none) header.from=kernel.org; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20201202 header.b=VQ4BnuZz; dkim-atps=neutral; spf=pass (client-ip=172.105.4.254; helo=tor.source.kernel.org; envelope-from=mailhol@kernel.org; receiver=lists.ozlabs.org) smtp.mailfrom=kernel.org Authentication-Results: lists.ozlabs.org; dmarc=pass (p=quarantine dis=none) header.from=kernel.org Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20201202 header.b=VQ4BnuZz; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=kernel.org (client-ip=172.105.4.254; helo=tor.source.kernel.org; envelope-from=mailhol@kernel.org; receiver=lists.ozlabs.org) Received: from tor.source.kernel.org (tor.source.kernel.org [172.105.4.254]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4fZmWr2YBFz2yfP; Tue, 17 Mar 2026 20:15:20 +1100 (AEDT) Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by tor.source.kernel.org (Postfix) with ESMTP id CCBA760103; Tue, 17 Mar 2026 09:15:16 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 19933C19425; Tue, 17 Mar 2026 09:14:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1773738916; bh=QU6cedlzf40aFEFMHAi3oFEJtwf/R3OvK72FIzwtc/c=; h=From:Subject:Date:To:Cc:From; b=VQ4BnuZzjGlyHuYCbl/mEKd7zh11jNZHM6YOmeZHshjwK7wAidut5bW59fUtAEXsF LPrDV/0BkMPGm+OJixWV70wz76CjI7ChsKDFhgNC2W34z47FQe0lHP3u0iv7QCx6TM h+pw5pDiAHiX9uP7B2DDiXpzrT6KYsbPR7UCv0w1HuTX65DzWGjkfmOONp++HBzeoI W35XeW99LW6pqjsde/3KUhI6qN9+5JT/76M2rqzs0qozQfuchLSotd/EnU+b43RHXh QYMfZORHioe+ZjSW10OOkakkBEnXg9s7kH9nnBEvUCCjLwnJvrcNHqItv+HuXbE3Da wb4xOWrkkkXlg== From: "Vincent Mailhol (Arm)" Subject: [PATCH 0/9] configs: cleanup obsolete or incorrect assignments Date: Tue, 17 Mar 2026 10:13:36 +0100 Message-Id: <20260317-arm_defconf_cleanup-v1-0-8eecb7fdd24d@kernel.org> X-Mailing-List: linuxppc-dev@lists.ozlabs.org List-Id: List-Help: List-Owner: List-Post: List-Archive: , List-Subscribe: , , List-Unsubscribe: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAEAbuWkC/x3MTQqAIBBA4avErBPUor+rRIjpWANloRSBdPek5 bd4L0HEQBhhKBIEvCnS4TNEWYBZtV+Qkc0GyWXDKyGZDruy6MzhnTIban+dzFjRunrWfddbyOU Z0NHzX8fpfT8esQDDZQAAAA== To: Nathan Chancellor , Nicolas Schier , Mikko Rapeli , Richard Henderson , Matt Turner , Magnus Lindholm , Russell King , Aaro Koskinen , Andreas Kemnade , Kevin Hilman , Roger Quadros , Tony Lindgren , Huacai Chen , WANG Xuerui , Thomas Bogendoerfer , Madhavan Srinivasan , Michael Ellerman , Nicholas Piggin , "Christophe Leroy (CS GROUP)" , Paul Walmsley , Palmer Dabbelt , Albert Ou , Alexandre Ghiti , Heiko Carstens , Vasily Gorbik , Alexander Gordeev , Christian Borntraeger , Sven Schnelle , Yoshinori Sato , Rich Felker , John Paul Adrian Glaubitz , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , x86@kernel.org, "H. Peter Anvin" , Sebastian Andrzej Siewior , Clark Williams , Steven Rostedt , Pablo Neira Ayuso , Krzysztof Kozlowski , Alim Akhtar , Frank Li , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Vladimir Zapolskiy , Piotr Wojtaszczyk , Liviu Dudau , Sudeep Holla , Lorenzo Pieralisi , Geert Uytterhoeven , Magnus Damm , Vladimir Kondratiev , Gregory CLEMENT , =?utf-8?q?Th=C3=A9o_Lebrun?= , "James E.J. Bottomley" , Helge Deller , Janusz Krzysztofik , =?utf-8?q?Jonathan_Neusch=C3=A4fer?= , Chris Zankel , Max Filippov , Thomas Zimmermann , Arnd Bergmann , Heiko Stuebner , Kuninori Morimoto , Mark Brown , Eric Biggers , Ard Biesheuvel , Sricharan Ramabadhran , Bjorn Andersson , Michael Walle , Guenter Roeck , Srinivas Kandagatla , "Rob Herring (Arm)" , Dmitry Baryshkov , Greg Kroah-Hartman , Anna Schumaker Cc: Alexandre Gonzalo , linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, linux-alpha@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-omap@vger.kernel.org, loongarch@lists.linux.dev, linux-mips@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-riscv@lists.infradead.org, linux-s390@vger.kernel.org, linux-sh@vger.kernel.org, linux-rt-devel@lists.linux.dev, linux-samsung-soc@vger.kernel.org, imx@lists.linux.dev, linux-renesas-soc@vger.kernel.org, linux-parisc@vger.kernel.org, openbmc@lists.ozlabs.org, "Vincent Mailhol (Arm)" X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=8431; i=mailhol@kernel.org; h=from:subject:message-id; bh=QU6cedlzf40aFEFMHAi3oFEJtwf/R3OvK72FIzwtc/c=; b=owGbwMvMwCV2McXO4Xp97WbG02pJDJk7pVvaF++b0PNYl09G4rhpZ5/F95IzPF8ENlalen5lX tdxvoyno5SFQYyLQVZMkWVZOSe3Qkehd9ihv5Ywc1iZQIYwcHEKwEQOCDMyvJL+9Nvo+385B4nm Cy6lJuYqus3+jtGCa5OqhZc35J5iZGToaOwWd/8w895elfePn0w9IhU3K2dRZcenlrOWTzyUps3 jAQA= X-Developer-Key: i=mailhol@kernel.org; a=openpgp; fpr=ED8F700574E67F20E574E8E2AB5FEB886DBB99C2 The arm64 defconfig contains several inconsistencies, as shown by the following merge_config warnings: $ ARCH=arm64 ./scripts/kconfig/merge_config.sh arch/arm64/configs/defconfig Using arch/arm64/configs/defconfig as base # # configuration written to .config # WARNING: Value requested for CONFIG_NETFILTER_XT_TARGET_CHECKSUM not in final .config Requested value: CONFIG_NETFILTER_XT_TARGET_CHECKSUM=m Actual value: WARNING: Value requested for CONFIG_IP_NF_FILTER not in final .config Requested value: CONFIG_IP_NF_FILTER=m Actual value: WARNING: Value requested for CONFIG_IP_NF_TARGET_REJECT not in final .config Requested value: CONFIG_IP_NF_TARGET_REJECT=m Actual value: WARNING: Value requested for CONFIG_IP_NF_NAT not in final .config Requested value: CONFIG_IP_NF_NAT=m Actual value: WARNING: Value requested for CONFIG_IP_NF_TARGET_MASQUERADE not in final .config Requested value: CONFIG_IP_NF_TARGET_MASQUERADE=m Actual value: WARNING: Value requested for CONFIG_IP_NF_MANGLE not in final .config Requested value: CONFIG_IP_NF_MANGLE=m Actual value: WARNING: Value requested for CONFIG_IP6_NF_FILTER not in final .config Requested value: CONFIG_IP6_NF_FILTER=m Actual value: WARNING: Value requested for CONFIG_IP6_NF_TARGET_REJECT not in final .config Requested value: CONFIG_IP6_NF_TARGET_REJECT=m Actual value: WARNING: Value requested for CONFIG_IP6_NF_MANGLE not in final .config Requested value: CONFIG_IP6_NF_MANGLE=m Actual value: WARNING: Value requested for CONFIG_IP6_NF_NAT not in final .config Requested value: CONFIG_IP6_NF_NAT=m Actual value: WARNING: Value requested for CONFIG_IP6_NF_TARGET_MASQUERADE not in final .config Requested value: CONFIG_IP6_NF_TARGET_MASQUERADE=m Actual value: WARNING: Value requested for CONFIG_SENSORS_SA67MCU not in final .config Requested value: CONFIG_SENSORS_SA67MCU=m Actual value: WARNING: Value requested for CONFIG_FB_MODE_HELPERS not in final .config Requested value: CONFIG_FB_MODE_HELPERS=y Actual value: WARNING: Value requested for CONFIG_SND_SOC_ROCKCHIP not in final .config Requested value: CONFIG_SND_SOC_ROCKCHIP=m Actual value: WARNING: Value requested for CONFIG_IPQ_APSS_5018 not in final .config Requested value: CONFIG_IPQ_APSS_5018=y Actual value: WARNING: Value requested for CONFIG_SLIM_QCOM_CTRL not in final .config Requested value: CONFIG_SLIM_QCOM_CTRL=m Actual value: WARNING: Value requested for CONFIG_NFS_V4_1 not in final .config Requested value: CONFIG_NFS_V4_1=y Actual value: WARNING: CONFIG_CRYPTO_SHA3 differs: Requested value: CONFIG_CRYPTO_SHA3=m Actual value: CONFIG_CRYPTO_SHA3=y ./scripts/kconfig/merge_config.sh: 384: [: false: unexpected operator The issues fall into several categories: - assignments to removed or renamed configuration symbols. - assignments to symbols that became hidden or internal. - assignments that are requested as module (=m) but which have a built-in parent dependency (=y). This series cleans up all those issues. While the focus is the arm64 defconfig, fixes that apply more broadly are extended treewide. After applying this series, merge_config.sh runs without warnings on the arm64 defconfig. Below script was used to confirm that no symbols got inadvertently removed: #!/bin/sh DIR=$(mktemp -d) # Generate conf before this series git checkout $(git merge-base HEAD @{upstream}) for arch in arch/*/; do for conf in "$arch"configs/*defconfig; do ARCH=$(basename $arch) \ KCONFIG_CONFIG="$DIR/$(basename $arch)_$(basename $conf)_before" \ ./scripts/kconfig/merge_config.sh $conf done done # Generate conf after this series git checkout - for arch in arch/*/; do for conf in "$arch"configs/*defconfig; do ARCH=$(basename $arch) \ KCONFIG_CONFIG="$DIR/$(basename $arch)_$(basename $conf)_after" \ ./scripts/kconfig/merge_config.sh $conf done done # Compare for arch in arch/*/; do for conf in "$arch"configs/*defconfig; do if diff --unified \ "$DIR/$(basename $arch)_$(basename $conf)_before" \ "$DIR/$(basename $arch)_$(basename $conf)_after"; then echo "$conf: OK" else echo "$conf: configuration changed" fi done done Signed-off-by: Vincent Mailhol (Arm) --- Vincent Mailhol (Arm) (9): scripts: kconfig: merge_config.sh: use POSIX '=' in test configs: remove orphan dependencies of NETFILTER_XTABLES_LEGACY configs: remove obsolete assignments to CONFIG_NFS_V4_1 configs: remove implicit assignments to FB_MODE_HELPERS arm: configs: remove obsolete assignments to SND_SOC_ROCKCHIP arm64: defconfig: remove implicit assignment to CRYPTO_SHA3 arm64: defconfig: remove incorrect assignment to IPQ_APSS_5018 arm64: defconfig: remove obsolete assignment to SENSORS_SA67MCU arm64: defconfig: remove obsolete assignment to SLIM_QCOM_CTRL arch/alpha/configs/defconfig | 1 - arch/arm/configs/am200epdkit_defconfig | 1 - arch/arm/configs/collie_defconfig | 1 - arch/arm/configs/ep93xx_defconfig | 1 - arch/arm/configs/exynos_defconfig | 1 - arch/arm/configs/imx_v6_v7_defconfig | 2 -- arch/arm/configs/ixp4xx_defconfig | 3 --- arch/arm/configs/keystone_defconfig | 3 --- arch/arm/configs/lpc18xx_defconfig | 1 - arch/arm/configs/lpc32xx_defconfig | 2 -- arch/arm/configs/mps2_defconfig | 1 - arch/arm/configs/multi_v7_defconfig | 2 -- arch/arm/configs/mxs_defconfig | 1 - arch/arm/configs/omap1_defconfig | 1 - arch/arm/configs/omap2plus_defconfig | 1 - arch/arm/configs/shmobile_defconfig | 1 - arch/arm/configs/spitz_defconfig | 4 ---- arch/arm/configs/wpcm450_defconfig | 1 - arch/arm64/configs/defconfig | 18 ------------------ arch/loongarch/configs/loongson32_defconfig | 1 - arch/loongarch/configs/loongson64_defconfig | 1 - arch/mips/configs/bmips_stb_defconfig | 2 -- arch/mips/configs/cavium_octeon_defconfig | 1 - arch/mips/configs/db1xxx_defconfig | 1 - arch/mips/configs/eyeq5_defconfig | 1 - arch/mips/configs/eyeq6_defconfig | 1 - arch/mips/configs/fuloong2e_defconfig | 3 --- arch/mips/configs/generic_defconfig | 1 - arch/mips/configs/gpr_defconfig | 3 --- arch/mips/configs/ip22_defconfig | 6 ------ arch/mips/configs/lemote2f_defconfig | 1 - arch/mips/configs/loongson2k_defconfig | 3 --- arch/mips/configs/loongson3_defconfig | 11 ----------- arch/mips/configs/malta_defconfig | 6 ------ arch/mips/configs/malta_kvm_defconfig | 6 ------ arch/mips/configs/maltaup_xpa_defconfig | 6 ------ arch/mips/configs/mtx1_defconfig | 6 ------ arch/mips/configs/rb532_defconfig | 3 --- arch/mips/configs/rm200_defconfig | 6 ------ arch/mips/configs/rt305x_defconfig | 3 --- arch/mips/configs/xway_defconfig | 3 --- arch/parisc/configs/generic-64bit_defconfig | 1 - arch/powerpc/configs/85xx/stx_gp3_defconfig | 1 - arch/powerpc/configs/cell_defconfig | 3 --- arch/powerpc/configs/linkstation_defconfig | 3 --- arch/powerpc/configs/mvme5100_defconfig | 3 --- arch/powerpc/configs/pmac32_defconfig | 3 --- arch/powerpc/configs/ppc6xx_defconfig | 6 ------ arch/riscv/configs/defconfig | 9 --------- arch/sh/configs/titan_defconfig | 6 ------ arch/x86/configs/i386_defconfig | 7 ------- arch/x86/configs/x86_64_defconfig | 7 ------- arch/xtensa/configs/virt_defconfig | 1 - scripts/kconfig/merge_config.sh | 2 +- 54 files changed, 1 insertion(+), 172 deletions(-) --- base-commit: f338e77383789c0cae23ca3d48adcc5e9e137e3c change-id: 20260312-arm_defconf_cleanup-cd17f4ba989d Best regards, -- Vincent Mailhol (Arm)