Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp459847pxu; Wed, 14 Oct 2020 05:56:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwHPg1WrMvGZTxzgu7c1KZ9aQMy7TE/3eovH5mskjmfsgcb6DDI6qDIThsmpGPua4Dk93Ep X-Received: by 2002:a17:906:3748:: with SMTP id e8mr5346245ejc.31.1602680209462; Wed, 14 Oct 2020 05:56:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602680209; cv=none; d=google.com; s=arc-20160816; b=VfVortUnHYmLocEzK8frGSLh/6cT5sI8C3qoViZwPb65/Kqet7xgZGUz//RldeiD9Z b/bA9+rkBzEHpuZ+WShM5HYqGrUMjrXSyHQgwS5AHIthJ5KaOvoqE5QaOMBN5nj9spv3 mnEDvNdNDVjzlMxVadKNKDQaqcR5Af4dyv9dIFezWiWKWbpHJRz4EFzR7m7S6LJaxVJN iTIm6f3SMmLRO1RIoj+L7C9FdqAQ8LhMT9trTfoNZVr+DEJzrGviFgDi/T2WsVnSw7Bn SW3yw7ejmeBE9qHe5jnHEC5cBHb3WUF3v/1j3IU9ipgOdno4EnnPWOxEziNr7D48SPtG ioCA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=sapVsq84u+/Ik4Niong7GPfp9kp5AwDVad3f9ZmEdFM=; b=M2b4wINYcNmwFrEM/i3vOPusH/ElkmBPK3YyCOaAkHGhpPZ+PMi2MfiVNbI8oBsQ2B rky/2DBsK5tzp7Hw28I+1b/gcdGnARfjvR3neDzzRVabWDRmZHSqSO6L87ANmbx3B65i YIDeT3+o8tyVqXmHJ94p6l71oGxl3VKESAChDquhX+rrKXZWTOjkenXdAHsv2lzWAgHH qNVMyS2+YXnU/IRlVWpNz49k2zwYn/ckli0eugi9CqeEEFHj9kvr0CWE08Ahro5er8Jo sWWa12sBqJ4uQ83gf1BCQ0sDi7/Xf2RP/JUMb5yyuAD9P/VjRrimQR9JMb7otqcU8Wjj Az3g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f10si2111587eds.576.2020.10.14.05.56.27; Wed, 14 Oct 2020 05:56:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729171AbgJNGHO (ORCPT + 99 others); Wed, 14 Oct 2020 02:07:14 -0400 Received: from twspam01.aspeedtech.com ([211.20.114.71]:40144 "EHLO twspam01.aspeedtech.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728821AbgJNGHO (ORCPT ); Wed, 14 Oct 2020 02:07:14 -0400 Received: from mail.aspeedtech.com ([192.168.0.24]) by twspam01.aspeedtech.com with ESMTP id 09E64PNb047725; Wed, 14 Oct 2020 14:04:25 +0800 (GMT-8) (envelope-from dylan_hung@aspeedtech.com) Received: from localhost.localdomain (192.168.10.9) by TWMBX02.aspeed.com (192.168.0.24) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 14 Oct 2020 14:06:44 +0800 From: Dylan Hung To: , , , , , , CC: Subject: [PATCH 0/1] Fix Aspeed ast2600 MAC TX hang Date: Wed, 14 Oct 2020 14:06:31 +0800 Message-ID: <20201014060632.16085-1-dylan_hung@aspeedtech.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [192.168.10.9] X-ClientProxiedBy: TWMBX02.aspeed.com (192.168.0.24) To TWMBX02.aspeed.com (192.168.0.24) X-DNSRBL: X-MAIL: twspam01.aspeedtech.com 09E64PNb047725 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch fixes the TX hang issue on Aspeed AST2600. Two HW arbitration features are added onto ast2600, but these features will cause MAC TX to hang when handling scatter-gather DMA. These two problematic features can be disabled by setting MAC register 0x58 bit28 and bit27. Dylan Hung (1): net: ftgmac100: Fix Aspeed ast2600 TX hang issue drivers/net/ethernet/faraday/ftgmac100.c | 5 +++++ drivers/net/ethernet/faraday/ftgmac100.h | 8 ++++++++ 2 files changed, 13 insertions(+) -- 2.17.1