Received: by 2002:a05:7412:b130:b0:e2:908c:2ebd with SMTP id az48csp381758rdb; Fri, 17 Nov 2023 01:13:19 -0800 (PST) X-Google-Smtp-Source: AGHT+IFA53Q9jIIXFlhQeqy1TvrWnEByo2330Gs/9fI4IfIFwMbOFYwcouTtpvvNnSaFbjWcWe1x X-Received: by 2002:a05:6808:158c:b0:3af:585:402a with SMTP id t12-20020a056808158c00b003af0585402amr24771723oiw.39.1700212398819; Fri, 17 Nov 2023 01:13:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700212398; cv=none; d=google.com; s=arc-20160816; b=0K2mqTPaWl7J2EVyoH99NkXGQsV5VuJPLnp1bTnma84gtsCWzTjsfXdSYvfccwSKyg EGPXGzhIFcvMU7wNt8MrH25rmaZuHeq6Ol6LRltzJ3NZVojUy7CGJUdOV56g+mVfH+JI xIXkW4EELrj+XZv8UAi/rI/zNPTqLW07fx7fJ5CSmMAlFAy7s87wQ8ejSvpNs9DXSt6A u/knWUSLs6Xqj8QRS83ycaBWlS7/atWxIvGFOPOyeeOMsc91tO39IsVnqgn2jWgQR89J kEoN0dAUmnjQztajLXP5SqM3eice1QKYsYMuP5yE8iHEF2VlUpe0o1rjX+M8vgjhHnl8 zenA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version; bh=F0DgL5GjBfrIz9ZSiDtUdktr8Fzik7XzgSbmORqbBiw=; fh=XRf7Z9knqQfEEv9YxT69UxVRmwXXFiqjW82qq5gbm5k=; b=pxbsEZWTBDlCK9Ap49UqzgyctSwN4tknGq+pfGgo22+gR5jgS81jHKUQzFEsD1IZhP H4HASnBFq8T0Fpg1MUENsfKPrK81eo+L6xGmbJB9TNVAMfczmAjeU8Qw8AJU00Z6MyKM zgxuIMH4ynUBLssdJHUIzIFgwRfUxD/EgOItvvaWPzp7SCwolXFLWcxxiTQqnwMM0rbu NNcu1SHLfZHD9QUD6S1AY2e1B0QunFIY6PtK5lOOnQqkkcJgeBqoZQ218FHDHHbP2y8h WITXlSnyRLcPC9YbdKEO4bvZGwqMZI+nOjuSPu6jx1GXCG3LNMEiPl3garjf8FDvKllo +9rQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id h10-20020a056a00230a00b006b91e0fc586si1635512pfh.66.2023.11.17.01.13.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Nov 2023 01:13:18 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id BFB7F823CEA1; Fri, 17 Nov 2023 01:13:17 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230416AbjKQJNH convert rfc822-to-8bit (ORCPT + 99 others); Fri, 17 Nov 2023 04:13:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37386 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230105AbjKQJNG (ORCPT ); Fri, 17 Nov 2023 04:13:06 -0500 Received: from mail-yw1-f178.google.com (mail-yw1-f178.google.com [209.85.128.178]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3C095D4D; Fri, 17 Nov 2023 01:13:03 -0800 (PST) Received: by mail-yw1-f178.google.com with SMTP id 00721157ae682-5a92782615dso19899157b3.2; Fri, 17 Nov 2023 01:13:03 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700212382; x=1700817182; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=rvynnOaR8xM7O4hHqd8ZbKUHknCSu+mkNKpvTcNlZWQ=; b=GHRcOfaG5VipmUy/IneoL5CEqTXarwStwUggOYUG1ZSippxel2jD4co44MZJOwNVLe Y2Nwo0Gr7wx7AvoEYLrr7SgTW0L0NToXbuKLYM5+tME4gPaw8OPgbtBrc/hRiks1Umkx ZviMS4j09PdCp/wj+gAKzb3uY3X7Ym0r7AxfUis8xUlzNu728Pz1PXHbpeDBxkEv4nB/ zsT84VDKE74nF31Oxvj0SJXU2VRnuq6lZKbgGmZ2aLktY0fFOTsGgNIo2fSZmrXtoFqb kVdm3ySnbqJ0tPD2gbNm7mLvI61ngTc8tojmo0CqaTv0nV3Q+NR/QvVOCiTKRuSkdKFr HaOA== X-Gm-Message-State: AOJu0YwO+lmOXIxos05q9CUmU60UKB05lgcpai1P0qtBerabfERoi0Th Vlwwh3cWd1g9xxYDk2Oqqo0rHdEJ9WXA7w== X-Received: by 2002:a0d:ea55:0:b0:595:89b0:6b41 with SMTP id t82-20020a0dea55000000b0059589b06b41mr20205664ywe.38.1700212381096; Fri, 17 Nov 2023 01:13:01 -0800 (PST) Received: from mail-yb1-f169.google.com (mail-yb1-f169.google.com. [209.85.219.169]) by smtp.gmail.com with ESMTPSA id r7-20020a0de807000000b005b054a1ec5dsm381553ywe.126.2023.11.17.01.12.57 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 17 Nov 2023 01:12:58 -0800 (PST) Received: by mail-yb1-f169.google.com with SMTP id 3f1490d57ef6-da077db5145so1707161276.0; Fri, 17 Nov 2023 01:12:57 -0800 (PST) X-Received: by 2002:a25:3792:0:b0:da3:743d:ea3e with SMTP id e140-20020a253792000000b00da3743dea3emr18343937yba.21.1700212377409; Fri, 17 Nov 2023 01:12:57 -0800 (PST) MIME-Version: 1.0 References: <20231029042712.520010-1-cristian.ciocaltea@collabora.com> <20231029042712.520010-13-cristian.ciocaltea@collabora.com> <233a45e1-15ac-40da-badf-dee2d3d60777@collabora.com> <20231116-stellar-anguished-7cf06eb5634a@squawk> <84fd076b-6db4-4251-aff8-36befc28e574@collabora.com> In-Reply-To: <84fd076b-6db4-4251-aff8-36befc28e574@collabora.com> From: Geert Uytterhoeven Date: Fri, 17 Nov 2023 10:12:46 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2 12/12] [UNTESTED] riscv: dts: starfive: beaglev-starlight: Enable gmac To: Cristian Ciocaltea Cc: Conor Dooley , Andrew Lunn , Conor Dooley , Emil Renner Berthing , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , 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 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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 (snail.vger.email [0.0.0.0]); Fri, 17 Nov 2023 01:13:17 -0800 (PST) Hi Cristian, On Fri, Nov 17, 2023 at 9:59 AM Cristian Ciocaltea wrote: > On 11/17/23 10:49, Cristian Ciocaltea wrote: > > On 11/17/23 10:37, Geert Uytterhoeven wrote: > >> On Thu, Nov 16, 2023 at 6:55 PM Conor Dooley wrote: > >>> On Thu, Nov 16, 2023 at 03:15:46PM +0200, Cristian Ciocaltea wrote: > >>>> On 10/30/23 00:53, Cristian Ciocaltea wrote: > >>>>> On 10/29/23 20:46, Andrew Lunn wrote: > >>>>>> On Sun, Oct 29, 2023 at 06:27:12AM +0200, Cristian Ciocaltea wrote: > >>>>>>> The BeagleV Starlight SBC uses a Microchip KSZ9031RNXCA PHY supporting > >>>>>>> RGMII-ID. > >>>>>>> > >>>>>>> TODO: Verify if manual adjustment of the RX internal delay is needed. If > >>>>>>> yes, add the mdio & phy sub-nodes. > >>>>>> > >>>>>> Please could you try to get this tested. It might shed some light on > >>>>>> what is going on here, since it is a different PHY. > >>>>> > >>>>> Actually, this is the main reason I added the patch. I don't have access > >>>>> to this board, so it would be great if we could get some help with testing. > >>>> > >>>> @Emil, @Conor: Any idea who might help us with a quick test on the > >>>> BeagleV Starlight board? > >>> > >>> I don't have one & I am not sure if Emil does. Geert (CCed) should have > >> > >> I believe Esmil has. > >> > >>> one though. Is there a specific test you need to have done? > >> > >> I gave it a try, on top of latest renesas-drivers[1]. > > [...] > > >> > >> Looks like it needs more non-coherent support before we can test > >> Ethernet. > > > > Hi Geert, > > > > Thanks for taking the time to test this! > > > > Could you please check if the following are enabled in your kernel config: > > > > CONFIG_DMA_GLOBAL_POOL > > CONFIG_RISCV_DMA_NONCOHERENT > > CONFIG_RISCV_NONSTANDARD_CACHE_OPS > > CONFIG_SIFIVE_CCACHE CONFIG_DMA_GLOBAL_POOL and CONFIG_RISCV_NONSTANDARD_CACHE_OPS were indeed no longer enabled, as they cannot be enabled manually. After cherry-picking commit e14ad9ff67fd51dc ("riscv: errata: Add StarFive JH7100 errata") in esmil/visionfive these options become enabled. Now it gets a bit further, but still lots of CCACHE DataFail errors. > Also please note the series requires the SiFive Composable Cache > controller patches provided by Emil [1]. > > [1]: https://lore.kernel.org/all/20231031141444.53426-1-emil.renner.berthing@canonical.com/ That series does not contain any Kconfig changes, so there must be other missing dependencies? Perhaps I should just defer to Emil ;-) Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds