Linux-RISC-V Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/8] riscv: defconfig: refresh with savedefconfig
@ 2026-11-29 12:40 Guodong Xu
  2026-11-29 12:40 ` [PATCH 1/8] riscv: defconfig: drop unused legacy netfilter options Guodong Xu
                   ` (8 more replies)
  0 siblings, 9 replies; 12+ messages in thread
From: Guodong Xu @ 2026-11-29 12:40 UTC (permalink / raw)
  To: Paul Walmsley, Palmer Dabbelt, Albert Ou, Alexandre Ghiti,
	Yixun Lan, Vinod Koul, Frank Li
  Cc: Vincent Mailhol (Arm), Krzysztof Kozlowski, Guo Ren, linux-riscv,
	dmaengine, Guodong Xu

While bringing the RISC-V defconfig back in line with what
'make savedefconfig' writes, I found several entries that need more
than a move. This series is for that work. It is grouped by them:

1) Patches 1 and 2: entries without effect, the legacy netfilter
   options and NFS_V4_1. Vincent Mailhol posted both removals in March
   as part of a treewide cleanup [1], and Paul Walmsley acked them for
   arch/riscv. Krzysztof Kozlowski asked for the series to be split per
   architecture [2]; it was not posted again, and Vincent has since
   said that anyone may pick up or rework its patches [3]. arm64 has
   dropped both since: the netfilter entries through Krzysztof's
   series [4], NFS_V4_1 through a patch in the soc tree, branch
   soc/defconfig [5]. These two patches are the RISC-V part, each the
   arch/riscv hunk Paul acked, with his Acked-by carried over. They
   also carry Vincent's Co-developed-by and Signed-off-by from the
   originals, under a new commit message. Vincent, please say so if
   you would rather not have your tags on them.

2) Patches 3 and 4: MMP_PDMA. It is enabled only through an imply in
   the Kconfig entry of the SpacemiT SPI driver, although I2S uses the
   DMA controller too. Patch 3 (drivers/dma) gives it a default of its
   own, and patch 4 drops the defconfig entry.

3) Patches 5 to 8: the rest of what a savedefconfig run changes, one
   kind of change per patch.

Patch 3 is for the dmaengine tree. The defconfig patches do not depend
on it for the result.

No patch changes the resulting .config. After patch 8 the file is what
savedefconfig writes, except for the THEAD_C900_ACLINT_SSWI entry, which
is not touched here.

Replacing that entry with the current name, ACLINT_SSWI, switches the
irqchip driver on, and on a SpacemiT K3 board I saw errors from that
driver at boot. Guo Ren posted a series for the same driver on
2026-11-29 [6]. I will touch the entry in a separate series after more
analysis.

Based on riscv/for-next.

[1] https://lore.kernel.org/r/20260317-arm_defconf_cleanup-v1-0-8eecb7fdd24d@kernel.org
[2] https://lore.kernel.org/r/febd0f7e-59f3-4ba4-8706-53c7353e3fe5@kernel.org
[3] https://lore.kernel.org/r/9d0bb966-91ab-49c2-ac45-204b1bf0e666@kernel.org
[4] https://lore.kernel.org/r/20260429-defconfig-v2-0-e4ed4186028b@oss.qualcomm.com
[5] https://lore.kernel.org/r/20261111220718.2586239-1-takano32@gmail.com
[6] https://lore.kernel.org/r/20261129-sswi-v1-0-003d9b8b9588@kernel.org

Signed-off-by: Guodong Xu <guodong.xu@oss.qualcomm.com>
---
Guodong Xu (8):
      riscv: defconfig: drop unused legacy netfilter options
      riscv: defconfig: drop the removed NFS_V4_1 option
      dmaengine: mmp_pdma: enable by default for ARCH_SPACEMIT
      riscv: defconfig: drop the MMP_PDMA entry
      riscv: defconfig: drop IP_NF_TARGET_REDIRECT
      riscv: defconfig: drop default or selected options
      riscv: defconfig: list two crypto options as modules
      riscv: defconfig: move entries to match savedefconfig

 arch/riscv/configs/defconfig | 21 ++++-----------------
 drivers/dma/Kconfig          |  1 +
 2 files changed, 5 insertions(+), 17 deletions(-)
---
base-commit: 2359fc3f3501b9de725c1f5699344c3ad11ac607
change-id: 20261129-riscv-defconfig-cleanup-41cfbee7a5d5

Best regards,
--  
Guodong Xu <guodong.xu@oss.qualcomm.com>


_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [PATCH 1/8] riscv: defconfig: drop unused legacy netfilter options
  2026-11-29 12:40 [PATCH 0/8] riscv: defconfig: refresh with savedefconfig Guodong Xu
@ 2026-11-29 12:40 ` Guodong Xu
  2026-11-30  8:41   ` Vincent Mailhol (Arm)
  2026-11-29 12:40 ` [PATCH 2/8] riscv: defconfig: drop the removed NFS_V4_1 option Guodong Xu
                   ` (7 subsequent siblings)
  8 siblings, 1 reply; 12+ messages in thread
From: Guodong Xu @ 2026-11-29 12:40 UTC (permalink / raw)
  To: Paul Walmsley, Palmer Dabbelt, Albert Ou, Alexandre Ghiti,
	Yixun Lan, Vinod Koul, Frank Li
  Cc: Vincent Mailhol (Arm), Krzysztof Kozlowski, Guo Ren, linux-riscv,
	dmaengine, Guodong Xu

Since commit 9fce66583f06 ("netfilter: Exclude LEGACY TABLES on
PREEMPT_RT.") these options depend on IP_NF_IPTABLES_LEGACY or
IP6_NF_IPTABLES_LEGACY. The defconfig enables neither, so the entries
have no effect. arm64 dropped the same entries in commit a54929fb60ed
("arm64: defconfig: Drop unused legacy netfilter options").

Vincent Mailhol posted this removal for all architectures in March
2026 [1].

The resulting .config does not change.

Link: https://lore.kernel.org/r/20260317-arm_defconf_cleanup-v1-2-8eecb7fdd24d@kernel.org [1]
Co-developed-by: Vincent Mailhol (Arm) <mailhol@kernel.org>
Signed-off-by: Vincent Mailhol (Arm) <mailhol@kernel.org>
Acked-by: Paul Walmsley <pjw@kernel.org> # arch/riscv
Signed-off-by: Guodong Xu <guodong.xu@oss.qualcomm.com>
---
Paul Walmsley acked the arch/riscv part of [1] in [2]. Krzysztof
Kozlowski asked for the series to be split per architecture [3]; it was
not posted again, and Vincent has since said that anyone may pick up or
rework its patches [4]. arm64 dropped its entries through Krzysztof's
arm64 defconfig series [5] (the commit named above).

This is the RISC-V part: the arch/riscv hunk of [1], with Vincent's
Signed-off-by and Paul's Acked-by carried over.

[2] https://lore.kernel.org/r/576cec38-a5e4-5391-2a57-b164e84a813f@kernel.org
[3] https://lore.kernel.org/r/febd0f7e-59f3-4ba4-8706-53c7353e3fe5@kernel.org
[4] https://lore.kernel.org/r/9d0bb966-91ab-49c2-ac45-204b1bf0e666@kernel.org
[5] https://lore.kernel.org/r/20260429-defconfig-v2-0-e4ed4186028b@oss.qualcomm.com
---
 arch/riscv/configs/defconfig | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/arch/riscv/configs/defconfig b/arch/riscv/configs/defconfig
index 383fdd07a99f8..c233c1e865b87 100644
--- a/arch/riscv/configs/defconfig
+++ b/arch/riscv/configs/defconfig
@@ -81,18 +81,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

-- 
2.43.0


_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

^ permalink raw reply related	[flat|nested] 12+ messages in thread

* [PATCH 2/8] riscv: defconfig: drop the removed NFS_V4_1 option
  2026-11-29 12:40 [PATCH 0/8] riscv: defconfig: refresh with savedefconfig Guodong Xu
  2026-11-29 12:40 ` [PATCH 1/8] riscv: defconfig: drop unused legacy netfilter options Guodong Xu
@ 2026-11-29 12:40 ` Guodong Xu
  2026-11-30  8:41   ` Vincent Mailhol (Arm)
  2026-11-29 12:40 ` [PATCH 3/8] dmaengine: mmp_pdma: enable by default for ARCH_SPACEMIT Guodong Xu
                   ` (6 subsequent siblings)
  8 siblings, 1 reply; 12+ messages in thread
From: Guodong Xu @ 2026-11-29 12:40 UTC (permalink / raw)
  To: Paul Walmsley, Palmer Dabbelt, Albert Ou, Alexandre Ghiti,
	Yixun Lan, Vinod Koul, Frank Li
  Cc: Vincent Mailhol (Arm), Krzysztof Kozlowski, Guo Ren, linux-riscv,
	dmaengine, Guodong Xu

Commit 7537db24806f ("NFS: Merge CONFIG_NFS_V4_1 with CONFIG_NFS_V4")
removed NFS_V4_1 and made NFS v4.1 an always enabled part of NFS_V4,
which the defconfig enables. The entry has no effect.

Vincent Mailhol posted this removal for all architectures in March
2026 [1].

The resulting .config does not change.

Link: https://lore.kernel.org/r/20260317-arm_defconf_cleanup-v1-3-8eecb7fdd24d@kernel.org [1]
Co-developed-by: Vincent Mailhol (Arm) <mailhol@kernel.org>
Signed-off-by: Vincent Mailhol (Arm) <mailhol@kernel.org>
Acked-by: Paul Walmsley <pjw@kernel.org> # arch/riscv
Signed-off-by: Guodong Xu <guodong.xu@oss.qualcomm.com>
---
Paul Walmsley acked the arch/riscv part of [1] in [2]. Krzysztof
Kozlowski asked for the series to be split per architecture [3]; it was
not posted again, and Vincent has since said that anyone may pick up or
rework its patches [4]. arm64 dropped its entry through a patch that
is applied in the soc tree, branch soc/defconfig [5].

This is the RISC-V part: the arch/riscv hunk of [1], with Vincent's
Signed-off-by and Paul's Acked-by carried over.

[2] https://lore.kernel.org/r/2a5bb9cf-3f0c-6069-6412-cd4c5c4e8b78@kernel.org
[3] https://lore.kernel.org/r/febd0f7e-59f3-4ba4-8706-53c7353e3fe5@kernel.org
[4] https://lore.kernel.org/r/9d0bb966-91ab-49c2-ac45-204b1bf0e666@kernel.org
[5] https://lore.kernel.org/r/20261111220718.2586239-1-takano32@gmail.com
---
 arch/riscv/configs/defconfig | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/riscv/configs/defconfig b/arch/riscv/configs/defconfig
index c233c1e865b87..f2cf025653978 100644
--- a/arch/riscv/configs/defconfig
+++ b/arch/riscv/configs/defconfig
@@ -288,7 +288,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

-- 
2.43.0


_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

^ permalink raw reply related	[flat|nested] 12+ messages in thread

* [PATCH 3/8] dmaengine: mmp_pdma: enable by default for ARCH_SPACEMIT
  2026-11-29 12:40 [PATCH 0/8] riscv: defconfig: refresh with savedefconfig Guodong Xu
  2026-11-29 12:40 ` [PATCH 1/8] riscv: defconfig: drop unused legacy netfilter options Guodong Xu
  2026-11-29 12:40 ` [PATCH 2/8] riscv: defconfig: drop the removed NFS_V4_1 option Guodong Xu
@ 2026-11-29 12:40 ` Guodong Xu
  2026-11-29 12:40 ` [PATCH 4/8] riscv: defconfig: drop the MMP_PDMA entry Guodong Xu
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 12+ messages in thread
From: Guodong Xu @ 2026-11-29 12:40 UTC (permalink / raw)
  To: Paul Walmsley, Palmer Dabbelt, Albert Ou, Alexandre Ghiti,
	Yixun Lan, Vinod Koul, Frank Li
  Cc: Vincent Mailhol (Arm), Krzysztof Kozlowski, Guo Ren, linux-riscv,
	dmaengine, Guodong Xu

On SpacemiT K3 the PDMA controller serves the SPI and the I2S
controllers, on K1 the SPI controller. For these platforms MMP_PDMA is
only enabled through an "imply" in the Kconfig entry of the SPI driver,
SPI_SPACEMIT_K1. A configuration without that SPI driver loses the DMA
driver as well, although I2S needs it too.

Give MMP_PDMA a default of its own for ARCH_SPACEMIT, as
SPI_SPACEMIT_K1 and other SpacemiT drivers have.

Signed-off-by: Guodong Xu <guodong.xu@oss.qualcomm.com>
---
The imply in SPI_SPACEMIT_K1 is left as it is.
---
 drivers/dma/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/dma/Kconfig b/drivers/dma/Kconfig
index 01f96a8257e50..eef2147c10e5f 100644
--- a/drivers/dma/Kconfig
+++ b/drivers/dma/Kconfig
@@ -438,6 +438,7 @@ config MILBEAUT_XDMAC
 config MMP_PDMA
 	tristate "MMP PDMA support"
 	depends on ARCH_MMP || ARCH_PXA || ARCH_SPACEMIT || COMPILE_TEST
+	default m if ARCH_SPACEMIT
 	select DMA_ENGINE
 	help
 	  Support the MMP PDMA engine for PXA and MMP platform.

-- 
2.43.0


_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

^ permalink raw reply related	[flat|nested] 12+ messages in thread

* [PATCH 4/8] riscv: defconfig: drop the MMP_PDMA entry
  2026-11-29 12:40 [PATCH 0/8] riscv: defconfig: refresh with savedefconfig Guodong Xu
                   ` (2 preceding siblings ...)
  2026-11-29 12:40 ` [PATCH 3/8] dmaengine: mmp_pdma: enable by default for ARCH_SPACEMIT Guodong Xu
@ 2026-11-29 12:40 ` Guodong Xu
  2026-11-29 12:40 ` [PATCH 5/8] riscv: defconfig: drop IP_NF_TARGET_REDIRECT Guodong Xu
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 12+ messages in thread
From: Guodong Xu @ 2026-11-29 12:40 UTC (permalink / raw)
  To: Paul Walmsley, Palmer Dabbelt, Albert Ou, Alexandre Ghiti,
	Yixun Lan, Vinod Koul, Frank Li
  Cc: Vincent Mailhol (Arm), Krzysztof Kozlowski, Guo Ren, linux-riscv,
	dmaengine, Guodong Xu

MMP_PDMA is currently enabled through an imply in SPI_SPACEMIT_K1,
which defaults to m with ARCH_SPACEMIT. It stays enabled without an
entry of its own.

The resulting .config does not change.

Signed-off-by: Guodong Xu <guodong.xu@oss.qualcomm.com>
---
For information: the dmaengine patch of this series gives MMP_PDMA a
default of its own for ARCH_SPACEMIT.
---
 arch/riscv/configs/defconfig | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/riscv/configs/defconfig b/arch/riscv/configs/defconfig
index f2cf025653978..d6ca6956ce918 100644
--- a/arch/riscv/configs/defconfig
+++ b/arch/riscv/configs/defconfig
@@ -244,7 +244,6 @@ CONFIG_RTC_DRV_SUN6I=y
 CONFIG_DMADEVICES=y
 CONFIG_DMA_SUN6I=m
 CONFIG_DW_AXI_DMAC=y
-CONFIG_MMP_PDMA=m
 CONFIG_VIRTIO_PCI=y
 CONFIG_VIRTIO_BALLOON=y
 CONFIG_VIRTIO_INPUT=y

-- 
2.43.0


_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

^ permalink raw reply related	[flat|nested] 12+ messages in thread

* [PATCH 5/8] riscv: defconfig: drop IP_NF_TARGET_REDIRECT
  2026-11-29 12:40 [PATCH 0/8] riscv: defconfig: refresh with savedefconfig Guodong Xu
                   ` (3 preceding siblings ...)
  2026-11-29 12:40 ` [PATCH 4/8] riscv: defconfig: drop the MMP_PDMA entry Guodong Xu
@ 2026-11-29 12:40 ` Guodong Xu
  2026-11-29 12:40 ` [PATCH 6/8] riscv: defconfig: drop default or selected options Guodong Xu
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 12+ messages in thread
From: Guodong Xu @ 2026-11-29 12:40 UTC (permalink / raw)
  To: Paul Walmsley, Palmer Dabbelt, Albert Ou, Alexandre Ghiti,
	Yixun Lan, Vinod Koul, Frank Li
  Cc: Vincent Mailhol (Arm), Krzysztof Kozlowski, Guo Ren, linux-riscv,
	dmaengine, Guodong Xu

The defconfig lists IP_NF_TARGET_REDIRECT as =m, but the option is only
visible with IP_NF_NAT, which needs IP_NF_IPTABLES_LEGACY. The defconfig
does not enable that, so Kconfig drops the entry and nothing is built
for it.

The resulting .config does not change.

Signed-off-by: Guodong Xu <guodong.xu@oss.qualcomm.com>
---
 arch/riscv/configs/defconfig | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/riscv/configs/defconfig b/arch/riscv/configs/defconfig
index d6ca6956ce918..6733f3fbcb446 100644
--- a/arch/riscv/configs/defconfig
+++ b/arch/riscv/configs/defconfig
@@ -81,7 +81,6 @@ CONFIG_IP_VS_NFCT=y
 CONFIG_NF_LOG_ARP=m
 CONFIG_NF_LOG_IPV4=m
 CONFIG_IP_NF_IPTABLES=m
-CONFIG_IP_NF_TARGET_REDIRECT=m
 CONFIG_NF_LOG_IPV6=m
 CONFIG_IP6_NF_IPTABLES=m
 CONFIG_IP6_NF_MATCH_IPV6HEADER=m

-- 
2.43.0


_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

^ permalink raw reply related	[flat|nested] 12+ messages in thread

* [PATCH 6/8] riscv: defconfig: drop default or selected options
  2026-11-29 12:40 [PATCH 0/8] riscv: defconfig: refresh with savedefconfig Guodong Xu
                   ` (4 preceding siblings ...)
  2026-11-29 12:40 ` [PATCH 5/8] riscv: defconfig: drop IP_NF_TARGET_REDIRECT Guodong Xu
@ 2026-11-29 12:40 ` Guodong Xu
  2026-11-29 12:40 ` [PATCH 7/8] riscv: defconfig: list two crypto options as modules Guodong Xu
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 12+ messages in thread
From: Guodong Xu @ 2026-11-29 12:40 UTC (permalink / raw)
  To: Paul Walmsley, Palmer Dabbelt, Albert Ou, Alexandre Ghiti,
	Yixun Lan, Vinod Koul, Frank Li
  Cc: Vincent Mailhol (Arm), Krzysztof Kozlowski, Guo Ren, linux-riscv,
	dmaengine, Guodong Xu

BLK_CGROUP is selected by MEMCG and USB_CDNS3_STARFIVE defaults to
USB_CDNS3. They stay enabled without an entry of their own.

The resulting .config does not change.

Signed-off-by: Guodong Xu <guodong.xu@oss.qualcomm.com>
---
 arch/riscv/configs/defconfig | 2 --
 1 file changed, 2 deletions(-)

diff --git a/arch/riscv/configs/defconfig b/arch/riscv/configs/defconfig
index 6733f3fbcb446..38d81e8598b3b 100644
--- a/arch/riscv/configs/defconfig
+++ b/arch/riscv/configs/defconfig
@@ -7,7 +7,6 @@ CONFIG_IKCONFIG=y
 CONFIG_IKCONFIG_PROC=y
 CONFIG_CGROUPS=y
 CONFIG_MEMCG=y
-CONFIG_BLK_CGROUP=y
 CONFIG_CGROUP_SCHED=y
 CONFIG_CFS_BANDWIDTH=y
 CONFIG_CGROUP_PIDS=y
@@ -211,7 +210,6 @@ CONFIG_USB_CDNS_SUPPORT=m
 CONFIG_USB_CDNS3=m
 CONFIG_USB_CDNS3_GADGET=y
 CONFIG_USB_CDNS3_HOST=y
-CONFIG_USB_CDNS3_STARFIVE=m
 CONFIG_USB_MUSB_HDRC=m
 CONFIG_USB_MUSB_SUNXI=m
 CONFIG_USB_ONBOARD_DEV=m

-- 
2.43.0


_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

^ permalink raw reply related	[flat|nested] 12+ messages in thread

* [PATCH 7/8] riscv: defconfig: list two crypto options as modules
  2026-11-29 12:40 [PATCH 0/8] riscv: defconfig: refresh with savedefconfig Guodong Xu
                   ` (5 preceding siblings ...)
  2026-11-29 12:40 ` [PATCH 6/8] riscv: defconfig: drop default or selected options Guodong Xu
@ 2026-11-29 12:40 ` Guodong Xu
  2026-11-29 12:40 ` [PATCH 8/8] riscv: defconfig: move entries to match savedefconfig Guodong Xu
  2026-11-30  8:41 ` [PATCH 0/8] riscv: defconfig: refresh with savedefconfig Vincent Mailhol (Arm)
  8 siblings, 0 replies; 12+ messages in thread
From: Guodong Xu @ 2026-11-29 12:40 UTC (permalink / raw)
  To: Paul Walmsley, Palmer Dabbelt, Albert Ou, Alexandre Ghiti,
	Yixun Lan, Vinod Koul, Frank Li
  Cc: Vincent Mailhol (Arm), Krzysztof Kozlowski, Guo Ren, linux-riscv,
	dmaengine, Guodong Xu

CRYPTO_USER_API_HASH and CRYPTO_DEV_VIRTIO are listed as =y but are
built as modules, because CRYPTO is a module. List them as =m, which
is what they are and what savedefconfig writes.

The resulting .config does not change.

Signed-off-by: Guodong Xu <guodong.xu@oss.qualcomm.com>
---
 arch/riscv/configs/defconfig | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/riscv/configs/defconfig b/arch/riscv/configs/defconfig
index 38d81e8598b3b..7c5c53a039705 100644
--- a/arch/riscv/configs/defconfig
+++ b/arch/riscv/configs/defconfig
@@ -293,8 +293,8 @@ CONFIG_SECURITY=y
 CONFIG_SECURITY_SELINUX=y
 CONFIG_SECURITY_APPARMOR=y
 CONFIG_DEFAULT_SECURITY_DAC=y
-CONFIG_CRYPTO_USER_API_HASH=y
-CONFIG_CRYPTO_DEV_VIRTIO=y
+CONFIG_CRYPTO_USER_API_HASH=m
+CONFIG_CRYPTO_DEV_VIRTIO=m
 CONFIG_PRINTK_TIME=y
 CONFIG_DEBUG_KERNEL=y
 CONFIG_DEBUG_FS=y

-- 
2.43.0


_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

^ permalink raw reply related	[flat|nested] 12+ messages in thread

* [PATCH 8/8] riscv: defconfig: move entries to match savedefconfig
  2026-11-29 12:40 [PATCH 0/8] riscv: defconfig: refresh with savedefconfig Guodong Xu
                   ` (6 preceding siblings ...)
  2026-11-29 12:40 ` [PATCH 7/8] riscv: defconfig: list two crypto options as modules Guodong Xu
@ 2026-11-29 12:40 ` Guodong Xu
  2026-11-30  8:41 ` [PATCH 0/8] riscv: defconfig: refresh with savedefconfig Vincent Mailhol (Arm)
  8 siblings, 0 replies; 12+ messages in thread
From: Guodong Xu @ 2026-11-29 12:40 UTC (permalink / raw)
  To: Paul Walmsley, Palmer Dabbelt, Albert Ou, Alexandre Ghiti,
	Yixun Lan, Vinod Koul, Frank Li
  Cc: Vincent Mailhol (Arm), Krzysztof Kozlowski, Guo Ren, linux-riscv,
	dmaengine, Guodong Xu

DRM_RADEON and USB_CDNS3_GADGET are not where 'make savedefconfig'
puts them. A patch that adds an option at the place savedefconfig
gives it then sits next to entries that are out of order, and whoever
regenerates the file gets unrelated hunks.

Move the two entries. The resulting .config does not change.

Signed-off-by: Guodong Xu <guodong.xu@oss.qualcomm.com>
---
 arch/riscv/configs/defconfig | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/riscv/configs/defconfig b/arch/riscv/configs/defconfig
index 7c5c53a039705..25b1b8f885ebf 100644
--- a/arch/riscv/configs/defconfig
+++ b/arch/riscv/configs/defconfig
@@ -183,8 +183,8 @@ CONFIG_MEDIA_SUPPORT=m
 CONFIG_MEDIA_PLATFORM_SUPPORT=y
 CONFIG_VIDEO_CADENCE_CSI2RX=m
 CONFIG_DRM=m
-CONFIG_DRM_RADEON=m
 CONFIG_DRM_NOUVEAU=m
+CONFIG_DRM_RADEON=m
 CONFIG_DRM_SUN4I=m
 CONFIG_DRM_VIRTIO_GPU=m
 CONFIG_FB=y
@@ -208,8 +208,8 @@ CONFIG_USB_STORAGE=y
 CONFIG_USB_UAS=y
 CONFIG_USB_CDNS_SUPPORT=m
 CONFIG_USB_CDNS3=m
-CONFIG_USB_CDNS3_GADGET=y
 CONFIG_USB_CDNS3_HOST=y
+CONFIG_USB_CDNS3_GADGET=y
 CONFIG_USB_MUSB_HDRC=m
 CONFIG_USB_MUSB_SUNXI=m
 CONFIG_USB_ONBOARD_DEV=m

-- 
2.43.0


_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

^ permalink raw reply related	[flat|nested] 12+ messages in thread

* Re: [PATCH 1/8] riscv: defconfig: drop unused legacy netfilter options
  2026-11-29 12:40 ` [PATCH 1/8] riscv: defconfig: drop unused legacy netfilter options Guodong Xu
@ 2026-11-30  8:41   ` Vincent Mailhol (Arm)
  0 siblings, 0 replies; 12+ messages in thread
From: Vincent Mailhol (Arm) @ 2026-11-30  8:41 UTC (permalink / raw)
  To: Guodong Xu, Paul Walmsley, Palmer Dabbelt, Albert Ou,
	Alexandre Ghiti, Yixun Lan, Vinod Koul, Frank Li
  Cc: Krzysztof Kozlowski, Guo Ren, linux-riscv, dmaengine, Guodong Xu

On 11/29/26 13:40, Guodong Xu wrote:
> Since commit 9fce66583f06 ("netfilter: Exclude LEGACY TABLES on
> PREEMPT_RT.") these options depend on IP_NF_IPTABLES_LEGACY or
> IP6_NF_IPTABLES_LEGACY. The defconfig enables neither, so the entries
> have no effect. arm64 dropped the same entries in commit a54929fb60ed
> ("arm64: defconfig: Drop unused legacy netfilter options").
> 
> Vincent Mailhol posted this removal for all architectures in March
> 2026 [1].
> 
> The resulting .config does not change.
> 
> Link: https://lore.kernel.org/r/20260317-arm_defconf_cleanup-v1-2-8eecb7fdd24d@kernel.org [1]
> Co-developed-by: Vincent Mailhol (Arm) <mailhol@kernel.org>
> Signed-off-by: Vincent Mailhol (Arm) <mailhol@kernel.org>
> Acked-by: Paul Walmsley <pjw@kernel.org> # arch/riscv
> Signed-off-by: Guodong Xu <guodong.xu@oss.qualcomm.com>

Acked-by: Vincent Mailhol (Arm) <mailhol@kernel.org>


Yours sincerely,
Vincent Mailhol


_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PATCH 2/8] riscv: defconfig: drop the removed NFS_V4_1 option
  2026-11-29 12:40 ` [PATCH 2/8] riscv: defconfig: drop the removed NFS_V4_1 option Guodong Xu
@ 2026-11-30  8:41   ` Vincent Mailhol (Arm)
  0 siblings, 0 replies; 12+ messages in thread
From: Vincent Mailhol (Arm) @ 2026-11-30  8:41 UTC (permalink / raw)
  To: Guodong Xu, Paul Walmsley, Palmer Dabbelt, Albert Ou,
	Alexandre Ghiti, Yixun Lan, Vinod Koul, Frank Li
  Cc: Vincent Mailhol (Arm), Krzysztof Kozlowski, Guo Ren, linux-riscv,
	dmaengine, Guodong Xu

On 11/29/26 13:40, Guodong Xu wrote:
> Commit 7537db24806f ("NFS: Merge CONFIG_NFS_V4_1 with CONFIG_NFS_V4")
> removed NFS_V4_1 and made NFS v4.1 an always enabled part of NFS_V4,
> which the defconfig enables. The entry has no effect.
> 
> Vincent Mailhol posted this removal for all architectures in March
> 2026 [1].
> 
> The resulting .config does not change.
> 
> Link: https://lore.kernel.org/r/20260317-arm_defconf_cleanup-v1-3-8eecb7fdd24d@kernel.org [1]
> Co-developed-by: Vincent Mailhol (Arm) <mailhol@kernel.org>
> Signed-off-by: Vincent Mailhol (Arm) <mailhol@kernel.org>
> Acked-by: Paul Walmsley <pjw@kernel.org> # arch/riscv
> Signed-off-by: Guodong Xu <guodong.xu@oss.qualcomm.com>

Acked-by: Vincent Mailhol (Arm) <mailhol@kernel.org>


Yours sincerely,
Vincent Mailhol


_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PATCH 0/8] riscv: defconfig: refresh with savedefconfig
  2026-11-29 12:40 [PATCH 0/8] riscv: defconfig: refresh with savedefconfig Guodong Xu
                   ` (7 preceding siblings ...)
  2026-11-29 12:40 ` [PATCH 8/8] riscv: defconfig: move entries to match savedefconfig Guodong Xu
@ 2026-11-30  8:41 ` Vincent Mailhol (Arm)
  8 siblings, 0 replies; 12+ messages in thread
From: Vincent Mailhol (Arm) @ 2026-11-30  8:41 UTC (permalink / raw)
  To: Guodong Xu, Paul Walmsley, Palmer Dabbelt, Albert Ou,
	Alexandre Ghiti, Yixun Lan, Vinod Koul, Frank Li
  Cc: Krzysztof Kozlowski, Guo Ren, linux-riscv, dmaengine, Guodong Xu

On 11/29/26 13:40, Guodong Xu wrote:
> While bringing the RISC-V defconfig back in line with what
> 'make savedefconfig' writes, I found several entries that need more
> than a move. This series is for that work. It is grouped by them:
> 
> 1) Patches 1 and 2: entries without effect, the legacy netfilter
>    options and NFS_V4_1. Vincent Mailhol posted both removals in March
>    as part of a treewide cleanup [1], and Paul Walmsley acked them for
>    arch/riscv. Krzysztof Kozlowski asked for the series to be split per
>    architecture [2]; it was not posted again, and Vincent has since
>    said that anyone may pick up or rework its patches [3]. arm64 has
>    dropped both since: the netfilter entries through Krzysztof's
>    series [4], NFS_V4_1 through a patch in the soc tree, branch
>    soc/defconfig [5]. These two patches are the RISC-V part, each the
>    arch/riscv hunk Paul acked, with his Acked-by carried over. They
>    also carry Vincent's Co-developed-by and Signed-off-by from the
>    originals, under a new commit message. Vincent, please say so if
>    you would rather not have your tags on them.

No problem on my side. Thanks for picking up my patches! I just sent my
acked-by on those two patches.


Yours sincerely,
Vincent Mailhol


_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2026-11-30  8:42 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-29 12:40 [PATCH 0/8] riscv: defconfig: refresh with savedefconfig Guodong Xu
2026-11-29 12:40 ` [PATCH 1/8] riscv: defconfig: drop unused legacy netfilter options Guodong Xu
2026-11-30  8:41   ` Vincent Mailhol (Arm)
2026-11-29 12:40 ` [PATCH 2/8] riscv: defconfig: drop the removed NFS_V4_1 option Guodong Xu
2026-11-30  8:41   ` Vincent Mailhol (Arm)
2026-11-29 12:40 ` [PATCH 3/8] dmaengine: mmp_pdma: enable by default for ARCH_SPACEMIT Guodong Xu
2026-11-29 12:40 ` [PATCH 4/8] riscv: defconfig: drop the MMP_PDMA entry Guodong Xu
2026-11-29 12:40 ` [PATCH 5/8] riscv: defconfig: drop IP_NF_TARGET_REDIRECT Guodong Xu
2026-11-29 12:40 ` [PATCH 6/8] riscv: defconfig: drop default or selected options Guodong Xu
2026-11-29 12:40 ` [PATCH 7/8] riscv: defconfig: list two crypto options as modules Guodong Xu
2026-11-29 12:40 ` [PATCH 8/8] riscv: defconfig: move entries to match savedefconfig Guodong Xu
2026-11-30  8:41 ` [PATCH 0/8] riscv: defconfig: refresh with savedefconfig Vincent Mailhol (Arm)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox