Skip to contentSkip to conversation

ARM: multi_v7_defconfig: ti: Enable networking options for nfs boot

PATCH Applied Grygorii Strashko 3 participants 6 messages Oct 30, 2020 – Nov 23, 2020 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 ARM: multi_v7_defconfig: ti: Enable networking options for nfs boot

Enable networking options required for NFS boot on TI platforms, which is widely for automated test systems.
- enable new TI CPSW switch driver and related NET_SWITCHDEV config
- enable TI DP83867 phy
- explicitly enable PTP clock support to ensure dependent networking drivers will stay built-in.

vmlinux size changes:
- before:
text data bss dec hex filename
14703736 8024602 444976 23173314 16198c2 ./omap-arm/vmlinux

- after:
text data bss dec hex filename
14727271 8029150 444528 23200949 16204b5 ./omap-arm/vmlinux

diff: 27635 (dec)

---

changes in v2:
- rebased on top of 5.10-rc1
- commit mesage updated

 arch/arm/configs/multi_v7_defconfig | 5 +++++
 1 file changed, 5 insertions(+)
arch/arm/configs/multi_v7_defconfig +5 -0
index e731cdf7c88c..32aaec92736b 100644
@@ -154,6 +154,7 @@ CONFIG_INET6_IPCOMP=m
 CONFIG_IPV6_MIP6=m
 CONFIG_IPV6_TUNNEL=m
 CONFIG_IPV6_MULTIPLE_TABLES=y
+CONFIG_NET_SWITCHDEV=y
 CONFIG_NET_DSA=m
 CONFIG_CAN=y
 CONFIG_CAN_AT91=m
@@ -270,9 +271,12 @@ CONFIG_SNI_AVE=y
 CONFIG_STMMAC_ETH=y
 CONFIG_DWMAC_DWC_QOS_ETH=y
 CONFIG_TI_CPSW=y
+CONFIG_TI_CPSW_SWITCHDEV=y
+CONFIG_TI_CPTS=y
 CONFIG_XILINX_EMACLITE=y
 CONFIG_BROADCOM_PHY=y
 CONFIG_ICPLUS_PHY=y
+CONFIG_DP83867_PHY=y
 CONFIG_MARVELL_PHY=y
 CONFIG_MICREL_PHY=y
 CONFIG_AT803X_PHY=y
@@ -436,6 +440,7 @@ CONFIG_SPI_TEGRA20_SLINK=y
 CONFIG_SPI_XILINX=y
 CONFIG_SPI_SPIDEV=y
 CONFIG_SPMI=y
+CONFIG_PTP_1588_CLOCK=y
 CONFIG_PINCTRL_AS3722=y
 CONFIG_PINCTRL_RZA2=y
 CONFIG_PINCTRL_STMFX=y
Signature · 1 line
2.17.1
#1 lore raw
Quoted 12 lines · Grygorii Strashko

Enable networking options required for NFS boot on TI platforms, which is widely for automated test systems.
- enable new TI CPSW switch driver and related NET_SWITCHDEV config
- enable TI DP83867 phy
- explicitly enable PTP clock support to ensure dependent networking drivers will stay built-in.

vmlinux size changes:
- before:
text data bss dec hex filename
14703736 8024602 444976 23173314 16198c2 ./omap-arm/vmlinux

Quoted 5 lines

- after:
text data bss dec hex filename
14727271 8029150 444528 23200949 16204b5 ./omap-arm/vmlinux

diff: 27635 (dec)

Thanks applying into omap-for-v5.11/defconfig.

Tony

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

#2 lore raw
Quoted 14 lines · Tony Lindgren
Quoted 12 lines · Grygorii Strashko

Enable networking options required for NFS boot on TI platforms, which is widely for automated test systems.
- enable new TI CPSW switch driver and related NET_SWITCHDEV config
- enable TI DP83867 phy
- explicitly enable PTP clock support to ensure dependent networking drivers will stay built-in.

vmlinux size changes:
- before:
text data bss dec hex filename
14703736 8024602 444976 23173314 16198c2 ./omap-arm/vmlinux

Quoted 7 lines
Quoted 5 lines

- after:
text data bss dec hex filename
14727271 8029150 444528 23200949 16204b5 ./omap-arm/vmlinux

diff: 27635 (dec)

Thanks applying into omap-for-v5.11/defconfig.

Oops, I just applied it as well (as it was sent to [email protected] it appeared in patchwork) and I noticed too late that you already had it. Should I remove it at my end, can you just drop your copy?

Arnd

#3 lore raw
Quoted 19 lines · Arnd Bergmann
Quoted 18 lines · Tony Lindgren
Quoted 16 lines · Grygorii Strashko

Enable networking options required for NFS boot on TI platforms, which is widely for automated test systems.
- enable new TI CPSW switch driver and related NET_SWITCHDEV config
- enable TI DP83867 phy
- explicitly enable PTP clock support to ensure dependent networking drivers will stay built-in.

vmlinux size changes:
- before:
text data bss dec hex filename
14703736 8024602 444976 23173314 16198c2 ./omap-arm/vmlinux

- after:
text data bss dec hex filename
14727271 8029150 444528 23200949 16204b5 ./omap-arm/vmlinux

Quoted 7 lines
Quoted 3 lines
Quoted 1 line

diff: 27635 (dec)

Thanks applying into omap-for-v5.11/defconfig.

Oops, I just applied it as well (as it was sent to [email protected] it appeared in patchwork) and I noticed too late that you already had it. Should I remove it at my end, can you just drop your copy?

Sure no problem, I'll drop my copy.

Regards,

Tony

#4 lore raw
Quoted 23 lines · Tony Lindgren
Quoted 21 lines · Arnd Bergmann
Quoted 20 lines · Tony Lindgren
Quoted 17 lines · Grygorii Strashko

Enable networking options required for NFS boot on TI platforms, which is widely for automated test systems.
- enable new TI CPSW switch driver and related NET_SWITCHDEV config
- enable TI DP83867 phy
- explicitly enable PTP clock support to ensure dependent networking drivers will stay built-in.

vmlinux size changes:
- before:
text data bss dec hex filename
14703736 8024602 444976 23173314 16198c2 ./omap-arm/vmlinux

- after:
text data bss dec hex filename
14727271 8029150 444528 23200949 16204b5 ./omap-arm/vmlinux

diff: 27635 (dec)

Quoted 7 lines
Quoted 5 lines
Quoted 1 line

Thanks applying into omap-for-v5.11/defconfig.

Oops, I just applied it as well (as it was sent to [email protected] it appeared in patchwork) and I noticed too late that you already had it. Should I remove it at my end, can you just drop your copy?

Sure no problem, I'll drop my copy.

Thanks!

Arnd

#5 lore raw
In reply to Grygorii Strashko

From: Arnd Bergmann <[email protected]>

Quoted 8 lines · Grygorii Strashko

Enable networking options required for NFS boot on TI platforms, which is widely for automated test systems.
- enable new TI CPSW switch driver and related NET_SWITCHDEV config
- enable TI DP83867 phy
- explicitly enable PTP clock support to ensure dependent networking drivers will stay built-in.

[...]

Applied to arm/defconfig, thanks!

[1/1] ARM: multi_v7_defconfig: ti: Enable networking options for nfs boot

      commit: 8195fceca0316c36c87db25750a5c5db84ded4e7

       Arnd