Skip to contentSkip to conversation

configs: cleanup obsolete or incorrect assignments

PATCH In review Vincent Mailhol (Arm) 6 participants 26 messages Mar 17 – Apr 2

Subsystems (24)
lore
Share & tools
lore
#0 lore raw

cover configs: cleanup obsolete or incorrect assignments

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

---
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,

Signature · 1 line
Vincent Mailhol (Arm) <[email protected]>
#1 lore raw

PATCH 1/9 scripts: kconfig: merge_config.sh: use POSIX '=' in test

merge_config.sh yields this warning:

./scripts/kconfig/merge_config.sh: 384: [: false: unexpected operator

This happens because the script runs under /bin/sh but compares strings using the '==' operator, which is a bash extension. The POSIX test command only specifies '=' for string equality.

Replace '==' with the POSIX-compatible '=' so the script works when run with /bin/sh as intended.

Fixes dfc97e1c5da5 ("scripts: kconfig: merge_config.sh: use awk in checks too")
---
 scripts/kconfig/merge_config.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
scripts/kconfig/merge_config.sh +1 -1
index 735e1de450c6..073c6bec5245 100755
@@ -381,7 +381,7 @@ END {
 	STRICT_MODE_VIOLATED=true
 fi
 
-if [ "$STRICT" == "true" ] && [ "$STRICT_MODE_VIOLATED" == "true" ]; then
+if [ "$STRICT" = "true" ] && [ "$STRICT_MODE_VIOLATED" = "true" ]; then
 	echo "Requested and effective config differ"
 	exit 1
 fi
Signature · 1 line
2.43.0
#2 lore raw

Re: [PATCH 1/9] scripts: kconfig: merge_config.sh: use POSIX '=' in test

Hi,

Quoted 8 lines · Vincent Mailhol (Arm)

merge_config.sh yields this warning:

./scripts/kconfig/merge_config.sh: 384: [: false: unexpected operator

This happens because the script runs under /bin/sh but compares strings using the '==' operator, which is a bash extension. The POSIX test command only specifies '=' for string equality.

Quoted 5 lines

Replace '==' with the POSIX-compatible '=' so the script works when run with /bin/sh as intended.

Fixes dfc97e1c5da5 ("scripts: kconfig: merge_config.sh: use awk in checks too")

This fix is already merged in kbuild trees:

https://lore.kernel.org/linux-kbuild/[email protected]/
https://git.kernel.org/pub/scm/linux/kernel/git/kbuild/linux.git/log/?h=kbuild-fixes-for-next

Cheers,

-Mikko

Quoted 21 lines
---
 scripts/kconfig/merge_config.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
scripts/kconfig/merge_config.sh +1 -1
index 735e1de450c6..073c6bec5245 100755
@@ -381,7 +381,7 @@ END {
 	STRICT_MODE_VIOLATED=true
 fi
 
-if [ "$STRICT" == "true" ] && [ "$STRICT_MODE_VIOLATED" == "true" ]; then
+if [ "$STRICT" = "true" ] && [ "$STRICT_MODE_VIOLATED" = "true" ]; then
 	echo "Requested and effective config differ"
 	exit 1
 fi
Signature · 2 lines
-- 
2.43.0
#3 lore raw

Re: [PATCH 1/9] scripts: kconfig: merge_config.sh: use POSIX '=' in test

Quoted 14 lines · Mikko Rapeli

Hi,

Quoted 11 lines · Vincent Mailhol (Arm)

merge_config.sh yields this warning:

./scripts/kconfig/merge_config.sh: 384: [: false: unexpected operator

This happens because the script runs under /bin/sh but compares strings using the '==' operator, which is a bash extension. The POSIX test command only specifies '=' for string equality.

Replace '==' with the POSIX-compatible '=' so the script works when run with /bin/sh as intended.

Quoted 7 lines
Quoted 2 lines
Fixes dfc97e1c5da5 ("scripts: kconfig: merge_config.sh: use awk in checks too")

This fix is already merged in kbuild trees:

https://lore.kernel.org/linux-kbuild/[email protected]/
https://git.kernel.org/pub/scm/linux/kernel/git/kbuild/linux.git/log/?h=kbuild-fixes-for-next

Noted! I actually started to write this before the other solution was posted, but, anyway, this will be removed in v2.

Yours sincerely,
Vincent Mailhol

#4 lore raw

PATCH 2/9 configs: remove orphan dependencies of NETFILTER_XTABLES_LEGACY

In reply to Vincent Mailhol (Arm)

Since its introduction in commit 9fce66583f06 ("netfilter: Exclude LEGACY TABLES on PREEMPT_RT."), the configurations below all depend, either directly or indirectly, on CONFIG_NETFILTER_XTABLES_LEGACY:

- CONFIG_NETFILTER_XT_TARGET_CHECKSUM
- CONFIG_IP_NF_FILTER
- CONFIG_IP_NF_TARGET_REJECT
- CONFIG_IP_NF_NAT
- CONFIG_IP_NF_TARGET_MASQUERADE
- CONFIG_IP_NF_MANGLE
- CONFIG_IP6_NF_FILTER
- CONFIG_IP6_NF_TARGET_REJECT
- CONFIG_IP6_NF_MANGLE
- CONFIG_IP6_NF_NAT
- CONFIG_IP6_NF_TARGET_MASQUERADE

This new dependency caused many symbols to become orphaned, meaning their dependencies are no longer satisfied and Kconfig drops them from the final configuration.

Note that CONFIG_NFT_COMPAT is another parent dependency, so the above-listed symbols would not become orphaned as long as NFT_COMPAT is present.

Considering that these are legacy options and that nobody complained in recent kernel releases when these options were already missing, it is safe to assume they can be removed.

Suppress all these configuration symbols in all the defconfig files that have neither CONFIG_NETFILTER_XTABLES_LEGACY nor CONFIG_NFT_COMPAT set.

FYI, the suppressions were done using:

  git grep -z -L -E '^CONFIG_(NETFILTER_XTABLES_LEGACY|NFT_COMPAT)=(y|m)$' -- 'arch/*/configs/*defconfig' |\
    xargs -0 sed -i -E '/^CONFIG_(NETFILTER_XT_TARGET_CHECKSUM|IP_NF_FILTER|IP_NF_TARGET_REJECT|IP_NF_NAT|IP_NF_TARGET_MASQUERADE|IP_NF_MANGLE|IP6_NF_FILTER|IP6_NF_TARGET_REJECT|IP6_NF_MANGLE|IP6_NF_NAT|IP6_NF_TARGET_MASQUERADE)=(y|m)$/d'
Fixes 9fce66583f06 ("netfilter: Exclude LEGACY TABLES on PREEMPT_RT.")

---
One alternative is obviously to set NF_TABLES and NFT_COMPAT to give back to those orphaned symbols a parent configuration.

The removal seemed a better alternative, mostly because no one complained so far, but if someone has a strong belief that those symbols should not be removed, I can prepare a v2 to un-orphaned them instead of removing them.

---
 arch/alpha/configs/defconfig                |  1 -
 arch/arm/configs/ixp4xx_defconfig           |  3 ---
 arch/arm/configs/keystone_defconfig         |  3 ---
 arch/arm/configs/spitz_defconfig            |  4 ----
 arch/arm64/configs/defconfig                | 11 -----------
 arch/mips/configs/bmips_stb_defconfig       |  1 -
 arch/mips/configs/fuloong2e_defconfig       |  3 ---
 arch/mips/configs/gpr_defconfig             |  3 ---
 arch/mips/configs/ip22_defconfig            |  6 ------
 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/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                |  8 --------
 arch/sh/configs/titan_defconfig             |  6 ------
 arch/x86/configs/i386_defconfig             |  7 -------
 arch/x86/configs/x86_64_defconfig           |  7 -------
 29 files changed, 135 deletions(-)
arch/alpha/configs/defconfig +0 -1
index 3280bd9e6578..82a225b5eba4 100644
@@ -19,7 +19,6 @@ CONFIG_INET_ESP=m
 # CONFIG_IPV6 is not set
 CONFIG_NETFILTER=y
 CONFIG_IP_NF_IPTABLES=m
-CONFIG_IP_NF_FILTER=m
 CONFIG_VLAN_8021Q=m
 CONFIG_PNP=y
 CONFIG_ISAPNP=y
arch/arm/configs/ixp4xx_defconfig +0 -3
index 81199dddcde7..0a8a472e3ce1 100644
@@ -46,9 +46,6 @@ CONFIG_IP_VS_DH=m
 CONFIG_IP_VS_SH=m
 CONFIG_IP_NF_IPTABLES=m
 CONFIG_IP_NF_MATCH_TTL=m
-CONFIG_IP_NF_FILTER=m
-CONFIG_IP_NF_TARGET_REJECT=m
-CONFIG_IP_NF_MANGLE=m
 CONFIG_IP_NF_ARPTABLES=m
 CONFIG_IP_NF_ARPFILTER=m
 CONFIG_ATM=y
arch/arm/configs/keystone_defconfig +0 -3
index b0cadd878152..9e7d839d2ea3 100644
@@ -95,9 +95,6 @@ CONFIG_IP_NF_IPTABLES=y
 CONFIG_IP_NF_MATCH_AH=y
 CONFIG_IP_NF_MATCH_ECN=y
 CONFIG_IP_NF_MATCH_TTL=y
-CONFIG_IP_NF_FILTER=y
-CONFIG_IP_NF_TARGET_REJECT=y
-CONFIG_IP_NF_MANGLE=y
 CONFIG_IP_NF_TARGET_ECN=y
 CONFIG_IP_NF_TARGET_TTL=y
 CONFIG_IP_NF_RAW=y
arch/arm/configs/spitz_defconfig +0 -4
index c130af6d44d4..8d19274578cb 100644
@@ -32,9 +32,7 @@ CONFIG_IP_NF_IPTABLES=m
 CONFIG_IP_NF_MATCH_ADDRTYPE=m
 CONFIG_IP_NF_MATCH_ECN=m
 CONFIG_IP_NF_MATCH_TTL=m
-CONFIG_IP_NF_FILTER=m
 CONFIG_IP_NF_TARGET_LOG=m
-CONFIG_IP_NF_MANGLE=m
 CONFIG_IP_NF_RAW=m
 CONFIG_IP_NF_ARPTABLES=m
 CONFIG_IP_NF_ARPFILTER=m
@@ -46,8 +44,6 @@ CONFIG_IP6_NF_MATCH_OPTS=m
 CONFIG_IP6_NF_MATCH_HL=m
 CONFIG_IP6_NF_MATCH_IPV6HEADER=m
 CONFIG_IP6_NF_MATCH_RT=m
-CONFIG_IP6_NF_FILTER=m
-CONFIG_IP6_NF_MANGLE=m
 CONFIG_IP6_NF_RAW=m
 CONFIG_BT=m
 CONFIG_BT_RFCOMM=m
arch/arm64/configs/defconfig +0 -11
index b67d5b1fc45b..cfedcb61cc55 100644
@@ -146,24 +146,13 @@ CONFIG_BRIDGE_NETFILTER=m
 CONFIG_NF_CONNTRACK=m
 CONFIG_NF_CONNTRACK_EVENTS=y
 CONFIG_NETFILTER_XT_MARK=m
-CONFIG_NETFILTER_XT_TARGET_CHECKSUM=m
 CONFIG_NETFILTER_XT_TARGET_LOG=m
 CONFIG_NETFILTER_XT_MATCH_ADDRTYPE=m
 CONFIG_NETFILTER_XT_MATCH_CONNTRACK=m
 CONFIG_NETFILTER_XT_MATCH_IPVS=m
 CONFIG_IP_VS=m
 CONFIG_IP_NF_IPTABLES=m
-CONFIG_IP_NF_FILTER=m
-CONFIG_IP_NF_TARGET_REJECT=m
-CONFIG_IP_NF_NAT=m
-CONFIG_IP_NF_TARGET_MASQUERADE=m
-CONFIG_IP_NF_MANGLE=m
 CONFIG_IP6_NF_IPTABLES=m
-CONFIG_IP6_NF_FILTER=m
-CONFIG_IP6_NF_TARGET_REJECT=m
-CONFIG_IP6_NF_MANGLE=m
-CONFIG_IP6_NF_NAT=m
-CONFIG_IP6_NF_TARGET_MASQUERADE=m
 CONFIG_BRIDGE=m
 CONFIG_BRIDGE_VLAN_FILTERING=y
 CONFIG_NET_DSA=m
arch/mips/configs/bmips_stb_defconfig +0 -1
index ecfa7f777efa..4be4e8b0d6a1 100644
@@ -69,7 +69,6 @@ CONFIG_TCP_CONG_BIC=y
 # CONFIG_TCP_CONG_HTCP is not set
 # CONFIG_IPV6 is not set
 CONFIG_IP_NF_IPTABLES=y
-CONFIG_IP_NF_FILTER=y
 CONFIG_NETFILTER=y
 CONFIG_NETFILTER_XTABLES=y
 CONFIG_BRIDGE=y
arch/mips/configs/fuloong2e_defconfig +0 -3
index b6fe3c962464..a0c4ce45277c 100644
@@ -67,9 +67,6 @@ CONFIG_IP_NF_IPTABLES=m
 CONFIG_IP_NF_MATCH_AH=m
 CONFIG_IP_NF_MATCH_ECN=m
 CONFIG_IP_NF_MATCH_TTL=m
-CONFIG_IP_NF_FILTER=m
-CONFIG_IP_NF_TARGET_REJECT=m
-CONFIG_IP_NF_MANGLE=m
 CONFIG_IP_NF_TARGET_ECN=m
 CONFIG_IP_NF_TARGET_TTL=m
 CONFIG_IP_NF_RAW=m
arch/mips/configs/gpr_defconfig +0 -3
index 437ef6dc0b4c..c201fc6923c6 100644
@@ -56,9 +56,6 @@ CONFIG_IP_NF_IPTABLES=m
 CONFIG_IP_NF_MATCH_AH=m
 CONFIG_IP_NF_MATCH_ECN=m
 CONFIG_IP_NF_MATCH_TTL=m
-CONFIG_IP_NF_FILTER=m
-CONFIG_IP_NF_TARGET_REJECT=m
-CONFIG_IP_NF_MANGLE=m
 CONFIG_IP_NF_TARGET_ECN=m
 CONFIG_IP_NF_TARGET_TTL=m
 CONFIG_IP_NF_RAW=m
arch/mips/configs/ip22_defconfig +0 -6
index e123848f94ab..3ee644a5b5fa 100644
@@ -123,9 +123,6 @@ CONFIG_IP_NF_IPTABLES=m
 CONFIG_IP_NF_MATCH_AH=m
 CONFIG_IP_NF_MATCH_ECN=m
 CONFIG_IP_NF_MATCH_TTL=m
-CONFIG_IP_NF_FILTER=m
-CONFIG_IP_NF_TARGET_REJECT=m
-CONFIG_IP_NF_MANGLE=m
 CONFIG_IP_NF_TARGET_ECN=m
 CONFIG_IP_NF_TARGET_TTL=m
 CONFIG_IP_NF_RAW=m
@@ -141,9 +138,6 @@ CONFIG_IP6_NF_MATCH_IPV6HEADER=m
 CONFIG_IP6_NF_MATCH_MH=m
 CONFIG_IP6_NF_MATCH_RT=m
 CONFIG_IP6_NF_TARGET_HL=m
-CONFIG_IP6_NF_FILTER=m
-CONFIG_IP6_NF_TARGET_REJECT=m
-CONFIG_IP6_NF_MANGLE=m
 CONFIG_IP6_NF_RAW=m
 CONFIG_PHONET=m
 CONFIG_NET_SCHED=y
arch/mips/configs/loongson2k_defconfig +0 -3
index a5c50b63d478..c09336e7647e 100644
@@ -69,9 +69,6 @@ CONFIG_IP_NF_IPTABLES=m
 CONFIG_IP_NF_MATCH_AH=m
 CONFIG_IP_NF_MATCH_ECN=m
 CONFIG_IP_NF_MATCH_TTL=m
-CONFIG_IP_NF_FILTER=m
-CONFIG_IP_NF_TARGET_REJECT=m
-CONFIG_IP_NF_MANGLE=m
 CONFIG_IP_NF_TARGET_ECN=m
 CONFIG_IP_NF_TARGET_TTL=m
 CONFIG_IP_NF_RAW=m
arch/mips/configs/loongson3_defconfig +0 -11
index 575aaf242361..fac430dfb4e9 100644
@@ -66,7 +66,6 @@ CONFIG_NF_CONNTRACK_SNMP=m
 CONFIG_NF_TABLES=m
 CONFIG_NFT_CT=m
 CONFIG_NFT_NAT=m
-CONFIG_NETFILTER_XT_TARGET_CHECKSUM=m
 CONFIG_NETFILTER_XT_TARGET_CLASSIFY=m
 CONFIG_NETFILTER_XT_TARGET_MARK=m
 CONFIG_NETFILTER_XT_TARGET_NFQUEUE=m
@@ -93,11 +92,6 @@ CONFIG_IP_NF_MATCH_AH=m
 CONFIG_IP_NF_MATCH_ECN=m
 CONFIG_IP_NF_MATCH_RPFILTER=m
 CONFIG_IP_NF_MATCH_TTL=m
-CONFIG_IP_NF_FILTER=m
-CONFIG_IP_NF_TARGET_REJECT=m
-CONFIG_IP_NF_NAT=m
-CONFIG_IP_NF_TARGET_MASQUERADE=m
-CONFIG_IP_NF_MANGLE=m
 CONFIG_IP_NF_TARGET_ECN=m
 CONFIG_IP_NF_TARGET_TTL=m
 CONFIG_IP_NF_RAW=m
@@ -107,13 +101,8 @@ CONFIG_IP_NF_ARP_MANGLE=m
 CONFIG_NF_TABLES_IPV6=y
 CONFIG_IP6_NF_IPTABLES=m
 CONFIG_IP6_NF_MATCH_RPFILTER=m
-CONFIG_IP6_NF_FILTER=m
-CONFIG_IP6_NF_TARGET_REJECT=m
-CONFIG_IP6_NF_MANGLE=m
 CONFIG_IP6_NF_RAW=m
 CONFIG_IP6_NF_SECURITY=m
-CONFIG_IP6_NF_NAT=m
-CONFIG_IP6_NF_TARGET_MASQUERADE=m
 CONFIG_NF_TABLES_BRIDGE=m
 CONFIG_BRIDGE_NF_EBTABLES=m
 CONFIG_BRIDGE_EBT_T_FILTER=m
arch/mips/configs/malta_defconfig +0 -6
index 81704ec67f09..0d69dd1ae7fa 100644
@@ -123,9 +123,6 @@ CONFIG_IP_NF_IPTABLES=m
 CONFIG_IP_NF_MATCH_AH=m
 CONFIG_IP_NF_MATCH_ECN=m
 CONFIG_IP_NF_MATCH_TTL=m
-CONFIG_IP_NF_FILTER=m
-CONFIG_IP_NF_TARGET_REJECT=m
-CONFIG_IP_NF_MANGLE=m
 CONFIG_IP_NF_TARGET_ECN=m
 CONFIG_IP_NF_TARGET_TTL=m
 CONFIG_IP_NF_RAW=m
@@ -141,9 +138,6 @@ CONFIG_IP6_NF_MATCH_IPV6HEADER=m
 CONFIG_IP6_NF_MATCH_MH=m
 CONFIG_IP6_NF_MATCH_RT=m
 CONFIG_IP6_NF_TARGET_HL=m
-CONFIG_IP6_NF_FILTER=m
-CONFIG_IP6_NF_TARGET_REJECT=m
-CONFIG_IP6_NF_MANGLE=m
 CONFIG_IP6_NF_RAW=m
 CONFIG_BRIDGE_NF_EBTABLES=m
 CONFIG_BRIDGE_EBT_BROUTE=m
arch/mips/configs/malta_kvm_defconfig +0 -6
index 82a97f58bce1..c4e2941d1b37 100644
@@ -127,9 +127,6 @@ CONFIG_IP_NF_IPTABLES=m
 CONFIG_IP_NF_MATCH_AH=m
 CONFIG_IP_NF_MATCH_ECN=m
 CONFIG_IP_NF_MATCH_TTL=m
-CONFIG_IP_NF_FILTER=m
-CONFIG_IP_NF_TARGET_REJECT=m
-CONFIG_IP_NF_MANGLE=m
 CONFIG_IP_NF_TARGET_ECN=m
 CONFIG_IP_NF_TARGET_TTL=m
 CONFIG_IP_NF_RAW=m
@@ -145,9 +142,6 @@ CONFIG_IP6_NF_MATCH_IPV6HEADER=m
 CONFIG_IP6_NF_MATCH_MH=m
 CONFIG_IP6_NF_MATCH_RT=m
 CONFIG_IP6_NF_TARGET_HL=m
-CONFIG_IP6_NF_FILTER=m
-CONFIG_IP6_NF_TARGET_REJECT=m
-CONFIG_IP6_NF_MANGLE=m
 CONFIG_IP6_NF_RAW=m
 CONFIG_BRIDGE_NF_EBTABLES=m
 CONFIG_BRIDGE_EBT_BROUTE=m
arch/mips/configs/maltaup_xpa_defconfig +0 -6
index 0f9ef20744f9..244c39b722ef 100644
@@ -124,9 +124,6 @@ CONFIG_IP_NF_IPTABLES=m
 CONFIG_IP_NF_MATCH_AH=m
 CONFIG_IP_NF_MATCH_ECN=m
 CONFIG_IP_NF_MATCH_TTL=m
-CONFIG_IP_NF_FILTER=m
-CONFIG_IP_NF_TARGET_REJECT=m
-CONFIG_IP_NF_MANGLE=m
 CONFIG_IP_NF_TARGET_ECN=m
 CONFIG_IP_NF_TARGET_TTL=m
 CONFIG_IP_NF_RAW=m
@@ -142,9 +139,6 @@ CONFIG_IP6_NF_MATCH_IPV6HEADER=m
 CONFIG_IP6_NF_MATCH_MH=m
 CONFIG_IP6_NF_MATCH_RT=m
 CONFIG_IP6_NF_TARGET_HL=m
-CONFIG_IP6_NF_FILTER=m
-CONFIG_IP6_NF_TARGET_REJECT=m
-CONFIG_IP6_NF_MANGLE=m
 CONFIG_IP6_NF_RAW=m
 CONFIG_BRIDGE_NF_EBTABLES=m
 CONFIG_BRIDGE_EBT_BROUTE=m
arch/mips/configs/mtx1_defconfig +0 -6
index 77050ae3945f..39d2feb57f38 100644
@@ -89,9 +89,6 @@ CONFIG_IP_NF_IPTABLES=m
 CONFIG_IP_NF_MATCH_AH=m
 CONFIG_IP_NF_MATCH_ECN=m
 CONFIG_IP_NF_MATCH_TTL=m
-CONFIG_IP_NF_FILTER=m
-CONFIG_IP_NF_TARGET_REJECT=m
-CONFIG_IP_NF_MANGLE=m
 CONFIG_IP_NF_TARGET_ECN=m
 CONFIG_IP_NF_TARGET_TTL=m
 CONFIG_IP_NF_RAW=m
@@ -107,9 +104,6 @@ CONFIG_IP6_NF_MATCH_HL=m
 CONFIG_IP6_NF_MATCH_IPV6HEADER=m
 CONFIG_IP6_NF_MATCH_RT=m
 CONFIG_IP6_NF_TARGET_HL=m
-CONFIG_IP6_NF_FILTER=m
-CONFIG_IP6_NF_TARGET_REJECT=m
-CONFIG_IP6_NF_MANGLE=m
 CONFIG_IP6_NF_RAW=m
 CONFIG_BRIDGE_NF_EBTABLES=m
 CONFIG_BRIDGE_EBT_BROUTE=m
arch/mips/configs/rb532_defconfig +0 -3
index 30d18b084cda..c03099a7af0d 100644
@@ -64,9 +64,6 @@ CONFIG_NETFILTER_XT_MATCH_SCTP=m
 CONFIG_NETFILTER_XT_MATCH_STATE=y
 CONFIG_NETFILTER_XT_MATCH_U32=m
 CONFIG_IP_NF_IPTABLES=y
-CONFIG_IP_NF_FILTER=y
-CONFIG_IP_NF_TARGET_REJECT=y
-CONFIG_IP_NF_MANGLE=y
 CONFIG_IP_NF_RAW=m
 CONFIG_BRIDGE=y
 CONFIG_VLAN_8021Q=y
arch/mips/configs/rm200_defconfig +0 -6
index b507dc4dddd4..9dd2d9d9e6f7 100644
@@ -86,9 +86,6 @@ CONFIG_IP_NF_IPTABLES=m
 CONFIG_IP_NF_MATCH_AH=m
 CONFIG_IP_NF_MATCH_ECN=m
 CONFIG_IP_NF_MATCH_TTL=m
-CONFIG_IP_NF_FILTER=m
-CONFIG_IP_NF_TARGET_REJECT=m
-CONFIG_IP_NF_MANGLE=m
 CONFIG_IP_NF_TARGET_ECN=m
 CONFIG_IP_NF_TARGET_TTL=m
 CONFIG_IP_NF_RAW=m
@@ -105,9 +102,6 @@ CONFIG_IP6_NF_MATCH_IPV6HEADER=m
 CONFIG_IP6_NF_MATCH_MH=m
 CONFIG_IP6_NF_MATCH_RT=m
 CONFIG_IP6_NF_TARGET_HL=m
-CONFIG_IP6_NF_FILTER=m
-CONFIG_IP6_NF_TARGET_REJECT=m
-CONFIG_IP6_NF_MANGLE=m
 CONFIG_IP6_NF_RAW=m
 CONFIG_BRIDGE_NF_EBTABLES=m
 CONFIG_BRIDGE_EBT_BROUTE=m
arch/mips/configs/rt305x_defconfig +0 -3
index 8f9701efef19..fc6e5ef9da53 100644
@@ -56,9 +56,6 @@ CONFIG_NETFILTER_XT_MATCH_MAC=m
 CONFIG_NETFILTER_XT_MATCH_MULTIPORT=m
 CONFIG_NETFILTER_XT_MATCH_STATE=m
 CONFIG_IP_NF_IPTABLES=m
-CONFIG_IP_NF_FILTER=m
-CONFIG_IP_NF_TARGET_REJECT=m
-CONFIG_IP_NF_MANGLE=m
 CONFIG_IP_NF_RAW=m
 CONFIG_BRIDGE=y
 # CONFIG_BRIDGE_IGMP_SNOOPING is not set
arch/mips/configs/xway_defconfig +0 -3
index aae8497b6872..c48e4f323204 100644
@@ -58,9 +58,6 @@ CONFIG_NETFILTER_XT_MATCH_MAC=m
 CONFIG_NETFILTER_XT_MATCH_MULTIPORT=m
 CONFIG_NETFILTER_XT_MATCH_STATE=m
 CONFIG_IP_NF_IPTABLES=m
-CONFIG_IP_NF_FILTER=m
-CONFIG_IP_NF_TARGET_REJECT=m
-CONFIG_IP_NF_MANGLE=m
 CONFIG_IP_NF_RAW=m
 CONFIG_BRIDGE=y
 # CONFIG_BRIDGE_IGMP_SNOOPING is not set
arch/powerpc/configs/85xx/stx_gp3_defconfig +0 -1
index 0a42072fa23c..7441ec38a4f6 100644
@@ -20,7 +20,6 @@ CONFIG_IP_PNP_BOOTP=y
 # CONFIG_IPV6 is not set
 CONFIG_NETFILTER=y
 CONFIG_IP_NF_IPTABLES=m
-CONFIG_IP_NF_FILTER=m
 CONFIG_NET_PKTGEN=y
 # CONFIG_FW_LOADER is not set
 CONFIG_PARPORT=m
arch/powerpc/configs/cell_defconfig +0 -3
index 7a31b52e92e1..0ae6df50c38b 100644
@@ -87,9 +87,6 @@ CONFIG_IP_NF_IPTABLES=m
 CONFIG_IP_NF_MATCH_AH=m
 CONFIG_IP_NF_MATCH_ECN=m
 CONFIG_IP_NF_MATCH_TTL=m
-CONFIG_IP_NF_FILTER=m
-CONFIG_IP_NF_TARGET_REJECT=m
-CONFIG_IP_NF_MANGLE=m
 CONFIG_IP_NF_TARGET_ECN=m
 CONFIG_IP_NF_TARGET_TTL=m
 CONFIG_IP_NF_RAW=m
arch/powerpc/configs/linkstation_defconfig +0 -3
index b564f9e33a0d..05d74cbb337a 100644
@@ -38,9 +38,6 @@ CONFIG_NETFILTER_XT_MATCH_MAC=m
 CONFIG_NETFILTER_XT_MATCH_PKTTYPE=m
 CONFIG_NETFILTER_XT_MATCH_STATE=m
 CONFIG_IP_NF_IPTABLES=m
-CONFIG_IP_NF_FILTER=m
-CONFIG_IP_NF_TARGET_REJECT=m
-CONFIG_IP_NF_MANGLE=m
 CONFIG_IP_NF_TARGET_ECN=m
 CONFIG_IP_NF_TARGET_TTL=m
 CONFIG_IP_NF_RAW=m
arch/powerpc/configs/mvme5100_defconfig +0 -3
index fa2b3b9c5945..0b550473123c 100644
@@ -46,9 +46,6 @@ CONFIG_NETFILTER_XT_MATCH_MAC=m
 CONFIG_NETFILTER_XT_MATCH_PKTTYPE=m
 CONFIG_NETFILTER_XT_MATCH_STATE=m
 CONFIG_IP_NF_IPTABLES=m
-CONFIG_IP_NF_FILTER=m
-CONFIG_IP_NF_TARGET_REJECT=m
-CONFIG_IP_NF_MANGLE=m
 CONFIG_IP_NF_TARGET_ECN=m
 CONFIG_IP_NF_TARGET_TTL=m
 CONFIG_IP_NF_RAW=m
arch/powerpc/configs/pmac32_defconfig +0 -3
index ae45f70b29f0..7e94a9946fd6 100644
@@ -78,9 +78,6 @@ CONFIG_IP_NF_IPTABLES=m
 CONFIG_IP_NF_MATCH_AH=m
 CONFIG_IP_NF_MATCH_ECN=m
 CONFIG_IP_NF_MATCH_TTL=m
-CONFIG_IP_NF_FILTER=m
-CONFIG_IP_NF_TARGET_REJECT=m
-CONFIG_IP_NF_MANGLE=m
 CONFIG_IP_NF_TARGET_ECN=m
 CONFIG_IP_NF_TARGET_TTL=m
 CONFIG_IP_NF_RAW=m
arch/powerpc/configs/ppc6xx_defconfig +0 -6
index 3c08f46f3d41..dfc4c6fab94f 100644
@@ -179,9 +179,6 @@ CONFIG_IP_NF_IPTABLES=m
 CONFIG_IP_NF_MATCH_AH=m
 CONFIG_IP_NF_MATCH_ECN=m
 CONFIG_IP_NF_MATCH_TTL=m
-CONFIG_IP_NF_FILTER=m
-CONFIG_IP_NF_TARGET_REJECT=m
-CONFIG_IP_NF_MANGLE=m
 CONFIG_IP_NF_TARGET_ECN=m
 CONFIG_IP_NF_TARGET_TTL=m
 CONFIG_IP_NF_RAW=m
@@ -199,9 +196,6 @@ CONFIG_IP6_NF_MATCH_IPV6HEADER=m
 CONFIG_IP6_NF_MATCH_MH=m
 CONFIG_IP6_NF_MATCH_RT=m
 CONFIG_IP6_NF_TARGET_HL=m
-CONFIG_IP6_NF_FILTER=m
-CONFIG_IP6_NF_TARGET_REJECT=m
-CONFIG_IP6_NF_MANGLE=m
 CONFIG_IP6_NF_RAW=m
 CONFIG_IP6_NF_SECURITY=m
 CONFIG_BRIDGE_NF_EBTABLES=m
arch/riscv/configs/defconfig +0 -8
index c2c37327b987..a9b7d476ac7a 100644
@@ -78,18 +78,10 @@ CONFIG_IP_VS_NFCT=y
 CONFIG_NF_LOG_ARP=m
 CONFIG_NF_LOG_IPV4=m
 CONFIG_IP_NF_IPTABLES=m
-CONFIG_IP_NF_FILTER=m
-CONFIG_IP_NF_TARGET_REJECT=m
-CONFIG_IP_NF_NAT=m
-CONFIG_IP_NF_TARGET_MASQUERADE=m
 CONFIG_IP_NF_TARGET_REDIRECT=m
-CONFIG_IP_NF_MANGLE=m
 CONFIG_NF_LOG_IPV6=m
 CONFIG_IP6_NF_IPTABLES=m
 CONFIG_IP6_NF_MATCH_IPV6HEADER=m
-CONFIG_IP6_NF_FILTER=m
-CONFIG_IP6_NF_TARGET_REJECT=m
-CONFIG_IP6_NF_MANGLE=m
 CONFIG_BRIDGE=m
 CONFIG_BRIDGE_VLAN_FILTERING=y
 CONFIG_VLAN_8021Q=m
arch/sh/configs/titan_defconfig +0 -6
index 896e980d04e1..88a5dfb4901b 100644
@@ -79,10 +79,7 @@ CONFIG_IP_NF_MATCH_ADDRTYPE=m
 CONFIG_IP_NF_MATCH_AH=m
 CONFIG_IP_NF_MATCH_ECN=m
 CONFIG_IP_NF_MATCH_TTL=m
-CONFIG_IP_NF_FILTER=m
-CONFIG_IP_NF_TARGET_REJECT=m
 CONFIG_IP_NF_TARGET_LOG=m
-CONFIG_IP_NF_MANGLE=m
 CONFIG_IP_NF_TARGET_ECN=m
 CONFIG_IP_NF_TARGET_TTL=m
 CONFIG_IP_NF_RAW=m
@@ -98,9 +95,6 @@ CONFIG_IP6_NF_MATCH_HL=m
 CONFIG_IP6_NF_MATCH_IPV6HEADER=m
 CONFIG_IP6_NF_MATCH_RT=m
 CONFIG_IP6_NF_TARGET_HL=m
-CONFIG_IP6_NF_FILTER=m
-CONFIG_IP6_NF_TARGET_REJECT=m
-CONFIG_IP6_NF_MANGLE=m
 CONFIG_IP6_NF_RAW=m
 CONFIG_BRIDGE=y
 CONFIG_VLAN_8021Q=y
arch/x86/configs/i386_defconfig +0 -7
index 79fa38ca954d..12fa6aa0d2a5 100644
@@ -100,15 +100,8 @@ CONFIG_NETFILTER_XT_MATCH_CONNTRACK=y
 CONFIG_NETFILTER_XT_MATCH_POLICY=y
 CONFIG_NETFILTER_XT_MATCH_STATE=y
 CONFIG_IP_NF_IPTABLES=y
-CONFIG_IP_NF_FILTER=y
-CONFIG_IP_NF_TARGET_REJECT=y
-CONFIG_IP_NF_TARGET_MASQUERADE=m
-CONFIG_IP_NF_MANGLE=y
 CONFIG_IP6_NF_IPTABLES=y
 CONFIG_IP6_NF_MATCH_IPV6HEADER=y
-CONFIG_IP6_NF_FILTER=y
-CONFIG_IP6_NF_TARGET_REJECT=y
-CONFIG_IP6_NF_MANGLE=y
 CONFIG_NET_SCHED=y
 CONFIG_NET_CLS_CGROUP=y
 CONFIG_NET_EMATCH=y
arch/x86/configs/x86_64_defconfig +0 -7
index 7d7310cdf8b0..49f8d3ee5b68 100644
@@ -101,15 +101,8 @@ CONFIG_NETFILTER_XT_MATCH_CONNTRACK=y
 CONFIG_NETFILTER_XT_MATCH_POLICY=y
 CONFIG_NETFILTER_XT_MATCH_STATE=y
 CONFIG_IP_NF_IPTABLES=y
-CONFIG_IP_NF_FILTER=y
-CONFIG_IP_NF_TARGET_REJECT=y
-CONFIG_IP_NF_TARGET_MASQUERADE=m
-CONFIG_IP_NF_MANGLE=y
 CONFIG_IP6_NF_IPTABLES=y
 CONFIG_IP6_NF_MATCH_IPV6HEADER=y
-CONFIG_IP6_NF_FILTER=y
-CONFIG_IP6_NF_TARGET_REJECT=y
-CONFIG_IP6_NF_MANGLE=y
 CONFIG_NET_SCHED=y
 CONFIG_NET_CLS_CGROUP=y
 CONFIG_NET_EMATCH=y
Signature · 1 line
2.43.0
maintainer Acked-by on v1 2/9
#5 lore raw

Re: [PATCH 2/9] configs: remove orphan dependencies of NETFILTER_XTABLES_LEGACY

Quoted 32 lines · Vincent Mailhol (Arm)

Since its introduction in commit 9fce66583f06 ("netfilter: Exclude LEGACY TABLES on PREEMPT_RT."), the configurations below all depend, either directly or indirectly, on CONFIG_NETFILTER_XTABLES_LEGACY:

- CONFIG_NETFILTER_XT_TARGET_CHECKSUM
- CONFIG_IP_NF_FILTER
- CONFIG_IP_NF_TARGET_REJECT
- CONFIG_IP_NF_NAT
- CONFIG_IP_NF_TARGET_MASQUERADE
- CONFIG_IP_NF_MANGLE
- CONFIG_IP6_NF_FILTER
- CONFIG_IP6_NF_TARGET_REJECT
- CONFIG_IP6_NF_MANGLE
- CONFIG_IP6_NF_NAT
- CONFIG_IP6_NF_TARGET_MASQUERADE

This new dependency caused many symbols to become orphaned, meaning their dependencies are no longer satisfied and Kconfig drops them from the final configuration.

Note that CONFIG_NFT_COMPAT is another parent dependency, so the above-listed symbols would not become orphaned as long as NFT_COMPAT is present.

Considering that these are legacy options and that nobody complained in recent kernel releases when these options were already missing, it is safe to assume they can be removed.

Suppress all these configuration symbols in all the defconfig files that have neither CONFIG_NETFILTER_XTABLES_LEGACY nor CONFIG_NFT_COMPAT set.

Quoted 7 lines

FYI, the suppressions were done using:

  git grep -z -L -E '^CONFIG_(NETFILTER_XTABLES_LEGACY|NFT_COMPAT)=(y|m)$' -- 'arch/*/configs/*defconfig' |\
    xargs -0 sed -i -E '/^CONFIG_(NETFILTER_XT_TARGET_CHECKSUM|IP_NF_FILTER|IP_NF_TARGET_REJECT|IP_NF_NAT|IP_NF_TARGET_MASQUERADE|IP_NF_MANGLE|IP6_NF_FILTER|IP6_NF_TARGET_REJECT|IP6_NF_MANGLE|IP6_NF_NAT|IP6_NF_TARGET_MASQUERADE)=(y|m)$/d'
Fixes 9fce66583f06 ("netfilter: Exclude LEGACY TABLES on PREEMPT_RT.")

- Paul

#6 lore raw

PATCH 3/9 configs: remove obsolete assignments to CONFIG_NFS_V4_1

In reply to Vincent Mailhol (Arm)

CONFIG_NFS_V4_1 was revomed in commit 7537db24806f ("NFS: Merge CONFIG_NFS_V4_1 with CONFIG_NFS_V4"). However, some defconfigs are still referring the old configuration.

Clean-up all the leftover references to CONFIG_NFS_V4_1.

FYI, the suppressions were done using:

  git grep -z -l '^CONFIG_NFS_V4=' -- 'arch/*/configs/*defconfig' |\
    xargs -0 sed -i -E '/^CONFIG_NFS_V4_1=/d'

CONFIG_NFS_V4_1_IMPLEMENTATION_ID_DOMAIN and CONFIG_NFS_V4_1_MIGRATION were not in scope of the renaming and still use V4_1 in their name, so keep those two untouched.

Fixes 7537db24806f ("NFS: Merge CONFIG_NFS_V4_1 with CONFIG_NFS_V4")
---
 arch/arm/configs/exynos_defconfig           | 1 -
 arch/arm/configs/imx_v6_v7_defconfig        | 1 -
 arch/arm/configs/lpc32xx_defconfig          | 1 -
 arch/arm/configs/mps2_defconfig             | 1 -
 arch/arm/configs/multi_v7_defconfig         | 1 -
 arch/arm/configs/shmobile_defconfig         | 1 -
 arch/arm64/configs/defconfig                | 1 -
 arch/loongarch/configs/loongson32_defconfig | 1 -
 arch/loongarch/configs/loongson64_defconfig | 1 -
 arch/mips/configs/bmips_stb_defconfig       | 1 -
 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/generic_defconfig         | 1 -
 arch/parisc/configs/generic-64bit_defconfig | 1 -
 arch/riscv/configs/defconfig                | 1 -
 17 files changed, 17 deletions(-)
arch/arm/configs/exynos_defconfig +0 -1
index 84070e9698e8..96ea941ff700 100644
@@ -341,7 +341,6 @@ CONFIG_SQUASHFS=y
 CONFIG_ROMFS_FS=y
 CONFIG_NFS_FS=y
 CONFIG_NFS_V4=y
-CONFIG_NFS_V4_1=y
 CONFIG_NFS_V4_2=y
 CONFIG_ROOT_NFS=y
 CONFIG_NLS_CODEPAGE_437=y
arch/arm/configs/imx_v6_v7_defconfig +0 -1
index ed588add8d31..fadca597a944 100644
@@ -456,7 +456,6 @@ CONFIG_UBIFS_FS=y
 CONFIG_NFS_FS=y
 CONFIG_NFS_V3_ACL=y
 CONFIG_NFS_V4=y
-CONFIG_NFS_V4_1=y
 CONFIG_NFS_V4_2=y
 CONFIG_ROOT_NFS=y
 CONFIG_NLS_DEFAULT="cp437"
arch/arm/configs/lpc32xx_defconfig +0 -1
index b9e2e603cd95..c0d4bc141a12 100644
@@ -169,7 +169,6 @@ CONFIG_UBIFS_FS=y
 CONFIG_CRAMFS=y
 CONFIG_NFS_FS=y
 CONFIG_NFS_V4=y
-CONFIG_NFS_V4_1=y
 CONFIG_NFS_V4_2=y
 CONFIG_ROOT_NFS=y
 CONFIG_NLS_CODEPAGE_437=y
arch/arm/configs/mps2_defconfig +0 -1
index e995e50537ef..b043566e155d 100644
@@ -89,7 +89,6 @@ CONFIG_ARM_TIMER_SP804=y
 # CONFIG_MISC_FILESYSTEMS is not set
 CONFIG_NFS_FS=y
 CONFIG_NFS_V4=y
-CONFIG_NFS_V4_1=y
 CONFIG_NFS_V4_2=y
 CONFIG_ROOT_NFS=y
 CONFIG_NLS=y
arch/arm/configs/multi_v7_defconfig +0 -1
index f75d75cf91c8..a9bb85873c0a 100644
@@ -1289,7 +1289,6 @@ CONFIG_PSTORE_RAM=y
 CONFIG_NFS_FS=y
 CONFIG_NFS_V3_ACL=y
 CONFIG_NFS_V4=y
-CONFIG_NFS_V4_1=y
 CONFIG_NFS_V4_2=y
 CONFIG_ROOT_NFS=y
 CONFIG_NLS_CODEPAGE_437=y
arch/arm/configs/shmobile_defconfig +0 -1
index ef487eab17cc..4e7af21e29ed 100644
@@ -217,7 +217,6 @@ CONFIG_TMPFS=y
 CONFIG_NFS_FS=y
 CONFIG_NFS_V3_ACL=y
 CONFIG_NFS_V4=y
-CONFIG_NFS_V4_1=y
 CONFIG_ROOT_NFS=y
 CONFIG_NLS_CODEPAGE_437=y
 CONFIG_NLS_ISO8859_1=y
arch/arm64/configs/defconfig +0 -1
index cfedcb61cc55..1f6ce04c0b4b 100644
@@ -1892,7 +1892,6 @@ CONFIG_SQUASHFS=y
 CONFIG_PSTORE_RAM=m
 CONFIG_NFS_FS=y
 CONFIG_NFS_V4=y
-CONFIG_NFS_V4_1=y
 CONFIG_NFS_V4_2=y
 CONFIG_ROOT_NFS=y
 CONFIG_9P_FS=y
arch/loongarch/configs/loongson32_defconfig +0 -1
index 276b1577e0be..3fe4035f6631 100644
@@ -1036,7 +1036,6 @@ CONFIG_EROFS_FS_PCPU_KTHREAD=y
 CONFIG_NFS_FS=y
 CONFIG_NFS_V3_ACL=y
 CONFIG_NFS_V4=y
-CONFIG_NFS_V4_1=y
 CONFIG_NFS_V4_2=y
 CONFIG_ROOT_NFS=y
 CONFIG_NFSD=y
arch/loongarch/configs/loongson64_defconfig +0 -1
index a14db1a95e7e..8abecf8357ef 100644
@@ -1069,7 +1069,6 @@ CONFIG_EROFS_FS_PCPU_KTHREAD=y
 CONFIG_NFS_FS=y
 CONFIG_NFS_V3_ACL=y
 CONFIG_NFS_V4=y
-CONFIG_NFS_V4_1=y
 CONFIG_NFS_V4_2=y
 CONFIG_ROOT_NFS=y
 CONFIG_NFSD=y
arch/mips/configs/bmips_stb_defconfig +0 -1
index 4be4e8b0d6a1..6ca4750ac259 100644
@@ -164,7 +164,6 @@ CONFIG_SQUASHFS_XZ=y
 CONFIG_NFS_FS=y
 CONFIG_NFS_V3_ACL=y
 CONFIG_NFS_V4=y
-CONFIG_NFS_V4_1=y
 CONFIG_NFS_V4_2=y
 CONFIG_ROOT_NFS=y
 CONFIG_NLS_CODEPAGE_437=y
arch/mips/configs/cavium_octeon_defconfig +0 -1
index 68c363366bce..7a7ffbb0f13a 100644
@@ -145,7 +145,6 @@ CONFIG_TMPFS=y
 CONFIG_HUGETLBFS=y
 CONFIG_NFS_FS=y
 CONFIG_NFS_V4=y
-CONFIG_NFS_V4_1=y
 CONFIG_ROOT_NFS=y
 CONFIG_NLS_CODEPAGE_437=y
 CONFIG_NLS_ASCII=y
arch/mips/configs/db1xxx_defconfig +0 -1
index 281dd7d0f805..fefd0e3023ef 100644
@@ -195,7 +195,6 @@ CONFIG_SQUASHFS_XZ=y
 CONFIG_NFS_FS=y
 CONFIG_NFS_V3_ACL=y
 CONFIG_NFS_V4=y
-CONFIG_NFS_V4_1=y
 CONFIG_NFS_V4_2=y
 CONFIG_NFS_V4_1_IMPLEMENTATION_ID_DOMAIN="local"
 CONFIG_NFS_V4_1_MIGRATION=y
arch/mips/configs/eyeq5_defconfig +0 -1
index 6688f56aba1c..dd7d6dfe04c8 100644
@@ -102,7 +102,6 @@ CONFIG_UBIFS_FS=y
 CONFIG_NFS_FS=y
 CONFIG_NFS_V3_ACL=y
 CONFIG_NFS_V4=y
-CONFIG_NFS_V4_1=y
 CONFIG_NFS_V4_2=y
 CONFIG_ROOT_NFS=y
 CONFIG_FRAME_WARN=1024
arch/mips/configs/eyeq6_defconfig +0 -1
index 0a00a201937b..5a447535f40f 100644
@@ -101,7 +101,6 @@ CONFIG_UBIFS_FS=y
 CONFIG_NFS_FS=y
 CONFIG_NFS_V3_ACL=y
 CONFIG_NFS_V4=y
-CONFIG_NFS_V4_1=y
 CONFIG_NFS_V4_2=y
 CONFIG_ROOT_NFS=y
 CONFIG_FRAME_WARN=1024
arch/mips/configs/generic_defconfig +0 -1
index fa916407bdd4..bbd765e64320 100644
@@ -71,7 +71,6 @@ CONFIG_TMPFS_POSIX_ACL=y
 CONFIG_NFS_FS=y
 CONFIG_NFS_V3_ACL=y
 CONFIG_NFS_V4=y
-CONFIG_NFS_V4_1=y
 CONFIG_NFS_V4_2=y
 CONFIG_ROOT_NFS=y
 # CONFIG_XZ_DEC_X86 is not set
arch/parisc/configs/generic-64bit_defconfig +0 -1
index ce91f9d1fdbf..60ba7b824a22 100644
@@ -269,7 +269,6 @@ CONFIG_TMPFS_XATTR=y
 CONFIG_CONFIGFS_FS=y
 CONFIG_NFS_FS=m
 CONFIG_NFS_V4=m
-CONFIG_NFS_V4_1=y
 CONFIG_NFSD=m
 CONFIG_NFSD_V4=y
 CONFIG_NLS_DEFAULT="utf8"
arch/riscv/configs/defconfig +0 -1
index a9b7d476ac7a..506b6466c2f4 100644
@@ -282,7 +282,6 @@ CONFIG_TMPFS_POSIX_ACL=y
 CONFIG_HUGETLBFS=y
 CONFIG_NFS_FS=y
 CONFIG_NFS_V4=y
-CONFIG_NFS_V4_1=y
 CONFIG_NFS_V4_2=y
 CONFIG_ROOT_NFS=y
 CONFIG_9P_FS=y
Signature · 1 line
2.43.0
maintainer Reviewed-by on v1 3/9
#7 lore raw

Re: [PATCH 3/9] configs: remove obsolete assignments to CONFIG_NFS_V4_1

Hello Vincent,

Quoted 3 lines · Vincent Mailhol (Arm)

CONFIG_NFS_V4_1 was revomed in commit 7537db24806f ("NFS: Merge CONFIG_NFS_V4_1 with CONFIG_NFS_V4"). However, some defconfigs are still referring the old configuration.

typo: revomed -> removed
otherwise, thanks:

Thanks,

--
Théo Lebrun, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

#8 lore raw

Re: [PATCH 3/9] configs: remove obsolete assignments to CONFIG_NFS_V4_1

In reply to Vincent Mailhol (Arm)

Hi Vincent,

Quoted 11 lines · Vincent Mailhol (Arm)

CONFIG_NFS_V4_1 was revomed in commit 7537db24806f ("NFS: Merge CONFIG_NFS_V4_1 with CONFIG_NFS_V4"). However, some defconfigs are still referring the old configuration.

Clean-up all the leftover references to CONFIG_NFS_V4_1.

FYI, the suppressions were done using:

  git grep -z -l '^CONFIG_NFS_V4=' -- 'arch/*/configs/*defconfig' |\
    xargs -0 sed -i -E '/^CONFIG_NFS_V4_1=/d'
Quoted 6 lines

CONFIG_NFS_V4_1_IMPLEMENTATION_ID_DOMAIN and CONFIG_NFS_V4_1_MIGRATION were not in scope of the renaming and still use V4_1 in their name, so keep those two untouched.

Fixes 7537db24806f ("NFS: Merge CONFIG_NFS_V4_1 with CONFIG_NFS_V4")

Thanks for your patch!

arch/arm/configs/shmobile_defconfig CONFIG_TMPFS=y · line 222

Quoted 10 lines
arch/arm/configs/shmobile_defconfig +0 -1
@@ -217,7 +217,6 @@ CONFIG_TMPFS=y
 CONFIG_NFS_FS=y
 CONFIG_NFS_V3_ACL=y
 CONFIG_NFS_V4=y
-CONFIG_NFS_V4_1=y
 CONFIG_ROOT_NFS=y
 CONFIG_NLS_CODEPAGE_437=y
 CONFIG_NLS_ISO8859_1=y

Already done, cfr. commit 8c6cccefb33e2022 ("ARM: shmobile: defconfig:
Refresh for v7.0-rc1") in next-20260309 and later.

Gr{oetje,eeting}s,

Geert

Signature · 5 lines
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds
maintainer Acked-by on v1 3/9
#9 lore raw

Re: [PATCH 3/9] configs: remove obsolete assignments to CONFIG_NFS_V4_1

In reply to Vincent Mailhol (Arm)
Quoted 11 lines · Vincent Mailhol (Arm)

CONFIG_NFS_V4_1 was revomed in commit 7537db24806f ("NFS: Merge CONFIG_NFS_V4_1 with CONFIG_NFS_V4"). However, some defconfigs are still referring the old configuration.

Clean-up all the leftover references to CONFIG_NFS_V4_1.

FYI, the suppressions were done using:

  git grep -z -l '^CONFIG_NFS_V4=' -- 'arch/*/configs/*defconfig' |\
    xargs -0 sed -i -E '/^CONFIG_NFS_V4_1=/d'
Quoted 6 lines

CONFIG_NFS_V4_1_IMPLEMENTATION_ID_DOMAIN and CONFIG_NFS_V4_1_MIGRATION were not in scope of the renaming and still use V4_1 in their name, so keep those two untouched.

Fixes 7537db24806f ("NFS: Merge CONFIG_NFS_V4_1 with CONFIG_NFS_V4")

- Paul

#10 lore raw

PATCH 4/9 configs: remove implicit assignments to FB_MODE_HELPERS

In reply to Vincent Mailhol (Arm)

Now that CONFIG_FB_MODE_HELPERS is an hidden configuration, there is no need to manually select it anymore.

Remove any references to FB_MODE_HELPERS in the defconfigs.

FYI, the suppression was done using:

  git ls-files -z 'arch/*/configs/*defconfig' |\
    xargs -0 sed -i -E '/^CONFIG_FB_MODE_HELPERS/d'
Fixes c031bffabaf7 ("fbdev: Turn FB_MODE_HELPERS into an internal config option")
---
 arch/arm/configs/am200epdkit_defconfig | 1 -
 arch/arm/configs/collie_defconfig      | 1 -
 arch/arm/configs/ep93xx_defconfig      | 1 -
 arch/arm/configs/imx_v6_v7_defconfig   | 1 -
 arch/arm/configs/lpc18xx_defconfig     | 1 -
 arch/arm/configs/lpc32xx_defconfig     | 1 -
 arch/arm/configs/mxs_defconfig         | 1 -
 arch/arm/configs/omap1_defconfig       | 1 -
 arch/arm/configs/omap2plus_defconfig   | 1 -
 arch/arm/configs/wpcm450_defconfig     | 1 -
 arch/arm64/configs/defconfig           | 1 -
 arch/mips/configs/lemote2f_defconfig   | 1 -
 arch/xtensa/configs/virt_defconfig     | 1 -
 13 files changed, 13 deletions(-)
arch/arm/configs/am200epdkit_defconfig +0 -1
index 2367b1685c1c..1051a61e2f80 100644
@@ -57,7 +57,6 @@ CONFIG_SERIAL_PXA_CONSOLE=y
 CONFIG_WATCHDOG=y
 CONFIG_SA1100_WATCHDOG=m
 CONFIG_FB=y
-CONFIG_FB_MODE_HELPERS=y
 CONFIG_FB_TILEBLITTING=y
 CONFIG_FB_PXA=y
 CONFIG_FB_PXA_PARAMETERS=y
arch/arm/configs/collie_defconfig +0 -1
index 578c6a4af620..56c4b8d537f8 100644
@@ -61,7 +61,6 @@ CONFIG_MCP_UCB1200_TS=y
 CONFIG_FB=y
 CONFIG_FB_SA1100=y
 # CONFIG_VGA_CONSOLE is not set
-CONFIG_FB_MODE_HELPERS=y
 CONFIG_FRAMEBUFFER_CONSOLE=y
 CONFIG_FRAMEBUFFER_CONSOLE_ROTATION=y
 CONFIG_NEW_LEDS=y
arch/arm/configs/ep93xx_defconfig +0 -1
index 9f3c7324d1cf..4fc0b14a6a4f 100644
@@ -79,7 +79,6 @@ CONFIG_WATCHDOG=y
 CONFIG_EP93XX_WATCHDOG=y
 CONFIG_FB=y
 CONFIG_FB_EP93XX=y
-CONFIG_FB_MODE_HELPERS=y
 CONFIG_LOGO=y
 CONFIG_USB=y
 CONFIG_USB_DYNAMIC_MINORS=y
arch/arm/configs/imx_v6_v7_defconfig +0 -1
index fadca597a944..3e227c5b7487 100644
@@ -295,7 +295,6 @@ CONFIG_DRM_IMX_HDMI=y
 CONFIG_DRM_ETNAVIV=y
 CONFIG_DRM_MXSFB=y
 CONFIG_FB=y
-CONFIG_FB_MODE_HELPERS=y
 CONFIG_LCD_CLASS_DEVICE=y
 CONFIG_LCD_L4F00242T03=y
 CONFIG_LCD_PLATFORM=y
arch/arm/configs/lpc18xx_defconfig +0 -1
index f142a6637ede..98a0b0c3736d 100644
@@ -109,7 +109,6 @@ CONFIG_REGULATOR=y
 CONFIG_REGULATOR_FIXED_VOLTAGE=y
 CONFIG_DRM=y
 CONFIG_DRM_PL111=y
-CONFIG_FB_MODE_HELPERS=y
 CONFIG_USB=y
 CONFIG_USB_EHCI_HCD=y
 CONFIG_USB_EHCI_ROOT_HUB_TT=y
arch/arm/configs/lpc32xx_defconfig +0 -1
index c0d4bc141a12..4c81b5fefd2c 100644
@@ -105,7 +105,6 @@ CONFIG_DRM=y
 CONFIG_DRM_PANEL_SIMPLE=y
 CONFIG_DRM_PANEL_EDP=y
 CONFIG_DRM_PL111=y
-CONFIG_FB_MODE_HELPERS=y
 CONFIG_BACKLIGHT_CLASS_DEVICE=y
 CONFIG_FRAMEBUFFER_CONSOLE=y
 CONFIG_LOGO=y
arch/arm/configs/mxs_defconfig +0 -1
index 603fb003b223..1717e364e21c 100644
@@ -90,7 +90,6 @@ CONFIG_DRM=y
 CONFIG_DRM_PANEL_SEIKO_43WVF1G=y
 CONFIG_DRM_MXSFB=y
 CONFIG_FB=y
-CONFIG_FB_MODE_HELPERS=y
 CONFIG_LCD_CLASS_DEVICE=y
 CONFIG_BACKLIGHT_CLASS_DEVICE=y
 CONFIG_BACKLIGHT_PWM=y
arch/arm/configs/omap1_defconfig +0 -1
index df88763fc7c3..fc2150b347b6 100644
@@ -137,7 +137,6 @@ CONFIG_FB_OMAP_LCDC_HWA742=y
 CONFIG_FB_OMAP_MANUAL_UPDATE=y
 CONFIG_FB_OMAP_LCD_MIPID=y
 CONFIG_FIRMWARE_EDID=y
-CONFIG_FB_MODE_HELPERS=y
 CONFIG_LCD_CLASS_DEVICE=y
 CONFIG_FRAMEBUFFER_CONSOLE=y
 CONFIG_FRAMEBUFFER_CONSOLE_ROTATION=y
arch/arm/configs/omap2plus_defconfig +0 -1
index 0464f6552169..810c0cace407 100644
@@ -506,7 +506,6 @@ CONFIG_DRM_TI_TFP410=m
 CONFIG_DRM_TI_TPD12S015=m
 CONFIG_FB=y
 CONFIG_FIRMWARE_EDID=y
-CONFIG_FB_MODE_HELPERS=y
 CONFIG_FB_TILEBLITTING=y
 CONFIG_LCD_CLASS_DEVICE=y
 CONFIG_LCD_PLATFORM=y
arch/arm/configs/wpcm450_defconfig +0 -1
index cd4b3e70ff68..d28aea17480d 100644
@@ -133,7 +133,6 @@ CONFIG_MFD_SYSCON=y
 CONFIG_REGULATOR=y
 CONFIG_REGULATOR_FIXED_VOLTAGE=y
 CONFIG_FB=y
-CONFIG_FB_MODE_HELPERS=y
 # CONFIG_HID is not set
 CONFIG_USB_CHIPIDEA=y
 CONFIG_USB_CHIPIDEA_UDC=y
arch/arm64/configs/defconfig +0 -1
index 1f6ce04c0b4b..baff2cd34721 100644
@@ -1037,7 +1037,6 @@ CONFIG_DRM_ZYNQMP_DPSUB_AUDIO=y
 CONFIG_DRM_POWERVR=m
 CONFIG_FB=y
 CONFIG_FB_EFI=y
-CONFIG_FB_MODE_HELPERS=y
 CONFIG_BACKLIGHT_PWM=m
 CONFIG_BACKLIGHT_APPLE_DWI=m
 CONFIG_BACKLIGHT_QCOM_WLED=m
arch/mips/configs/lemote2f_defconfig +0 -1
index 8d3f20ed19b5..9ea6ffa83c7f 100644
@@ -137,7 +137,6 @@ CONFIG_FB_SIS_315=y
 CONFIG_FB_SIMPLE=y
 CONFIG_FB_SM712=y
 CONFIG_FIRMWARE_EDID=y
-CONFIG_FB_MODE_HELPERS=y
 CONFIG_FB_TILEBLITTING=y
 CONFIG_BACKLIGHT_CLASS_DEVICE=y
 CONFIG_FRAMEBUFFER_CONSOLE=y
arch/xtensa/configs/virt_defconfig +0 -1
index 982dd67ed174..b86135b0ea84 100644
@@ -68,7 +68,6 @@ CONFIG_HW_RANDOM_VIRTIO=y
 CONFIG_DRM=y
 CONFIG_DRM_VGEM=y
 CONFIG_DRM_VIRTIO_GPU=y
-CONFIG_FB_MODE_HELPERS=y
 # CONFIG_VGA_CONSOLE is not set
 CONFIG_FRAMEBUFFER_CONSOLE=y
 CONFIG_LOGO=y
Signature · 1 line
2.43.0
#11 lore raw

PATCH 5/9 arm: configs: remove obsolete assignments to SND_SOC_ROCKCHIP

In reply to Vincent Mailhol (Arm)

CONFIG_SND_SOC_ROCKCHIP was removed in commit cae3cc435db5 ("ASoC:
rockchip: Standardize ASoC menu"). However it is still referenced in some defconfigs.

Remove any references to CONFIG_SND_SOC_ROCKCHIP.

FYI, the suppressions were done using:

  git ls-files -z 'arch/*/configs/*defconfig' |\
    xargs -0 sed -i -E '/^CONFIG_SND_SOC_ROCKCHIP/d'
Fixes cae3cc435db5 ("ASoC: rockchip: Standardize ASoC menu")
---
 arch/arm/configs/multi_v7_defconfig | 1 -
 arch/arm64/configs/defconfig        | 1 -
 2 files changed, 2 deletions(-)
arch/arm/configs/multi_v7_defconfig +0 -1
index a9bb85873c0a..e7028dc2f9d5 100644
@@ -814,7 +814,6 @@ CONFIG_SND_MMP_SOC_SSPA=m
 CONFIG_SND_PXA910_SOC=m
 CONFIG_SND_SOC_QCOM=m
 CONFIG_SND_SOC_APQ8016_SBC=m
-CONFIG_SND_SOC_ROCKCHIP=m
 CONFIG_SND_SOC_SH4_FSI=m
 CONFIG_SND_SOC_RCAR=m
 CONFIG_SND_SOC_ROCKCHIP_SPDIF=m
arch/arm64/configs/defconfig +0 -1
index baff2cd34721..7f6334d1d040 100644
@@ -1085,7 +1085,6 @@ CONFIG_SND_SOC_SC8280XP=m
 CONFIG_SND_SOC_SC7180=m
 CONFIG_SND_SOC_SC7280=m
 CONFIG_SND_SOC_X1E80100=m
-CONFIG_SND_SOC_ROCKCHIP=m
 CONFIG_SND_SOC_ROCKCHIP_I2S_TDM=m
 CONFIG_SND_SOC_ROCKCHIP_SAI=m
 CONFIG_SND_SOC_ROCKCHIP_SPDIF=m
Signature · 1 line
2.43.0
#12 lore raw

Re: [PATCH 5/9] arm: configs: remove obsolete assignments to SND_SOC_ROCKCHIP

Quoted 8 lines · Vincent Mailhol (Arm)

CONFIG_SND_SOC_ROCKCHIP was removed in commit cae3cc435db5 ("ASoC:
rockchip: Standardize ASoC menu"). However it is still referenced in some defconfigs.

Remove any references to CONFIG_SND_SOC_ROCKCHIP.

FYI, the suppressions were done using:

Quoted 8 lines
  git ls-files -z 'arch/*/configs/*defconfig' |\
    xargs -0 sed -i -E '/^CONFIG_SND_SOC_ROCKCHIP/d'
Fixes cae3cc435db5 ("ASoC: rockchip: Standardize ASoC menu")
---
 arch/arm/configs/multi_v7_defconfig | 1 -
 arch/arm64/configs/defconfig        | 1 -

This was already posted:
https://lore.kernel.org/all/[email protected]/
but just like that patch you did not send it to soc@ (if I am not mistaken... CC list is enormous).

I think you are mixing here independent works, like kconfig and per-arch defconfig changes. Please split these per arch defconfig maintainers - patches and patchset, so you won't be Cc-ing 50 addresses.

Best regards,
Krzysztof

#13 lore raw

Re: [PATCH 5/9] arm: configs: remove obsolete assignments to SND_SOC_ROCKCHIP

+CC: [email protected]

Quoted 18 lines · Krzysztof Kozlowski
Quoted 8 lines · Vincent Mailhol (Arm)

CONFIG_SND_SOC_ROCKCHIP was removed in commit cae3cc435db5 ("ASoC:
rockchip: Standardize ASoC menu"). However it is still referenced in some defconfigs.

Remove any references to CONFIG_SND_SOC_ROCKCHIP.

FYI, the suppressions were done using:

Quoted 8 lines
  git ls-files -z 'arch/*/configs/*defconfig' |\
    xargs -0 sed -i -E '/^CONFIG_SND_SOC_ROCKCHIP/d'
Fixes cae3cc435db5 ("ASoC: rockchip: Standardize ASoC menu")
---
 arch/arm/configs/multi_v7_defconfig | 1 -
 arch/arm64/configs/defconfig        | 1 -
Quoted 4 lines

This was already posted:
https://lore.kernel.org/all/[email protected]/
but just like that patch you did not send it to soc@ (if I am not mistaken... CC list is enormous).

OK, I will add [email protected] to the recipient list in v2.

Quoted 3 lines

I think you are mixing here independent works, like kconfig and per-arch defconfig changes. Please split these per arch defconfig maintainers - patches and patchset, so you won't be Cc-ing 50 addresses.

The config issues which I am addressing are transversal problems so I was expecting to just get the Acked-by from the other architecture and have all this go through the same tree.

As I explained in my cover letter, this is not doing any functional changes.

But if this is not acceptable, I will just reduce the scope to arm/arm64 then. Doing a per arch split as you suggested would be too much overhead (more than what I am ready to invest on this clean-up).

Yours sincerely,
Vincent Mailhol

#14 lore raw

Re: [PATCH 5/9] arm: configs: remove obsolete assignments to SND_SOC_ROCKCHIP

Quoted 1 line · Vincent Mailhol (Arm)

+CC: [email protected]

Please don't. This is not a patch review mailing list.

Quoted 20 lines · Krzysztof Kozlowski
Quoted 18 lines · Vincent Mailhol (Arm)
Quoted 16 lines

CONFIG_SND_SOC_ROCKCHIP was removed in commit cae3cc435db5 ("ASoC:
rockchip: Standardize ASoC menu"). However it is still referenced in some defconfigs.

Remove any references to CONFIG_SND_SOC_ROCKCHIP.

FYI, the suppressions were done using:

  git ls-files -z 'arch/*/configs/*defconfig' |\
    xargs -0 sed -i -E '/^CONFIG_SND_SOC_ROCKCHIP/d'
Fixes cae3cc435db5 ("ASoC: rockchip: Standardize ASoC menu")
---
 arch/arm/configs/multi_v7_defconfig | 1 -
 arch/arm64/configs/defconfig        | 1 -
Quoted 6 lines
Quoted 4 lines

This was already posted:
https://lore.kernel.org/all/[email protected]/
but just like that patch you did not send it to soc@ (if I am not mistaken... CC list is enormous).

OK, I will add [email protected] to the recipient list in v2.

Could be, but isn't this specific to given SoC? defconfigs go via SoC platform trees (maintainer soc profile).

Quoted 7 lines
Quoted 4 lines

I think you are mixing here independent works, like kconfig and per-arch defconfig changes. Please split these per arch defconfig maintainers - patches and patchset, so you won't be Cc-ing 50 addresses.

The config issues which I am addressing are transversal problems so I was expecting to just get the Acked-by from the other architecture and

Well, sure, IMO this only stalls the patchset but fine with me.

Quoted 1 line

have all this go through the same tree.

But which tree?

Quoted 6 lines

As I explained in my cover letter, this is not doing any functional changes.

But if this is not acceptable, I will just reduce the scope to arm/arm64 then. Doing a per arch split as you suggested would be too much overhead (more than what I am ready to invest on this clean-up).

The first thing your cover letter should explain is the merging/dependencies or other expectations you have. That's the most important thing when maintainers give your patchset 15 seconds in their mailbox. Or when you want to optimize maintainers process, making also your patchset easier to get in.

There is a lot of text in the cover letter but nothing explaining what you wrote here.

Best regards,
Krzysztof

#15 lore raw

PATCH 6/9 arm64: defconfig: remove implicit assignment to CRYPTO_SHA3

In reply to Vincent Mailhol (Arm)

When given the arm64 defconfig, merge_config.sh yields below warning:

  $ ARCH=arm64 ./scripts/kconfig/merge_config.sh arch/arm64/configs/defconfig
  <...>
  WARNING: CONFIG_CRYPTO_SHA3 differs:
  Requested value: CONFIG_CRYPTO_SHA3=m
  Actual value:    CONFIG_CRYPTO_SHA3=y

This is because one of CRYPTO_SHA3 child dependency, CRYPTO_JITTERENTROPY, is set to "y" thus preventing CRYPTO_SHA3 to be built as a module.

CRYPTO_SHA3 is automatically selected anyway, so just remove it from the defconfig and let the kconfig scripts set it to the correct value.

Fixes 1e29a750572a ("lib/crypto: arm64/sha3: Migrate optimized code into library")
---
 arch/arm64/configs/defconfig | 1 -
 1 file changed, 1 deletion(-)
arch/arm64/configs/defconfig +0 -1
index 7f6334d1d040..0b307e2ab384 100644
@@ -1901,7 +1901,6 @@ CONFIG_CRYPTO_CHACHA20=m
 CONFIG_CRYPTO_BENCHMARK=m
 CONFIG_CRYPTO_ECHAINIV=y
 CONFIG_CRYPTO_MICHAEL_MIC=m
-CONFIG_CRYPTO_SHA3=m
 CONFIG_CRYPTO_USER_API_RNG=m
 CONFIG_CRYPTO_GHASH_ARM64_CE=y
 CONFIG_CRYPTO_SM3_ARM64_CE=m
Signature · 1 line
2.43.0
#16 lore raw

PATCH 7/9 arm64: defconfig: remove incorrect assignment to IPQ_APSS_5018

In reply to Vincent Mailhol (Arm)

CONFIG_IPQ_APSS_5018 does not exist and never existed. Remove it.

Fixes 7f0c87348fb5 ("arm64: defconfig: Enable IPQ5018 SoC base configs")
---
 arch/arm64/configs/defconfig | 1 -
 1 file changed, 1 deletion(-)
arch/arm64/configs/defconfig +0 -1
index 0b307e2ab384..1fda77bca432 100644
@@ -1456,7 +1456,6 @@ CONFIG_QCOM_CLK_APCC_MSM8996=y
 CONFIG_QCOM_CLK_SMD_RPM=y
 CONFIG_QCOM_CLK_RPMH=y
 CONFIG_IPQ_APSS_6018=y
-CONFIG_IPQ_APSS_5018=y
 CONFIG_IPQ_CMN_PLL=m
 CONFIG_IPQ_GCC_5018=y
 CONFIG_IPQ_GCC_5332=y
Signature · 1 line
2.43.0
#17 lore raw

Re: [PATCH 7/9] arm64: defconfig: remove incorrect assignment to IPQ_APSS_5018

Quoted 5 lines · Vincent Mailhol (Arm)

CONFIG_IPQ_APSS_5018 does not exist and never existed. Remove it.

Fixes 7f0c87348fb5 ("arm64: defconfig: Enable IPQ5018 SoC base configs")

---

Just like try one year ago:
https://lore.kernel.org/all/[email protected]/

No one will apply it if you do not send the patch to right people. multi_vx and arm64 defconfig fall outside of get_maintainers thus policy from maintainer soc profile applies.

This one should be send to platform maintainers, so to qcom.

Other ones: please send all arm and arm64 defconfig changes in one patchset to soc folks. Here, at least provide credits with Reported-by to Ross.

Best regards,
Krzysztof

#18 lore raw

Re: [PATCH 7/9] arm64: defconfig: remove incorrect assignment to IPQ_APSS_5018

+CC: [email protected]
+CC: Bjorn Andersson <[email protected]>
+CC: Konrad Dybcio <[email protected]>

Quoted 7 lines · Krzysztof Kozlowski
Quoted 5 lines · Vincent Mailhol (Arm)

CONFIG_IPQ_APSS_5018 does not exist and never existed. Remove it.

Fixes 7f0c87348fb5 ("arm64: defconfig: Enable IPQ5018 SoC base configs")

---

Quoted 6 lines

Just like try one year ago:
https://lore.kernel.org/all/[email protected]/

No one will apply it if you do not send the patch to right people. multi_vx and arm64 defconfig fall outside of get_maintainers thus policy from maintainer soc profile applies.

As you guessed, I used get_maintainers.pl to generate the recipient list. I am just surprised to hear that the defconfigs fall out of the usual process. This is a pit fall as shown by the fact that both Ross and me failed to send it to the right people.

As you pointed in another answer, I saw that the documentation was updated. I will follow this from now on. Thanks for that!

Quoted 1 line

This one should be send to platform maintainers, so to qcom.

I will add [email protected], Bjorn Andersson, Konrad Dybcio.

I don't think this should be split though. My series does one thing:
address the warnings from scripts/kconfig/merge_config.sh. When a series have a clear scope which spans other several trees, it is more common to collect Acked-by tags from the maintainers of the other domains rather than splitting.

Quoted 3 lines

Other ones: please send all arm and arm64 defconfig changes in one patchset to soc folks. Here, at least provide credits with Reported-by to Ross.

OK. Although this was re-discovered independently on my side, will add the Reported-by tag to give proper credit.

Yours sincerely,
Vincent Mailhol

#19 lore raw

PATCH 8/9 arm64: defconfig: remove obsolete assignment to SENSORS_SA67MCU

In reply to Vincent Mailhol (Arm)

The Kontron SMARC-sAM67 board management controller is not in the kernel tree anymore. Clean-up the leftover reference to CONFIG_SENSORS_SA67MCU which was left in the defconfig.

Fixes e710b2283725 ("Revert "hwmon: add SMARC-sAM67 support"")
---
 arch/arm64/configs/defconfig | 1 -
 1 file changed, 1 deletion(-)
arch/arm64/configs/defconfig +0 -1
index 1fda77bca432..c5e23beeaebf 100644
@@ -743,7 +743,6 @@ CONFIG_SENSORS_LM75=m
 CONFIG_SENSORS_LM90=m
 CONFIG_SENSORS_PWM_FAN=m
 CONFIG_SENSORS_RASPBERRYPI_HWMON=m
-CONFIG_SENSORS_SA67MCU=m
 CONFIG_SENSORS_SL28CPLD=m
 CONFIG_SENSORS_INA2XX=m
 CONFIG_SENSORS_INA3221=m
Signature · 1 line
2.43.0
#20 lore raw

Re: [PATCH 8/9] arm64: defconfig: remove obsolete assignment to SENSORS_SA67MCU

Quoted 9 lines · Vincent Mailhol (Arm)

The Kontron SMARC-sAM67 board management controller is not in the kernel tree anymore. Clean-up the leftover reference to CONFIG_SENSORS_SA67MCU which was left in the defconfig.

Fixes e710b2283725 ("Revert "hwmon: add SMARC-sAM67 support"")
---
 arch/arm64/configs/defconfig | 1 -
 1 file changed, 1 deletion(-)

https://lore.kernel.org/all/[email protected]/

It is said to see that multiple people did the same work twice and did work which was not sent to right addresses. :(

Best regards,
Krzysztof

#21 lore raw

Re: [PATCH 8/9] arm64: defconfig: remove obsolete assignment to SENSORS_SA67MCU

Quoted 5 lines · Krzysztof Kozlowski
Quoted 4 lines · Vincent Mailhol (Arm)

The Kontron SMARC-sAM67 board management controller is not in the kernel tree anymore. Clean-up the leftover reference to CONFIG_SENSORS_SA67MCU which was left in the defconfig.

Quoted 7 lines
Quoted 5 lines
Fixes e710b2283725 ("Revert "hwmon: add SMARC-sAM67 support"")
---
 arch/arm64/configs/defconfig | 1 -
 1 file changed, 1 deletion(-)

https://lore.kernel.org/all/[email protected]/

Meanwhile, that patch was picked. It has already landed in linux-next. So I will remove it from my series.

Quoted 2 lines

It is said to see that multiple people did the same work twice and did work which was not sent to right addresses. :(

Yours sincerely,
Vincent Mailhol

#22 lore raw

PATCH 9/9 arm64: defconfig: remove obsolete assignment to SLIM_QCOM_CTRL

In reply to Vincent Mailhol (Arm)

The Qcom Slimbus controller driver is not in the kernel tree anymore. Clean-up the leftover reference to CONFIG_SLIM_QCOM_CTRL which was left in the defconfig.

Fixes 7cbba32a2d62 ("slimbus: qcom: remove unused qcom controller driver")
---
 arch/arm64/configs/defconfig | 1 -
 1 file changed, 1 deletion(-)
arch/arm64/configs/defconfig +0 -1
index c5e23beeaebf..88951844c203 100644
@@ -1822,7 +1822,6 @@ CONFIG_OPTEE=y
 CONFIG_MUX_GPIO=m
 CONFIG_MUX_MMIO=y
 CONFIG_SLIMBUS=m
-CONFIG_SLIM_QCOM_CTRL=m
 CONFIG_SLIM_QCOM_NGD_CTRL=m
 CONFIG_INTERCONNECT=y
 CONFIG_INTERCONNECT_IMX=y
Signature · 1 line
2.43.0
#23 lore raw

Re: [PATCH 9/9] arm64: defconfig: remove obsolete assignment to SLIM_QCOM_CTRL

Quoted 9 lines · Vincent Mailhol (Arm)

The Qcom Slimbus controller driver is not in the kernel tree anymore. Clean-up the leftover reference to CONFIG_SLIM_QCOM_CTRL which was left in the defconfig.

Fixes 7cbba32a2d62 ("slimbus: qcom: remove unused qcom controller driver")
---
 arch/arm64/configs/defconfig | 1 -
 1 file changed, 1 deletion(-)

https://lore.kernel.org/all/[email protected]/

I even asked there to send it to qcom maintainers :/

Exactly that case also encouraged me to document this, since we do not know how to fix get_maintainers. See commit 6efe5322f060099c8bc51aaee83b857394e42dd5

Best regards,
Krzysztof

#24 lore raw

Re: [PATCH 9/9] arm64: defconfig: remove obsolete assignment to SLIM_QCOM_CTRL

Quoted 5 lines · Krzysztof Kozlowski
Quoted 4 lines · Vincent Mailhol (Arm)

The Qcom Slimbus controller driver is not in the kernel tree anymore. Clean-up the leftover reference to CONFIG_SLIM_QCOM_CTRL which was left in the defconfig.

Quoted 7 lines
Quoted 5 lines
Fixes 7cbba32a2d62 ("slimbus: qcom: remove unused qcom controller driver")
---
 arch/arm64/configs/defconfig | 1 -
 1 file changed, 1 deletion(-)

https://lore.kernel.org/all/[email protected]/

I will add that this was initially reported by Mikko.

Quoted 5 lines

I even asked there to send it to qcom maintainers :/

Exactly that case also encouraged me to document this, since we do not know how to fix get_maintainers. See commit 6efe5322f060099c8bc51aaee83b857394e42dd5

I read the thread in which you posted that patch. Thanks for updating the documentation, but as people anticipated, as long as the tool doesn't do the right thing, there will be people like me who will mess up the recipient list.

Anyway, sorry for that.

Yours sincerely,
Vincent Mailhol

#25 lore raw

Re: [PATCH 9/9] arm64: defconfig: remove obsolete assignment to SLIM_QCOM_CTRL

Quoted 10 lines · Vincent Mailhol (Arm)
Quoted 4 lines

Exactly that case also encouraged me to document this, since we do not know how to fix get_maintainers. See commit 6efe5322f060099c8bc51aaee83b857394e42dd5

I read the thread in which you posted that patch. Thanks for updating the documentation, but as people anticipated, as long as the tool doesn't do the right thing, there will be people like me who will mess up the recipient list.

Anyway, sorry for that.

No worries. I wished the tool was improved because I believe in the toolset, not remembering thousand rules of different subsystems...

Best regards,
Krzysztof