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 X-Spam-Level: X-Spam-Status: No, score=-10.3 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E8728C4338F for ; Wed, 28 Jul 2021 20:54:19 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id C65A5601FA for ; Wed, 28 Jul 2021 20:54:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231645AbhG1UyV (ORCPT ); Wed, 28 Jul 2021 16:54:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43226 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231825AbhG1UyT (ORCPT ); Wed, 28 Jul 2021 16:54:19 -0400 Received: from tulum.helixd.com (unknown [IPv6:2604:4500:0:9::b0fd:3c92]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ACD6AC061757 for ; Wed, 28 Jul 2021 13:54:17 -0700 (PDT) Received: from [IPv6:2600:8801:8800:12e8:2884:1d04:ad3c:7242] (unknown [IPv6:2600:8801:8800:12e8:2884:1d04:ad3c:7242]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) (Authenticated sender: dalcocer@helixd.com) by tulum.helixd.com (Postfix) with ESMTPSA id B055B204F4; Wed, 28 Jul 2021 13:54:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tulum.helixd.com; s=mail; t=1627505656; bh=1Yq1pVKzHGC9i/vQDZyK5m1HE31IKdYorItYYVNaxPg=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=iey6pbu6un3s36qU4ARK2fL/KMbvgB3JiyS0aUGjZPcjUVDSFEain/eOrrWSIDRdt z7MQKON7Inoq21mSxzae4VVc9INvOw26VAgdDsnZxFQPu6Cm9pT8Aq0wwSTDAgq+nI qWVfubOJ0tHe12jaOqrzj39XSp17jtRaUTP5yYaU= Subject: Re: Marvell switch port shows LOWERLAYERDOWN, ping fails To: Andrew Lunn Cc: netdev@vger.kernel.org References: <82974be6-4ccc-3ae1-a7ad-40fd2e134805@helixd.com> <527bcc43-d99c-f86e-29b0-2b4773226e38@helixd.com> <59790fef-bf4a-17e5-4927-5f8d8a1645f7@helixd.com> <11b81662-e9ce-591c-122a-af280f1e1f59@helixd.com> From: Dario Alcocer Message-ID: Date: Wed, 28 Jul 2021 13:54:15 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On 7/28/21 1:47 PM, Andrew Lunn wrote: >> Many thanks for the link; I will build and install it on the target. Hope it >> will work with the older kernel (5.4.114) we're using. > > Probably not. You need > > commit b71a8d60252111d89dccba92ded7470faef16460 > Author: Andrew Lunn > Date: Sun Oct 4 18:12:57 2020 +0200 > > net: dsa: mv88e6xxx: Add per port devlink regions > > Add a devlink region to return the per port registers. > > Signed-off-by: Andrew Lunn > Reviewed-by: Florian Fainelli > Reviewed-by: Vladimir Oltean > Signed-off-by: David S. Miller > > 5.4 we released in 2019-11-24. > > When debugging issues like this, you really should be using a modern > kernel. At minimum 5.13, better still, net-next. You're absolutely right. The issue is we're relying on the upstream socfpga Cyclone V kernel, and our custom board requires we rebase our local fixes. But, you're right: using net-next is probably what I try next, if commit b71a8d6025 doesn't resolve this issue. Thank you very much for all of the feedback!