From patchwork Sun Feb 10 18:04:39 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Geis X-Patchwork-Id: 10804863 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id A72FE746 for ; Sun, 10 Feb 2019 18:05:03 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8A6DB28B40 for ; Sun, 10 Feb 2019 18:05:03 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 77BD029B1C; Sun, 10 Feb 2019 18:05:03 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 2AFED28B40 for ; Sun, 10 Feb 2019 18:05:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=IdPz8+BGKHMOuhOVcmB/lZ+ihqEvWZOtWBzLGNmUNKg=; b=Z8k AzH2OQZx9i2vMgDP/4xb61+eTsKDnUFTiK8maxt/YuJjfUqku6KUFDIkkXvG6znRwIvmXjp6pMtSm 7dSFTPR1krOBVMzA1F73K6CGuyYEzw8xCy+4tkk6PUwbD6LxeYBePCMm+ecFUoK4B0Jmn8Oww0krv zbEas/vUL33yNffimPOugiiDrib51OZmPxa9K7zJBD9MplM+4cW5VbR25e8gG9PBK73mbyUHOpBfU wz4doIC5hnX6QGwf/JA08KBT6sRme4u2oCknK9tAOUwtN/vLPZirX7i/AWlT7uMivMehMoqm1eQxd jAN/SYAglbi6AkvkXvDSRPniKRbUMLg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gstTO-0002p9-UI; Sun, 10 Feb 2019 18:04:58 +0000 Received: from mail-yb1-xb41.google.com ([2607:f8b0:4864:20::b41]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gstTL-0002om-QM for linux-rockchip@lists.infradead.org; Sun, 10 Feb 2019 18:04:57 +0000 Received: by mail-yb1-xb41.google.com with SMTP id v2so1324292ybm.2 for ; Sun, 10 Feb 2019 10:04:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=GbGEnOFmWpniPw7Gp4FokhWFipYnXEoq4dFJhcjUZDs=; b=CLCp4FqmZvAxm0TkTqv/t96BFapPs79/1vgDsPqSad+b1z9z70tQODuyYaSHbCdogf Vs3tf78k1ITjieNkV1mwCORAgiUtDzF1K6Zke/lcTSbggOGaFOE5mfXseWWpLoWa6mP8 +YZQIb7HsQL0U91TV/Ly5tAlQXDluLZ6JN3zQfOa+3Y2if6uQYx7JPj59du3X5QScOcB O4LNYG64H0ELtwBopYvdPsTRniZzskVOd8EVq0Z5kDS/KkCmHnZ+zT7xi7/ZvXfoYEIQ RSi2CC3J/g9Qrc+1lCUQvzqSL0KISfrPGZlHx6CNtG+Q5A+KLQKJXovTpGdo6Asxzcdx 6PNA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=GbGEnOFmWpniPw7Gp4FokhWFipYnXEoq4dFJhcjUZDs=; b=j9c85y72DOJc8H97sjfj9iU0QORtglupximJTnShG9QaNbSNQ5cpeoCTWaSQ3vjNJb A9UFuNTSxVjAAhTWIaeMLX3FkoulmjO1zmucXykzHZ/8t1E/1eKAKk6fFm8UH/6B8wjW QOmPnJomWlJ1SzA6fseVHpLznA4h+BeTWBmFYbrYYhecfdzEYcMPiLust0e15jyKjrZ3 ciMo0AdjVeBV8JK73bSqFLj/4nDfYqPmYjJBDD29o0J7qkwMQdOyUkHlkvHXiys9q+Y5 1uIyjkUXBzmXu3odsET6iMXYlQ1ip/QVpkebbhUnSH0UOHQG3F9X01pUY/KQeKYMTsXV JFOA== X-Gm-Message-State: AHQUAuZkiO2CB/g7Wf1PcFPktFJzd7gZCdoCYFWF8jvA//5YQDNPPvaD RsNnEHs72LLepRTIOcHpEUtjtXh9 X-Google-Smtp-Source: AHgI3IY4SDEC1fhXo1AU1EZIuaNSz2ubKXUVkf/pDKNNrvLL0mS7bZ/+JWCJ5m20A1bobdySmacJkw== X-Received: by 2002:a25:2fc7:: with SMTP id v190mr25176492ybv.452.1549821894100; Sun, 10 Feb 2019 10:04:54 -0800 (PST) Received: from firefly.sparksnet ([2601:153:900:ebb:f072:e1:21bb:c67e]) by smtp.gmail.com with ESMTPSA id b141sm1579511ywh.93.2019.02.10.10.04.53 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 10 Feb 2019 10:04:53 -0800 (PST) From: Peter Geis To: Levin Du Subject: [PATCH] arm64: dts: rockchip: fix rk3328-roc-cc gmac2io stability issues Date: Mon, 11 Feb 2019 02:04:39 +0800 Message-Id: <20190210180439.380-1-pgwipeout@gmail.com> X-Mailer: git-send-email 2.17.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190210_100455_898685_E664992B X-CRM114-Status: GOOD ( 10.25 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-rockchip@lists.infradead.org, Heiko Stuebner MIME-Version: 1.0 Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Resubmission, signed off this time. This patch is a port of the fix from commit 73e42e186699 ("arm64: dts: rockchip: fix rock64 gmac2io stability issues") As per that patch, enabling thresh dma mode force disables checksuming. This is necessary as tx checksuming does not work with packets larger than 1498. The rk3328-roc-cc board exhibits tx stability issues with large packets similar to rock64's issues. This patch resolves that issue. Signed-off-by: Peter Geis --- arch/arm64/boot/dts/rockchip/rk3328-roc-cc.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3328-roc-cc.dts b/arch/arm64/boot/dts/rockchip/rk3328-roc-cc.dts index 99d0d9912950..33c44e857247 100644 --- a/arch/arm64/boot/dts/rockchip/rk3328-roc-cc.dts +++ b/arch/arm64/boot/dts/rockchip/rk3328-roc-cc.dts @@ -104,6 +104,7 @@ phy-mode = "rgmii"; pinctrl-names = "default"; pinctrl-0 = <&rgmiim1_pins>; + snps,force_thresh_dma_mode; snps,reset-gpio = <&gpio1 RK_PC2 GPIO_ACTIVE_LOW>; snps,reset-active-low; snps,reset-delays-us = <0 10000 50000>;