Received: by 2002:a05:7412:a9a2:b0:e2:908c:2ebd with SMTP id o34csp2348945rdh; Sun, 29 Oct 2023 11:47:30 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG0b9/vPnmjCO3mn2+0gGqoiskl1JPWsZSZCsY1NlS6VFzePQXC7mLy7QM/NByo8SXEZQTp X-Received: by 2002:a05:6a00:15d4:b0:6be:2803:9c92 with SMTP id o20-20020a056a0015d400b006be28039c92mr9942837pfu.32.1698605250026; Sun, 29 Oct 2023 11:47:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698605250; cv=none; d=google.com; s=arc-20160816; b=ZKuMAXNEUzhkD2w4+J709bc0Hgp6TmJ9oPfef8K5ae79hyeQAj+Jj/K0bzPJgOM0Xp SVSu/f+dG/mE2G4gTEgoc6+40yJgOOr19mqEOSECoJW7IFJPOTvl7EZi2FGC8DAv+mj6 frbLSmtOzePYjJEaNG1nHfp1Cp3prrkx75FfEWrDKJ09KboP3YOjEuCznuvz2pe00e8k WZYshOYZxshiPdKf2L+iHuIwhd6ZeJ3H/Pm5Utz7kPWhKrJtF8pb0zrghCtieqocJwmc ETR3NJuZnq05gBUqVvDh/reyNqv+s/YgBOV4jpV+vbqmTMNc6AnCBdZ1bbpBd1JptZCk Gr1Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=hH9tlFQDi0JFYZ79ms2ET2wqnUkva7se0S0cF0KrrPQ=; fh=ouAXzVx/JUrhZKfjwokoD0ZA6PA/jXgEvqb8Vx/1wkw=; b=vR5hTn5oZncpDQtJBStMR0RJSL8aQ31ONfOIfqkNvmFH44+L5R9TafNnKn0OAKkDnR VNh2XTYd4VkN8ynhUfQpqWTh0Vm9LU/x0JfJkI/rJv4u8ukUaCEx//PLV8PIV4FFTMZC rj047De+iNTcOJGRbxfjJh/W17Mj1/VjHnJGNuiBzERRTv2e7AqGEj5qCWTEwdeFPHx3 EzejxGh7PxbUKcgLuixHb/oTOEZO0jwQrae8GYRfFboZBGRThjWFaCACTXkM3WCt+1Yv 1Ts+Wkh23ylFcMjlk/6zkNBtIiU/JI4qyDjBxYMRnYaffK0ciNzg/MDZfloZDEZeQ2PA 0vnA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=w913hLeo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Return-Path: Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id j5-20020a056a00174500b0068fea05ecd7si3900150pfc.164.2023.10.29.11.47.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 29 Oct 2023 11:47:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=w913hLeo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 81BAC807C6ED; Sun, 29 Oct 2023 11:45:48 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230291AbjJ2Spk (ORCPT + 99 others); Sun, 29 Oct 2023 14:45:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56344 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229533AbjJ2Spj (ORCPT ); Sun, 29 Oct 2023 14:45:39 -0400 Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4FD21AD; Sun, 29 Oct 2023 11:45:37 -0700 (PDT) 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=hH9tlFQDi0JFYZ79ms2ET2wqnUkva7se0S0cF0KrrPQ=; b=w913hLeo04QZckGK+FU4QuNJis D6trFv9UITBmIjHr6o7e/ekA8GuONBvHkXwPpFNsAxo292mmY3ooSBUqsvnovhorhPFkIS8aWGIqF FapsGxU0UFw9ywR2DmHIOquOoGuW0JCpxHeN0fPZpF3n8eu4tjt4WDQK1c6anVxeK2Tg=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1qxAme-000STI-4v; Sun, 29 Oct 2023 19:45:12 +0100 Date: Sun, 29 Oct 2023 19:45:12 +0100 From: Andrew Lunn To: Cristian Ciocaltea 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 Subject: Re: [PATCH v2 11/12] riscv: dts: starfive: visionfive-v1: Enable gmac and setup phy Message-ID: References: <20231029042712.520010-1-cristian.ciocaltea@collabora.com> <20231029042712.520010-12-cristian.ciocaltea@collabora.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231029042712.520010-12-cristian.ciocaltea@collabora.com> 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 groat.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 (groat.vger.email [0.0.0.0]); Sun, 29 Oct 2023 11:45:48 -0700 (PDT) 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. Andrew