From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Sat, 08 Jan 2022 09:01:11 +0100 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1n66f1-00EJuh-HY for lore@lore.pengutronix.de; Sat, 08 Jan 2022 09:01:11 +0100 Received: from localhost ([127.0.0.1] helo=metis.ext.pengutronix.de) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1n66f0-0006jv-Kb; Sat, 08 Jan 2022 09:01:10 +0100 Received: from gallifrey.ext.pengutronix.de ([2001:67c:670:201:5054:ff:fe8d:eefb] helo=[127.0.0.1]) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1n66ey-0006jY-R5; Sat, 08 Jan 2022 09:01:08 +0100 To: distrokit@pengutronix.de, Sohaib Mohamed References: <20220108075723.432333-1-a.fatoum@pengutronix.de> <20220108075723.432333-2-a.fatoum@pengutronix.de> From: Ahmad Fatoum Message-ID: Date: Sat, 8 Jan 2022 09:01:08 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 MIME-Version: 1.0 In-Reply-To: <20220108075723.432333-2-a.fatoum@pengutronix.de> Content-Language: en-US Subject: Re: [DistroKit] [PATCH 1/2] v7a: kernel: enable new TI CPSW switchdev driver X-BeenThere: distrokit@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: DistroKit Mailinglist List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "DistroKit" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: distrokit-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false On 08.01.22 08:57, Ahmad Fatoum wrote: > The kernel now has two CPSW drivers and the device tree has two device > tree nodes, where one or the other may be enabled. The upstream device > tree was switched to new switchdev-based CPSW in v5.15-rc1. > > Update our kernelconfig to enable the appropriate driver to get > networking working again on the Beaglebone Black. > > Fixes: 6ec9f5202c28 ("platform-v7a: kernel: version bump v5.14 -> v5.15") Reported-by: Sohaib Mohamed Forgot to include before send. Thanks for the report. > Signed-off-by: Ahmad Fatoum > --- > P.S.: Beaglebone tests should probably include testing Ethernet link > --- > configs/platform-v7a/kernelconfig | 9 ++++++--- > 1 file changed, 6 insertions(+), 3 deletions(-) > > diff --git a/configs/platform-v7a/kernelconfig b/configs/platform-v7a/kernelconfig > index b7b1793467f0..dea31bfe298c 100644 > --- a/configs/platform-v7a/kernelconfig > +++ b/configs/platform-v7a/kernelconfig > @@ -1086,7 +1086,7 @@ CONFIG_DNS_RESOLVER=y > # CONFIG_MPLS is not set > # CONFIG_NET_NSH is not set > # CONFIG_HSR is not set > -# CONFIG_NET_SWITCHDEV is not set > +CONFIG_NET_SWITCHDEV=y > # CONFIG_NET_L3_MASTER_DEV is not set > # CONFIG_QRTR is not set > # CONFIG_NET_NCSI is not set > @@ -1131,6 +1131,7 @@ CONFIG_DST_CACHE=y > CONFIG_GRO_CELLS=y > CONFIG_NET_SELFTESTS=y > CONFIG_NET_SOCK_MSG=y > +CONFIG_NET_DEVLINK=y > CONFIG_PAGE_POOL=y > # CONFIG_FAILOVER is not set > CONFIG_ETHTOOL_NETLINK=y > @@ -1479,6 +1480,7 @@ CONFIG_FEC=y > # CONFIG_FSL_PQ_MDIO is not set > # CONFIG_FSL_XGMAC_MDIO is not set > # CONFIG_GIANFAR is not set > +# CONFIG_FSL_DPAA2_SWITCH is not set > # CONFIG_FSL_ENETC_IERB is not set > CONFIG_NET_VENDOR_GOOGLE=y > # CONFIG_NET_VENDOR_HISILICON is not set > @@ -1519,8 +1521,9 @@ CONFIG_DWMAC_IMX8=y > # CONFIG_NET_VENDOR_SYNOPSYS is not set > CONFIG_NET_VENDOR_TI=y > CONFIG_TI_DAVINCI_MDIO=y > -CONFIG_TI_CPSW_PHY_SEL=y > -CONFIG_TI_CPSW=y > +# CONFIG_TI_CPSW_PHY_SEL is not set > +# CONFIG_TI_CPSW is not set > +CONFIG_TI_CPSW_SWITCHDEV=y > CONFIG_TI_CPTS=y > # CONFIG_NET_VENDOR_VIA is not set > # CONFIG_NET_VENDOR_WIZNET is not set > -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ DistroKit mailing list DistroKit@pengutronix.de