From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 4B112CCD1BE for ; Thu, 23 Oct 2025 15:53:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: Content-Type:In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date: Message-ID:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=0atqt29j38GuBRhYc4ja9297alyKMui/08oB1QhWzH4=; b=1atnZmwRvQgh6KvsuJj3W/vs9B nwvthbrFV9LcIvXLy8W2ji3umWAtOkXRGUs/FZYF8I+fLeLko2mR9UpWHyX+7j+ff9MCWUZaWokg2 G7IQgwBkLhTWUhuVhm6NhnZjKJhjhlV5Ro1HyqOlTB4NkAj5+cdXoOaNYuUOkt4ZNbRNGl0UHpDxF 4GmSIZDQLDVERIaFxeuQzTyKv7wMNW7XIXHDeSSGoTwbz6ZB3eEqPlAdeVzGR33/p6JGKDP+HBjxC kYwOCTr2kn1OQDNKK4NyqojzAFVgWTVrCqcCj5MYfBMMl7zw8zJIIPs6PmE/6kYtRQHJGdM2mZHg9 1JGalA7A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1vBxcq-00000006olw-1qLc; Thu, 23 Oct 2025 15:53:16 +0000 Received: from mout-p-201.mailbox.org ([2001:67c:2050:0:465::201]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1vBxcn-00000006olX-2vTe for linux-arm-kernel@lists.infradead.org; Thu, 23 Oct 2025 15:53:14 +0000 Received: from smtp2.mailbox.org (smtp2.mailbox.org [10.196.197.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-201.mailbox.org (Postfix) with ESMTPS id 4csrCn2M3qz9tmt; Thu, 23 Oct 2025 17:53:09 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1761234789; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=0atqt29j38GuBRhYc4ja9297alyKMui/08oB1QhWzH4=; b=tpKreE2pk3d1abCk9xBoUhAx3KcBuCEPhou7RMeHsY/gCziF+it/Zxb6HpWx7oLMicm334 qZj9V/ejXxjLEc+pMCgP5hk25Mp/fCZWuo8vIhfhSMfXDDa0Q2IqhlfQJ/nlkADMUQcP84 7/rAYUikJXdfXgtm+Tc1wN56vXixDqGzN3awO56vPe3kSChNjr/bXu7Z7mSgAI+SDENVvn c3Gez2TZ+90utkr9tghsVhaWl26HkLsvZdE7HbMO12oH1e5tMrQT192zJ8DIrUomssNAjg A8DOO2TAyqNrF+yiguUir6FYHFzZ2A6CunZnPMSn5a2L02yLwS4iXhuzMvbbnA== Message-ID: <07aba8d4-533d-40f7-bcd3-548704d7d228@mailbox.org> Date: Thu, 23 Oct 2025 17:53:06 +0200 MIME-Version: 1.0 Subject: Re: [PATCH v1] arm64: defconfig: Enable i.MX95 configs for booting and Ethernet To: Krzysztof Kozlowski , Alexander Stein , Catalin Marinas , Will Deacon , Shawn Guo , Fabio Estevam , Peng Fan , linux-arm-kernel@lists.infradead.org Cc: linux-kernel@vger.kernel.org, imx@lists.linux.dev, =?UTF-8?Q?Jo=C3=A3o_Paulo_Gon=C3=A7alves?= , =?UTF-8?Q?Jo=C3=A3o_Paulo_Gon=C3=A7alves?= References: <20251023-upstream-imx95-smarc-defconfig-v1-1-62c6e6f5b315@toradex.com> <3381308.aeNJFYEL58@steina-w> <5d042f21-274e-4b69-849a-3342d77942eb@mailbox.org> <00555ed7-1aee-459a-ae60-0242809d7b85@linaro.org> Content-Language: en-US From: Marek Vasut In-Reply-To: <00555ed7-1aee-459a-ae60-0242809d7b85@linaro.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-MBO-RS-META: jdqggkk454ujny9h4p815r9kkre67smq X-MBO-RS-ID: fa5d91469f820ba399c X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20251023_085313_903102_22FCD9E6 X-CRM114-Status: GOOD ( 15.19 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 10/23/25 5:32 PM, Krzysztof Kozlowski wrote: > On 23/10/2025 17:27, Marek Vasut wrote: >> On 10/23/25 5:22 PM, Krzysztof Kozlowski wrote: >>> On 23/10/2025 16:03, Alexander Stein wrote: >>>> Hi, >>>> >>>> Am Donnerstag, 23. Oktober 2025, 14:19:15 CEST schrieb João Paulo Gonçalves: >>>>> From: João Paulo Gonçalves >>>>> >>>>> Enable the necessary missing configs for the i.MX95 to boot and also >>>>> have Ethernet working: >>>>> >>>>> * CONFIG_NXP_ENETC4 for the network controller driver >>>>> * CONFIG_NXP_NETC_BLK_CTRL for the NETC hardware domain controller >>>>> * CONFIG_PINCTRL_IMX_SCMI for the pinctrl driver >>>>> * CONFIG_CLK_IMX95_BLK_CTL for the shared hardware domain controller >>>>> >>>>> Signed-off-by: João Paulo Gonçalves >>>>> --- >>>>> arch/arm64/configs/defconfig | 4 ++++ >>>>> 1 file changed, 4 insertions(+) >>>>> >>>>> diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig >>>>> index e3a2d37bd10423b028f59dc40d6e8ee1c610d6b8..787d3ae3f5afeac486a905e0943e7b0e1dcee3a9 100644 >>>>> --- a/arch/arm64/configs/defconfig >>>>> +++ b/arch/arm64/configs/defconfig >>>>> @@ -354,8 +354,10 @@ CONFIG_FSL_FMAN=y >>>>> CONFIG_FSL_DPAA_ETH=y >>>>> CONFIG_FSL_DPAA2_ETH=y >>>>> CONFIG_FSL_ENETC=y >>>>> +CONFIG_NXP_ENETC4=m >>>>> CONFIG_FSL_ENETC_VF=y >>>>> CONFIG_FSL_ENETC_QOS=y >>>>> +CONFIG_NXP_NETC_BLK_CTRL=m >>>> >>>> Are you sure this should be module? Shouldn't NFS boot be supported by >>>> default? I might be wring here though. >>> >>> >>> NFS root is supported already with this being module. Yes, it must be a >>> module, cannot be built in. >> It seems I am using it as built-in on MX95 Verdin (patch is posted on >> the ML), and yes, I do boot from NFS root without any initrd/initramfs. >> It has to be built-in for that use case to work. > > > Every arm64 platform is supposed to use initramfs and we already use all > over the place. Shouldn't the platform also be at least bootable with the defconfig ? If yes, then initramfs is a mandatory requirement for a NFS root boot (not a ... supposed to ... optional one), which does not seem to be the case until now. I would argue the ethernet MAC support should be built-in to achieve maximum utility with the defconfig.