From patchwork Sun Feb 10 17:02:14 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Geis X-Patchwork-Id: 10804853 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 78E76746 for ; Sun, 10 Feb 2019 17:02:28 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6230829DF8 for ; Sun, 10 Feb 2019 17:02:28 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5645029DFA; Sun, 10 Feb 2019 17:02:28 +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 0C00829DF8 for ; Sun, 10 Feb 2019 17:02:28 +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=kWz9S/kO/sSphQeXr0YXdPTZ2rFEKASym0FW+OUezug=; b=nF0 uA21JpB2ZqlzFIWE0V3VgVH+to9GmsHr5thAs/Rv0zbxa42yG763XQIy2VgIXvuqD2/bjSuBNnPPD qUn7AIMdQ7ri/f/nnIKNo7vAoshijqBM83aKuKEKAJAJNH0IXbcUJyqNKmU+plJK9oQvnlOxp3jd0 O0l33hPTrA/aiBXMrkNc/iRXeuqpMiHa3/Qs62iF1yxn6d6U/rPPhpUDuq4K4XcHb6eHM7XlwhLE8 vkFiHTeuvB+2V98gx13mNh0MRw26VJF35UOH1SIKAn+YE7H75S3T9REXFnbF36mdXeS+kpKN/k9H8 OCK56vJXqan44+ujhNtrV5HwffZSJpg==; 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 1gssUr-000192-Ha; Sun, 10 Feb 2019 17:02:25 +0000 Received: from mail-yb1-xb44.google.com ([2607:f8b0:4864:20::b44]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gssUo-00018h-Tr for linux-rockchip@lists.infradead.org; Sun, 10 Feb 2019 17:02:24 +0000 Received: by mail-yb1-xb44.google.com with SMTP id 2so3381007ybw.4 for ; Sun, 10 Feb 2019 09:02:22 -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=+BGqJmmIJ2SnYzOiQ1XuOYvx+SDJPn9qpC1FkrzbW24=; b=HgoU/7NTRpHR6/7DMyyHhMk2Q+t65QHc0NQnesLh3746qt5TOPJELLr5EFVcj4DkLc uiC8q4Q/7MYzbVnLHS5cYSbe/zNYE4l38gwT/TP1XaKD3IhrCfgv2UfT8zQFtSEbBHVJ r0d1bEZ4r7Oi1NWzfAfy8dWQue8VvjXW9xlLiQQgviRWe4UTiW6dW1j+BDEWZShOJwYq puXXLg3q3m1BYxk2rTxmYmg8Vq6XoH8nxLv2TKFqMDi/rlK/CTUBj4pxG+J2biHxmti8 m7BHKirUaZ4IQ/t5dn5UCrOYSUiSM/BMpv0xH0wNTPB73jo410Py/jlV2g6MO0gIZaeN w1Cw== 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=+BGqJmmIJ2SnYzOiQ1XuOYvx+SDJPn9qpC1FkrzbW24=; b=n2ROGVs8v/9iloQK498kndsjtZdlIA4ANsD1tEwfpAMUTxr/+bOcZPp/uPdSL0qNOm bXda0jQolzlRnMT8FH9YzHYdO9CqfQbR7NQBUSdrMw/roltTrbPOgCyeh1yb9gdtXdoI 3voBRBcDHC3DD98A/LY1Fo0km9K0gkRSCWhzCZrvD1WNZGPeiAbi3mQ6XXkgQeqtGo8C ZZQQwolLTO6HIENOcB6kOiBjACDRkIYWLHh6WCbbU0UudOIeM3PeaoWOPAfzTDd2QC1m kSpE7bGIM7zbMKEPXqrxFKlAoyPx6F00OZqxkQuR8dW/Z7zUoRPl+586QS7KyhxbRQRZ pNpQ== X-Gm-Message-State: AHQUAubkmesZnLcCbHl0dGH8X0Q+jXaRRRNXlB2Nv+Y18bcJcfR6ZtFA IEmf3VgkEoIw8J4r15wwaOMAxjJ6 X-Google-Smtp-Source: AHgI3IYWZbX/tceiUalFI3z3WGSGTdwRHPoIDqGR/Fze6rNgNilcktz4hWT1Juoe/omnb3lsqOpVeg== X-Received: by 2002:a25:dc49:: with SMTP id y70mr22933899ybe.288.1549818141204; Sun, 10 Feb 2019 09:02:21 -0800 (PST) Received: from firefly.sparksnet ([2601:153:900:ebb:f072:e1:21bb:c67e]) by smtp.gmail.com with ESMTPSA id 82sm952981ywp.95.2019.02.10.09.02.20 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 10 Feb 2019 09:02:20 -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 01:02:14 +0800 Message-Id: <20190210170214.12057-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_090222_982125_5D383BA4 X-CRM114-Status: GOOD ( 10.19 ) 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 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. --- 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>;