From patchwork Mon Apr 29 06:15:52 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?QmlhbyBIdWFuZyAo6buE5b2qKQ==?= X-Patchwork-Id: 10921251 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 AEADB92A for ; Mon, 29 Apr 2019 06:16:29 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9D3C928703 for ; Mon, 29 Apr 2019 06:16:29 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9118528706; Mon, 29 Apr 2019 06:16:29 +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_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,UNPARSEABLE_RELAY 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 494E228703 for ; Mon, 29 Apr 2019 06:16:29 +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:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version: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=NdR7GJ9TJF9Ouxi4g3dC9UgjGfaAotURvsutOaZ7J9Y=; b=SR8N9U1z9cIiJy 2/9wwEHi/lalctAy8bodAdi6rxMtNWRb8KiQqdpKB84fI7t8gvWOQdASjv8SywGPa/Lw5S3cX/QVG Y77iN8H849OqnQZCnSsVIrvUpg1xXCepEsFplwt6MqEj1kByJHfHpqibBpZg93NExhCWo9n4Y/7If hFq36Lq1eg3THXsU0jBk7sqZj4IbEOcYsSs53B5l2OsmdVVYwBtrXodZNLH80QdH0kW0fabIYTW90 EgMJ8298NwG0fmY6BYpvDHYSjtyR4lMyRez9/7GRJauimLzhk9TxOWZc6krpJeBtcuflqSN/AVepy D0heAPy6Jsju8rk1L3ug==; 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 1hKzaW-0005jo-En; Mon, 29 Apr 2019 06:16:28 +0000 Received: from mailgw02.mediatek.com ([216.200.240.185]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hKzaI-0005SR-6f; Mon, 29 Apr 2019 06:16:15 +0000 X-UUID: 01e31d1f837b4019b2348d2720484889-20190428 X-UUID: 01e31d1f837b4019b2348d2720484889-20190428 Received: from mtkcas68.mediatek.inc [(172.29.94.19)] by mailgw02.mediatek.com (envelope-from ) (musrelay.mediatek.com ESMTP with TLS) with ESMTP id 194288706; Sun, 28 Apr 2019 22:16:09 -0800 Received: from MTKMBS01N2.mediatek.inc (172.21.101.79) by MTKMBS62N2.mediatek.inc (172.29.193.42) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Sun, 28 Apr 2019 23:16:07 -0700 Received: from mtkcas07.mediatek.inc (172.21.101.84) by mtkmbs01n2.mediatek.inc (172.21.101.79) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Mon, 29 Apr 2019 14:16:05 +0800 Received: from localhost.localdomain (10.17.3.153) by mtkcas07.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Mon, 29 Apr 2019 14:16:04 +0800 From: Biao Huang To: Jose Abreu , Subject: [PATCH 0/4] fix some bugs in stmmac Date: Mon, 29 Apr 2019 14:15:52 +0800 Message-ID: <1556518556-32464-1-git-send-email-biao.huang@mediatek.com> X-Mailer: git-send-email 1.7.9.5 MIME-Version: 1.0 X-TM-SNTS-SMTP: 29BA39CCF686AAB9215B307A05FAB453ECA786A1640899DC7C3C5E6100E51E9E2000:8 X-MTK: N X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190428_231614_243134_70CDFBF3 X-CRM114-Status: UNSURE ( 7.26 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: jianguo.zhang@mediatek.com, Alexandre Torgue , biao.huang@mediatek.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org, Maxime Coquelin , Matthias Brugger , Giuseppe Cavallaro , linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+patchwork-linux-mediatek=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This series fix some bugs in stmmac driver. 3 patches are for common stmmac or dwmac4: 1. update rx tail pointer to fix rx dma hang issue. 2. change condition for mdc clock to fix csr_clk can't be zero issue. 3. write the modified value back to MTL_OPERATION_MODE. 1 patche is for dwmac-mediatek: 1. modify csr_clk value to fix mdio read/write fail issue for dwmac-mediatek. Biao Huang (4): net: stmmac: update rx tail pointer register to fix rx dma hang issue. net: stmmac: fix csr_clk can't be zero issue net: stmmac: write the modified value back to MTL_OPERATION_MODE net: stmmac: dwmac-mediatek: modify csr_clk value to fix mdio read/write fail .../net/ethernet/stmicro/stmmac/dwmac-mediatek.c | 4 ++-- drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c | 2 ++ drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 5 ++++- 3 files changed, 8 insertions(+), 3 deletions(-) -- 1.7.9.5