diff mbox series

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

Message ID 20201030124650.20349-1-grygorii.strashko@ti.com (mailing list archive)
State Accepted
Commit 8195fceca0316c36c87db25750a5c5db84ded4e7
Headers show
Series [v2] ARM: multi_v7_defconfig: ti: Enable networking options for nfs boot | expand

Commit Message

Grygorii Strashko Oct. 30, 2020, 12:46 p.m. UTC
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)

Cc: Tony Lindgren <tony@atomide.com>
Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Reviewed-by: Nishanth Menon <nm@ti.com>
---

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(+)

Comments

Tony Lindgren Nov. 16, 2020, 9:04 a.m. UTC | #1
* Grygorii Strashko <grygorii.strashko@ti.com> [201030 14:47]:
> 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)

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

Tony
Arnd Bergmann Nov. 23, 2020, 4:51 p.m. UTC | #2
From: Arnd Bergmann <arnd@arndb.de>

On Fri, 30 Oct 2020 14:46:50 +0200, Grygorii Strashko wrote:
> 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
Arnd Bergmann Nov. 23, 2020, 4:54 p.m. UTC | #3
On Mon, Nov 16, 2020 at 10:04 AM Tony Lindgren <tony@atomide.com> wrote:
>
> * Grygorii Strashko <grygorii.strashko@ti.com> [201030 14:47]:
> > 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)
>
> Thanks applying into omap-for-v5.11/defconfig.

Oops, I just applied it as well (as it was sent to soc@kernel.org 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
Tony Lindgren Nov. 23, 2020, 5:27 p.m. UTC | #4
* Arnd Bergmann <arnd@kernel.org> [201123 16:55]:
> On Mon, Nov 16, 2020 at 10:04 AM Tony Lindgren <tony@atomide.com> wrote:
> >
> > * Grygorii Strashko <grygorii.strashko@ti.com> [201030 14:47]:
> > > 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)
> >
> > Thanks applying into omap-for-v5.11/defconfig.
> 
> Oops, I just applied it as well (as it was sent to soc@kernel.org 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
Arnd Bergmann Nov. 23, 2020, 6:22 p.m. UTC | #5
On Mon, Nov 23, 2020 at 6:27 PM Tony Lindgren <tony@atomide.com> wrote:
>
> * Arnd Bergmann <arnd@kernel.org> [201123 16:55]:
> > On Mon, Nov 16, 2020 at 10:04 AM Tony Lindgren <tony@atomide.com> wrote:
> > >
> > > * Grygorii Strashko <grygorii.strashko@ti.com> [201030 14:47]:
> > > > 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)
> > >
> > > Thanks applying into omap-for-v5.11/defconfig.
> >
> > Oops, I just applied it as well (as it was sent to soc@kernel.org 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
diff mbox series

Patch

diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig
index e731cdf7c88c..32aaec92736b 100644
--- a/arch/arm/configs/multi_v7_defconfig
+++ b/arch/arm/configs/multi_v7_defconfig
@@ -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