mbox series

[GIT,PULL,2/2] arm64: stratix10: defconfig update for v4.17

Message ID 1521834884-23795-2-git-send-email-dinguyen@kernel.org
State New
Headers show
Series [GIT,PULL,1/2] SoCFPGA DTS updates for v4.17 | expand

Pull-request

git://git.kernel.org/pub/scm/linux/kernel/git/dinguyen/linux.git tags/stratix10_defconfig_for_v4.17

Message

Dinh Nguyen March 23, 2018, 7:54 p.m. UTC
Hi Arnd, Kevin, and Olof:

Please consider pulling in this ARM64 defconfig update for v4.17.

Thanks,
Dinh

The following changes since commit 7928b2cbe55b2a410a0f5c1f154610059c57b1b2:

  Linux 4.16-rc1 (2018-02-11 15:04:29 -0800)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/dinguyen/linux.git tags/stratix10_defconfig_for_v4.17

for you to fetch changes up to 83d6e27e6856edf30845df8708b3b1e226ba5c7f:

  arm64: defconfig: enable stmmac ethernet to defconfig (2018-03-23 10:37:05 -0500)

----------------------------------------------------------------
ARM64: stratix10: defconfig updates for 4.17
-enables STMMAC_ETH controller that is present on Stratix10

----------------------------------------------------------------
Dinh Nguyen (1):
      arm64: defconfig: enable stmmac ethernet to defconfig

 arch/arm64/configs/defconfig | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

Comments

Dinh Nguyen March 27, 2018, 2:14 p.m. UTC | #1
On 03/27/2018 08:31 AM, Arnd Bergmann wrote:
> On Fri, Mar 23, 2018 at 8:54 PM, Dinh Nguyen <dinguyen@kernel.org> wrote:
> 
>> ----------------------------------------------------------------
>> ARM64: stratix10: defconfig updates for 4.17
>> -enables STMMAC_ETH controller that is present on Stratix10
> 
> I got a conflict against an earlier patch that enabled CONFIG_STMMAC_ETH=m
> and kept that version, as I see no need to have it built-in, see below for the
> merge conflict resolution.
> 
>      Arnd
> 
> diff --cc arch/arm64/configs/defconfig
> index 1d3b40615efb,a3ea32e4312f..5e4ff17a3ad8
> --- a/arch/arm64/configs/defconfig
> +++ b/arch/arm64/configs/defconfig
> @@@ -220,8 -209,12 +220,13 @@@ CONFIG_QCOM_EMAC=
>   CONFIG_RAVB=y
>   CONFIG_SMC91X=y
>   CONFIG_SMSC911X=y
>  -CONFIG_STMMAC_ETH=y
>  +CONFIG_SNI_NETSEC=y
>  +CONFIG_STMMAC_ETH=m
> + CONFIG_DWMAC_IPQ806X=m
> + CONFIG_DWMAC_MESON=m
> + CONFIG_DWMAC_ROCKCHIP=m
> + CONFIG_DWMAC_SUNXI=m
> + CONFIG_DWMAC_SUN8I=m
>   CONFIG_MDIO_BUS_MUX_MMIOREG=y
>   CONFIG_AT803X_PHY=m
>   CONFIG_MARVELL_PHY=m
> 

The Stratix10 SoC needs to use the stmmac ethernet driver if it the user
wants to mount a filesystem over NFS. Is there a way to load the
ethernet module during boot-up before trying to mount into a RFS?

Dinh
Arnd Bergmann March 28, 2018, 3:52 p.m. UTC | #2
On Tue, Mar 27, 2018 at 4:14 PM, Dinh Nguyen <dinguyen@kernel.org> wrote:
>
>
> On 03/27/2018 08:31 AM, Arnd Bergmann wrote:
>> On Fri, Mar 23, 2018 at 8:54 PM, Dinh Nguyen <dinguyen@kernel.org> wrote:
>>
>>> ----------------------------------------------------------------
>>> ARM64: stratix10: defconfig updates for 4.17
>>> -enables STMMAC_ETH controller that is present on Stratix10
>>
>> I got a conflict against an earlier patch that enabled CONFIG_STMMAC_ETH=m
>> and kept that version, as I see no need to have it built-in, see below for the
>> merge conflict resolution.
>
> The Stratix10 SoC needs to use the stmmac ethernet driver if it the user
> wants to mount a filesystem over NFS. Is there a way to load the
> ethernet module during boot-up before trying to mount into a RFS?

Yes, most distros do this using an initramfs. How common is that use
case for you? If there is a reason why initramfs adds too much complexity
to your workflow, we could still add it, but the preferred way is to have as
many modules as possible.

      arnd