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=-5.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=no 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 7362CC433E6 for ; Sat, 13 Feb 2021 17:10:14 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 381B164DC3 for ; Sat, 13 Feb 2021 17:10:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229702AbhBMRJ6 (ORCPT ); Sat, 13 Feb 2021 12:09:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40376 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229647AbhBMRJ4 (ORCPT ); Sat, 13 Feb 2021 12:09:56 -0500 Received: from ssl.serverraum.org (ssl.serverraum.org [IPv6:2a01:4f8:151:8464::1:2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 12485C061574 for ; Sat, 13 Feb 2021 09:09:16 -0800 (PST) Received: from ssl.serverraum.org (web.serverraum.org [172.16.0.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ssl.serverraum.org (Postfix) with ESMTPSA id E846223E55; Sat, 13 Feb 2021 18:09:13 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walle.cc; s=mail2016061301; t=1613236154; 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=ruLsXruq+1n54dxiJkFH0gu4KJF0IzAd7heuiQT1iwM=; b=E5GwWbv1ArisVJfIgD+o0rVaSabICYavLHrWA1Rfj/iqqaT3/ZZt7W0uJ2K7np6TjXJ2y4 /vC8ENp9EoB9jtXgsALk47Vw5OXhaBr0jeTOFJI9YdLRoIM93hZLaAlk0kvamThhkKMcxa i7RcohrdPJLGgqn1/rEFSJBZa/Ud7Zg= MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Sat, 13 Feb 2021 18:09:13 +0100 From: Michael Walle To: Vladimir Oltean Cc: "David S. Miller" , Jakub Kicinski , Antoine Tenart , Quentin Schulz , netdev@vger.kernel.org, Heiner Kallweit , Andrew Lunn , Florian Fainelli , Russell King - ARM Linux admin , Ioana Ciornei , Maxim Kochetkov , Bjarni Jonasson , Steen Hegelund , UNGLinuxDriver@microchip.com Subject: Re: [PATCH net-next 1/2] net: phylink: explicitly configure in-band autoneg for PHYs that support it In-Reply-To: <46c9b91b8f99605a26fbd7f26d5947b6@walle.cc> References: <20210212172341.3489046-1-olteanv@gmail.com> <20210212172341.3489046-2-olteanv@gmail.com> <20210213003641.gybb6gstjpkcwr6z@skbuf> <46c9b91b8f99605a26fbd7f26d5947b6@walle.cc> User-Agent: Roundcube Webmail/1.4.10 Message-ID: <1d90da5ef82f27942c7f5a5d844fc29a@walle.cc> X-Sender: michael@walle.cc Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Am 2021-02-13 17:53, schrieb Michael Walle: > Am 2021-02-13 01:36, schrieb Vladimir Oltean: > But the Atheros PHY seems to have a problem with the SGMII link > if there is no autoneg. > No matter what I do, I can't get any traffic though if its not > gigabit on the copper side. Unfortunately, I don't have access > to an oscilloscope right now to see whats going on on the SGMII > link. Scrap that. It will work if I set the speed/duplex mode in BMCR correctly. (I tried that before, but I shifted one bit. doh). So that will work, but when will it be done? There is no callback to configure the PCS side of the PHY if a link up is detected. -michael