From patchwork Mon Oct 19 08:57:13 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dylan Hung X-Patchwork-Id: 11843851 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0FBB1C433E7 for ; Mon, 19 Oct 2020 08:58:01 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id B861C20874 for ; Mon, 19 Oct 2020 08:58:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729879AbgJSI5t (ORCPT ); Mon, 19 Oct 2020 04:57:49 -0400 Received: from twspam01.aspeedtech.com ([211.20.114.71]:65337 "EHLO twspam01.aspeedtech.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729831AbgJSI5s (ORCPT ); Mon, 19 Oct 2020 04:57:48 -0400 Received: from mail.aspeedtech.com ([192.168.0.24]) by twspam01.aspeedtech.com with ESMTP id 09J8soVf046771; Mon, 19 Oct 2020 16:54:50 +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; Mon, 19 Oct 2020 16:57:27 +0800 From: Dylan Hung To: , , , , , , CC: Subject: [PATCH 0/4] fix ftgmac100 issues on aspeed soc Date: Mon, 19 Oct 2020 16:57:13 +0800 Message-ID: <20201019085717.32413-1-dylan_hung@aspeedtech.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 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 09J8soVf046771 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org This patch series fixes the ftgmac100 mac hw issues on aspeed soc. Fixes: 52c0cae ("ftgmac100: Remove tx descriptor accessors") Fixes: 39bfab8 ("net: ftgmac100: Add support for DT phy-handle property") Fixes: 10cbd64 ("ftgmac100: Rework NAPI & interrupts handling") Dylan Hung (4): ftgmac100: Fix race issue on TX descriptor[0] ftgmac100: Fix missing-poll issue ftgmac100: Add a dummy read to ensure running sequence ftgmac100: Restart MAC HW once drivers/net/ethernet/faraday/ftgmac100.c | 53 ++++++++++++++---------- 1 file changed, 32 insertions(+), 21 deletions(-)