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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 49EB3C433EF for ; Thu, 10 Feb 2022 01:28:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232401AbiBJB2c (ORCPT ); Wed, 9 Feb 2022 20:28:32 -0500 Received: from gmail-smtp-in.l.google.com ([23.128.96.19]:56192 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233116AbiBJB2S (ORCPT ); Wed, 9 Feb 2022 20:28:18 -0500 Received: from vps0.lunn.ch (vps0.lunn.ch [185.16.172.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D5EF720197; Wed, 9 Feb 2022 17:28:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=ULmAtyK6TJjr1QVUNlDS0X1iN3QvREY5ZfYCv9v5FwA=; b=NtqFXUPsUEV5rj6gTA8JTXNQd0 HwWPACBb9ahCPbRj4DW2eX9HhMpYTDG9fvTyUnciQZ/dSmY6+drRmI7AjXLZxDUsp8QLX0ca5k384 2N9nzJI6MA6bOU1LGuhw2PcYi8P5dteqquf1DDL+ga6+QOYSv3O+7W0vT6WGsWcKaxUI=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1nHwwx-005CsL-UU; Thu, 10 Feb 2022 01:04:39 +0100 Date: Thu, 10 Feb 2022 01:04:39 +0100 From: Andrew Lunn To: Tim Harvey Cc: Martin Schiller , Hauke Mehrtens , martin.blumenstingl@googlemail.com, Florian Fainelli , hkallweit1@gmail.com, Russell King - ARM Linux , David Miller , kuba@kernel.org, netdev , open list Subject: Re: [PATCH net v3] net: phy: intel-xway: enable integrated led functions Message-ID: References: <20210421055047.22858-1-ms@dev.tdt.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > The errata can be summarized as: > - 1 out of 100 boots or cable plug events RGMII GbE link will end up > going down and up 3 to 4 times then resort to a 100m link; workaround > has been found to require a pin level reset So that sounds like it is downshifting because it thinks there is a broken pair. Can you disable downshift? Problem is, that might just result in link down. > - 1 out of 100 boots or cable plug events (varies per board) SGMII > will fail link between the MAC and PHY; workaround has been found to > require a pin level reset I don't suppose there is a register to restart SGMII sync? Sometimes there is. Anyway, shared reset makes this messy, as you said. Unfortunate design. But i don't see how you can work around this in the bootloader, especially the cable plug events. Andrew