Received: by 2002:a05:7412:a9a2:b0:e2:908c:2ebd with SMTP id o34csp2418898rdh; Sun, 29 Oct 2023 15:41:52 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF1Qzii0ul+gee+2gVECGp8kNf+WRqLur96XX2RsH/pEh2an5RZ+zAb+Z8pyo8p5+yd+in/ X-Received: by 2002:a05:6a20:8f18:b0:162:ee29:d3c0 with SMTP id b24-20020a056a208f1800b00162ee29d3c0mr11868214pzk.42.1698619312071; Sun, 29 Oct 2023 15:41:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698619312; cv=none; d=google.com; s=arc-20160816; b=DgLQqJTu7KXM1bJ5rAYo4Cs5If3fVuRECfSbQQQyQT+1f+2Q3lq4YFsy4tUtDsHLrm 4EaKRrboAtyM9ptd25aloj8J9amCoMAlN7fzlR1DkCraVM/1w5TX3HrTIlVfxh1tdzFY XJc+jKM0TmsaJPlGbNiWY7tLsFzmNbHo8zp/HLNOrLeavXcffZtCPDPtdRFrHgjSs/ML zdRO+QVxiIgL0LBRVYdXV/vUtekFN/re5PIaaW4fw6s21A1qbIMWS8GlWmomieb3fF4X SBWztZa6K1a7iD5UJazn3myZvEgUMyYVcFlZfr375Txm0xd4jlZJXyyewr/kP7SiVPfO ghOg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=ZIAFZ74dWBbXRvf4R7qFeU26Fo+SYnBVi4G+Pe0NgZQ=; fh=1BGj1mjgmHwyPI8pt8TO8L03+6dbbvdvvPC9tLN1sHY=; b=I6x1yIQlVv1+NPa5SaaHf9xhitfSVL9pZP4iAvYq778t4RswDy3zsEXscFmdRUkw2+ uCxJHiwp3j65J7XE0I86s90iZgrYJguyJwnOpatf71PPGJwSWZiKL9UjDFEd6geUxpJF 4vZc3Fe9BCpgpn7A3jHVSyTqd5JoGq9fVvjfqnDsnDYUvYYj7Dp4P2yBSNL5hWd5l+VE wax4hsqKji375gCMvUhlxOGq97NYOYxMuwnERVop0781RVX1Xrqv9Plu1mKedznFO4GS DVBDwPnmSE9aofbjj4z5WCKtJ8VpKJc4vDRr2yGR9hExPjjAiZQF3NQ+a9MeJhtIj2LY rNVg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=GAp2S5Le; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id d3-20020a633603000000b005abdf91a0c4si4002893pga.611.2023.10.29.15.41.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 29 Oct 2023 15:41:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=GAp2S5Le; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id C23018058B70; Sun, 29 Oct 2023 15:41:49 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230226AbjJ2Wld (ORCPT + 99 others); Sun, 29 Oct 2023 18:41:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43194 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229778AbjJ2Wlb (ORCPT ); Sun, 29 Oct 2023 18:41:31 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B60DDC2; Sun, 29 Oct 2023 15:41:28 -0700 (PDT) Received: from [192.168.1.90] (unknown [188.24.143.101]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: cristicc) by madras.collabora.co.uk (Postfix) with ESMTPSA id E600166072BB; Sun, 29 Oct 2023 22:41:25 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1698619287; bh=0moYwqGPpKpcCgWCZCbmjb3SQL9UUK8AXxSzTD9M6EM=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=GAp2S5LeolDNT0oMnIU1XOERBBbWg8wPe66a2v7uBCjT0XEL2uOR/xK2jM76GBNkZ g5e8MN3Pt/i8oENbgyJip/7sswIfxUCXn6Wf8pQPBuWG4ooO+Xwwg7SxnSXhjTR8Bj 7Gehm8n2sgo2owH/pQiU4GNiOwJ0NV02FY6al52pwfxMy2bvUEJLGYgGmmyh6YsYmn 6S7/LpukLMtkMX2I25Aq/nj4WJiDUYBxGEX9+rYfeu6ED1sW483Hfh/3UvoGp8rMu8 UagKsbwJ2EUikHgocGXGOchFcKp/R5ps4nE8Lm2T+ymGrnlu0EH04pHnvNsCiq15Tz v/DIB0SxCyOKg== Message-ID: Date: Mon, 30 Oct 2023 00:41:23 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 11/12] riscv: dts: starfive: visionfive-v1: Enable gmac and setup phy Content-Language: en-US To: Andrew Lunn Cc: "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Emil Renner Berthing , Samin Guo , Paul Walmsley , Palmer Dabbelt , Albert Ou , Alexandre Torgue , Jose Abreu , Maxime Coquelin , Richard Cochran , Giuseppe Cavallaro , netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, kernel@collabora.com References: <20231029042712.520010-1-cristian.ciocaltea@collabora.com> <20231029042712.520010-12-cristian.ciocaltea@collabora.com> From: Cristian Ciocaltea In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Sun, 29 Oct 2023 15:41:49 -0700 (PDT) On 10/29/23 20:45, Andrew Lunn wrote: > On Sun, Oct 29, 2023 at 06:27:11AM +0200, Cristian Ciocaltea wrote: >> The StarFive VisionFive V1 SBC has a Motorcomm YT8521 PHY supporting >> RGMII-ID, but requires manual adjustment of the RX internal delay to >> work properly. >> >> The default RX delay provided by the driver is 1.95 ns, which proves to >> be too high. Applying a 50% reduction seems to mitigate the issue. > > I'm not so happy this cannot be explained. You are potentially heading > into horrible backwards compatibility problems with old DT blobs and > new kernels once this is explained and fixed. It seems the visionfive-v2 board also required setting some delays, but unfortunately no details were provided: 0104340a67b1 ("riscv: dts: starfive: visionfive 2: Add configuration of mac and phy") Thanks, Cristian