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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D6267C433EF for ; Wed, 9 Mar 2022 15:06:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:In-reply-to: Date:Subject:Cc:To:From:References:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=9xpAZ+iIWH5lJyJJwTGX/AkMNhXv81aihc7eIn2k1+s=; b=gDORsTo6kCsedd ezKeJrac6CGd7uAUu9l8j7hT21ITxoBd8/eXOyB4anV4sWt+Wu0Qn4py3Z8aGptEAHip7xYFYx3vA tZdaa56S40lwXiy/grZklEOj5yDzAR4ZW901FI33821RedtjhU+qp61F0liheeZA+1rnn3cBZJX14 dylLp5wnTf0lGRaE7gn3jz+N22cRyBGXmejkk+E8ohORc8tAcN6Bgmb0OZMvCaA7RXEOEay2uCm6O dkc05hAaQYSZvmhRTcsUKcRAc/37zsJSntD4sBGvZXFKdEHNDIUmkgg4KAsVdoetgmBvmEjn2EiwK +6NBGemVlgEaksJiHZiw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nRxto-0096zT-5W; Wed, 09 Mar 2022 15:06:48 +0000 Received: from mail-wr1-x42e.google.com ([2a00:1450:4864:20::42e]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nRxtk-0096yY-JN for linux-rockchip@lists.infradead.org; Wed, 09 Mar 2022 15:06:47 +0000 Received: by mail-wr1-x42e.google.com with SMTP id p9so3475111wra.12 for ; Wed, 09 Mar 2022 07:06:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; h=references:user-agent:from:to:cc:subject:date:in-reply-to :message-id:mime-version; bh=moBcVO4/zcOx1GJWJOPQodSwqeyH9qKr37XAEJrs55w=; b=xTq9TsVY/e7a+L5/g45+gc7gQhtImlgR1X9hdvm84A4/6Vl3Iqjis+Tqk39QWte43u oZTwCMdaVapSCYGJf5qYGvuHqUpQtMgvPITM83Y9nY1pIe0mwT9347zp/W+vPvF57/Q5 VK6euyNQZTLDLAIUoIxAr7yomegfvfxIUHHPVoP9iZXx1TNmvjkKMyNGhIw3RAUXgDNg k2JrovZm5nFVGUccwogG8+RTUnjLOZNnm31RCPDjsQ/jqkiEXNtGSz+pEZwt3LmIfPb7 SDPybDoEBNFZ1hWJzPMx356BloxJJycPi02zw2dvk8W+lgGTPR2/We0IBcBzZD6K/MCN vIJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:references:user-agent:from:to:cc:subject:date :in-reply-to:message-id:mime-version; bh=moBcVO4/zcOx1GJWJOPQodSwqeyH9qKr37XAEJrs55w=; b=YX+UfCteViBeSsS0Vds36eOINzamL3goUpBrPE0gwsiob90Xeo0i7XIyvIKQrWOhUD GYW5gfZ4Io5lrbq9aApTMT26DTSGwERoX8ut09fO+l6vvbWlqsoaK46FyA1UVE+nC4Et 7P65MSpOMwOL382hCUY05DA2+XnkT1WQG+FtjWnzNPd4NQnbjxOYsBYfGE+R9LB4IccP u1qbnnXgb7Wnd788e3hll4Jyz9MYUPXeTonjtCDkPwR1X1LLEYqVIxXvjIOZjgYOyeLj +chIwYvvn6t19YOfK9Oj/OAw1OimBci1GL979J4WpnE77Cu0KkRcOOl0OvhDivAiiHm1 q82g== X-Gm-Message-State: AOAM530lEDdNnABAifutjYL3OWfzwduzug+x/zg+ENcm1JRP4ovnRZnu rUBSyNp+LgTp6Ln9kFegkZWVqQ== X-Google-Smtp-Source: ABdhPJw3bLQRbTPx1PwgjgPNUkIGCdNA73k7avZT6ToJuXxNgNm6Pq2L+rTAc5AkxwLjddmhLmJn1w== X-Received: by 2002:a05:6000:1ac5:b0:1ea:7870:d7eb with SMTP id i5-20020a0560001ac500b001ea7870d7ebmr45585wry.171.1646838402736; Wed, 09 Mar 2022 07:06:42 -0800 (PST) Received: from localhost (laubervilliers-658-1-213-31.w90-63.abo.wanadoo.fr. [90.63.244.31]) by smtp.gmail.com with ESMTPSA id q23-20020a1cf317000000b003815206a638sm5264634wmq.15.2022.03.09.07.06.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Mar 2022 07:06:42 -0800 (PST) References: <1jczjzt05k.fsf@starbuckisacylon.baylibre.com> <6b04d864-7642-3f0a-aac0-a3db84e541af@gmail.com> <1e828df4-7c5d-01af-cc49-3ef9de2cf6de@gmail.com> <1j8rts76te.fsf@starbuckisacylon.baylibre.com> <435b2a9d-c3c6-a162-331f-9f47f69be5ac@gmail.com> User-agent: mu4e 1.6.10; emacs 27.1 From: Jerome Brunet To: Erico Nunes , Heiner Kallweit Cc: Martin Blumenstingl , Alexandre Torgue , Giuseppe Cavallaro , Jose Abreu , Kevin Hilman , Neil Armstrong , linux-amlogic@lists.infradead.org, netdev@vger.kernel.org, "open list:ARM/Rockchip SoC..." , linux-sunxi@lists.linux.dev Subject: Re: net: stmmac: dwmac-meson8b: interface sometimes does not come up at boot Date: Wed, 09 Mar 2022 15:57:27 +0100 In-reply-to: Message-ID: <1j5yonnp1a.fsf@starbuckisacylon.baylibre.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220309_070644_728167_E1703B50 X-CRM114-Status: GOOD ( 21.49 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org On Wed 09 Mar 2022 at 15:45, Erico Nunes wrote: > On Sun, Mar 6, 2022 at 1:56 PM Heiner Kallweit wrote: >> You could try the following (quick and dirty) test patch that fully mimics >> the vendor driver as found here: >> https://github.com/khadas/linux/blob/buildroot-aml-4.9/drivers/amlogic/ethernet/phy/amlogic.c >> >> First apply >> https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git/commit/?id=a502a8f04097e038c3daa16c5202a9538116d563 >> This patch is in the net tree currently and should show up in linux-next >> beginning of the week. >> >> On top please apply the following (it includes the test patch your working with). > > I triggered test jobs with this configuration (latest mainline + > a502a8f0409 + test patch for vendor driver behaviour), and the results > are pretty much the same as with the previous test patch from this > thread only. > That is, I never got the issue with non-functional link up anymore, > but I get the (rare) issue with link not going up. > The reproducibility is still extremely low, in the >1% range. Low reproducibility means the problem is still there, or at least not understood completly. I understand the benefit from the user standpoint. Heiner if you are going to continue from the test patch you sent, I would welcome some explanation with each of the changes. We know very little about this IP and I'm not very confortable with tweaking/aligning with AML sdk "blindly" on a driver that has otherwise been working well so far. Thx > > So at this point, I'm not sure how much more effort to invest into > this. Given the rate is very low and the fallback is it will just > reset the link and proceed to work, I think the situation would > already be much better with the solution from that test patch being > merged. If you propose that as a patch separately, I'm happy to test > the final submitted patch again and provide feedback there. Or if > there is another solution to try, I can try with that too. > > Thanks > > > Erico _______________________________________________ Linux-rockchip mailing list Linux-rockchip@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-rockchip