mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jon Hunter <jonathanh@nvidia.com>
To: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>,
	Geert Uytterhoeven <geert@linux-m68k.org>,
	Prabhakar <prabhakar.csengg@gmail.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>,
	Will Deacon <will@kernel.org>,
	Bjorn Andersson <bjorn.andersson@oss.qualcomm.com>,
	linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org,
	Biju Das <biju.das.jz@bp.renesas.com>,
	Fabrizio Castro <fabrizio.castro.jz@renesas.com>,
	Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>,
	"linux-tegra@vger.kernel.org" <linux-tegra@vger.kernel.org>
Subject: Re: [PATCH] arm64: defconfig: Build STMMAC Ethernet driver into the kernel for NFS boot
Date: Thu, 12 Jun 2025 13:20:32 +0100	[thread overview]
Message-ID: <d05f2c03-fa86-4fc6-9b81-1a7b5592c2e8@nvidia.com> (raw)
In-Reply-To: <bdd989b4-a572-44c2-ae7b-2c445c09fd7a@linaro.org>

Hi Geert,

On 23/05/2025 12:54, Krzysztof Kozlowski wrote:
> On 23/05/2025 13:39, Geert Uytterhoeven wrote:
>> On Tue, 6 May 2025 at 12:47, Prabhakar <prabhakar.csengg@gmail.com> wrote:
>>> From: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
>>>
>>> Enable `CONFIG_STMMAC_ETH` as built-in (`y`) instead of a module (`m`) to
>>> ensure the Ethernet driver is available early in the boot process. This
>>> is necessary for platforms mounting the root filesystem via NFS, as the
>>> driver must be available before the root filesystem is accessed.
>>>
>>> Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
>>> ---
>>> With this change, the Renesas RZ/V2H EVK board can boot from NFS
>>> which has the DWMAC IP.
>>
>> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
>> i.e. will queue in renesas-devel for v6.17.
> 
> With my Nacked, please.


I was surprised to see this change in -next. We also use NFS for testing 
and we use the dwmac drivers. To date we are explictly building these 
drivers into the initramfs but I noticed that that is now failing 
because this driver is no longer a module by default. This is easy for 
us to fix.

I do agree that if we start to build every networking driver into the 
kernel it is going to bloat. Yes I do see the kernel image growing 
regardless of this, but nonetheless it seems better to just build as a 
module IMO.

Jon

-- 
nvpublic


  reply	other threads:[~2025-06-12 12:20 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-05-06 10:47 Prabhakar
2025-05-06 10:52 ` Krzysztof Kozlowski
2025-05-06 11:12   ` Lad, Prabhakar
2025-05-06 12:42   ` Geert Uytterhoeven
2025-05-06 13:14     ` Krzysztof Kozlowski
2025-05-23 11:39 ` Geert Uytterhoeven
2025-05-23 11:54   ` Krzysztof Kozlowski
2025-06-12 12:20     ` Jon Hunter [this message]
2025-06-12 12:34       ` Geert Uytterhoeven
2025-06-12 13:15         ` Krzysztof Kozlowski
2025-06-12 14:30         ` Thierry Reding
2025-06-19 15:07           ` Geert Uytterhoeven

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=d05f2c03-fa86-4fc6-9b81-1a7b5592c2e8@nvidia.com \
    --to=jonathanh@nvidia.com \
    --cc=biju.das.jz@bp.renesas.com \
    --cc=bjorn.andersson@oss.qualcomm.com \
    --cc=catalin.marinas@arm.com \
    --cc=fabrizio.castro.jz@renesas.com \
    --cc=geert@linux-m68k.org \
    --cc=krzysztof.kozlowski@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-renesas-soc@vger.kernel.org \
    --cc=linux-tegra@vger.kernel.org \
    --cc=prabhakar.csengg@gmail.com \
    --cc=prabhakar.mahadev-lad.rj@bp.renesas.com \
    --cc=will@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®