Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2534171yba; Mon, 6 May 2019 07:37:33 -0700 (PDT) X-Google-Smtp-Source: APXvYqymY/7nfH4LcYTT+LRtMgQ9lWu/gqIInTPNIB3eZqN9WxIIRmqCy1YRQ/oyLW/r4gjS5woe X-Received: by 2002:a17:902:b217:: with SMTP id t23mr13678166plr.49.1557153453749; Mon, 06 May 2019 07:37:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557153453; cv=none; d=google.com; s=arc-20160816; b=UpUryliICJ90BGfv+AV8NsQXpTObENOpRJnHBOHpwVsTOEA4D7BPXDfms2TN1Tap6q e2L0J4UK1TD6OTY4gO3Oeb00QPL9xX8328gz16/lTxj/Szw0e5F/mUvXHQNAcShmdyV3 f0DDba1jBjqrWr87XTzF+32YcVGr+0yAUHW9z85M6NpZJSY8p5Rh3nuJTIQFQqivkOjH PzeQOablT5yrtK2DmeupfsHrkDLezJkW+PcmZ9K0rHMc7Ygu+D190QgW/QLIlUeXUFIh TmbXMkK/Bntyx2V/IIhubZ/9Qn0FBCK4sQje4OGQ7DWDKhE/hjXYFdftCSopOGv0CyC2 e+Zw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=cNOYl5OG/+a8X5miKdV35DPgZWNA4mg3Hj6LqCgl03Q=; b=CWcVDPohArDl/+CqzM0wk8HM/N/BrxA4h81eOMb/IEva/GARt3BCrj3gPOqlQ1V3i0 mP8cHqW0Kh0hqTsOf1/rm8pp3XwfARfyZ7Gz6OJxd20Bw7/ohBFZsE0Ll0JtnSn3eLAT OG4cz+tsol90XwDUQ9xBNEUQKWDvCTmuVk36FQBEYqKwWghq2a6JMQENDPW9iwDEImXL XiziblI+Z1apsGM3JjVGj7LmPCqr/B9vqNR+bAVlh6xXgIY0nsMgs7wEyDtYntKA6h5D pOkrt1XVbvzu/JLHT3uOeaD5pSB+aC/h5gp0iADP0YtfqY2OwFfV/JZ+hZ+wdjTzdS+Y PoMw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=dQX3omvS; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c3si4544269pgd.148.2019.05.06.07.37.09; Mon, 06 May 2019 07:37:33 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=dQX3omvS; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726936AbfEFOf1 (ORCPT + 99 others); Mon, 6 May 2019 10:35:27 -0400 Received: from mail.kernel.org ([198.145.29.99]:55484 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726373AbfEFOfZ (ORCPT ); Mon, 6 May 2019 10:35:25 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 4D95921655; Mon, 6 May 2019 14:35:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1557153324; bh=3GcbrGHkMX6rPWyyfZFHFlN5ULYIIE5qIZaKRc4no4Q=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=dQX3omvSIJie/FN9u/OgJsDuGWtWEpne+HIvCmFNCyPMDXyeUxHA0FTDpD42/SPQQ /rBGUXIn5BqbSKHirb1tuUbMR3UD4okJ1/Z0rRbxVxXG3z1mgXRc+gmNP11maApGvQ VlYzo3CtUz/TewvxoDcC9ncvZya8J90kmlSF/n14= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, "Leonidas P. Papadakos" , Heiko Stuebner , "Sasha Levin (Microsoft)" Subject: [PATCH 5.0 025/122] arm64: dts: rockchip: fix rk3328-roc-cc gmac2io tx/rx_delay Date: Mon, 6 May 2019 16:31:23 +0200 Message-Id: <20190506143057.015219799@linuxfoundation.org> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190506143054.670334917@linuxfoundation.org> References: <20190506143054.670334917@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org [ Upstream commit 924726888f660b2a86382a5dd051ec9ca1b18190 ] The rk3328-roc-cc board exhibits tx stability issues with large packets, as does the rock64 board, which was fixed with this patch https://patchwork.kernel.org/patch/10178969/ A similar patch was merged for the rk3328-roc-cc here https://patchwork.kernel.org/patch/10804863/ but it doesn't include the tx/rx_delay tweaks, and I find that they help with an issue where large transfers would bring the ethernet link down, causing a link reset regularly. Signed-off-by: Leonidas P. Papadakos Signed-off-by: Heiko Stuebner Signed-off-by: Sasha Levin (Microsoft) --- arch/arm64/boot/dts/rockchip/rk3328-roc-cc.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3328-roc-cc.dts b/arch/arm64/boot/dts/rockchip/rk3328-roc-cc.dts index 99d0d9912950..a91f87df662e 100644 --- a/arch/arm64/boot/dts/rockchip/rk3328-roc-cc.dts +++ b/arch/arm64/boot/dts/rockchip/rk3328-roc-cc.dts @@ -107,8 +107,8 @@ snps,reset-gpio = <&gpio1 RK_PC2 GPIO_ACTIVE_LOW>; snps,reset-active-low; snps,reset-delays-us = <0 10000 50000>; - tx_delay = <0x25>; - rx_delay = <0x11>; + tx_delay = <0x24>; + rx_delay = <0x18>; status = "okay"; }; -- 2.20.1