From mboxrd@z Thu Jan 1 00:00:00 1970 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=-3.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,UNPARSEABLE_RELAY,USER_AGENT_GIT autolearn=ham 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 2137BC28CC0 for ; Thu, 30 May 2019 09:43:34 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id EA0282567B for ; Thu, 30 May 2019 09:43:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727631AbfE3Jnd (ORCPT ); Thu, 30 May 2019 05:43:33 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:15447 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726985AbfE3Jnc (ORCPT ); Thu, 30 May 2019 05:43:32 -0400 X-UUID: eff625b68e9d47159bc7e970190f24aa-20190530 X-UUID: eff625b68e9d47159bc7e970190f24aa-20190530 Received: from mtkcas08.mediatek.inc [(172.21.101.126)] by mailgw02.mediatek.com (envelope-from ) (mhqrelay.mediatek.com ESMTP with TLS) with ESMTP id 139862312; Thu, 30 May 2019 17:43:25 +0800 Received: from mtkcas09.mediatek.inc (172.21.101.178) by mtkmbs01n1.mediatek.inc (172.21.101.68) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Thu, 30 May 2019 17:43:25 +0800 Received: from localhost.localdomain (10.17.3.153) by mtkcas09.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Thu, 30 May 2019 17:43:24 +0800 From: Biao Huang To: , Jose Abreu CC: Giuseppe Cavallaro , Alexandre Torgue , Maxime Coquelin , Matthias Brugger , , , , , , , , , , Subject: [RESEND, PATCH 0/4] complete dwmac-mediatek driver and fix flow control issue Date: Thu, 30 May 2019 17:43:14 +0800 Message-ID: <1559209398-3607-1-git-send-email-biao.huang@mediatek.com> X-Mailer: git-send-email 1.7.9.5 MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Sorry for not adding David Miller to the mailist, so resend this series. This series mainly complete dwmac-mediatek driver: 1. add power on/off operations for dwmac-mediatek. 2. disable rx watchdog to reduce rx path reponding time. 3. change the default value of tx-frames from 25 to 1, so ptp4l will test pass by default. and also fix the issue that flow control won't be disabled any more once being enabled. Biao Huang (4): net: stmmac: dwmac-mediatek: enable Ethernet power domain net: stmmac: dwmac-mediatek: disable rx watchdog net: stmmac: modify default value of tx-frames net: stmmac: dwmac4: fix flow control issue drivers/net/ethernet/stmicro/stmmac/common.h | 2 +- .../net/ethernet/stmicro/stmmac/dwmac-mediatek.c | 19 ++++++++++++++++++- drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c | 8 ++++++-- 3 files changed, 25 insertions(+), 4 deletions(-) -- 1.7.9.5 From mboxrd@z Thu Jan 1 00:00:00 1970 From: Biao Huang Subject: [RESEND, PATCH 0/4] complete dwmac-mediatek driver and fix flow control issue Date: Thu, 30 May 2019 17:43:14 +0800 Message-ID: <1559209398-3607-1-git-send-email-biao.huang@mediatek.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Sender: linux-kernel-owner@vger.kernel.org To: davem@davemloft.net, Jose Abreu Cc: Giuseppe Cavallaro , Alexandre Torgue , Maxime Coquelin , Matthias Brugger , netdev@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org, yt.shen@mediatek.com, biao.huang@mediatek.com, jianguo.zhang@mediatek.com, boon.leong.ong@intel.com, andrew@lunn.ch List-Id: linux-mediatek@lists.infradead.org Sorry for not adding David Miller to the mailist, so resend this series. This series mainly complete dwmac-mediatek driver: 1. add power on/off operations for dwmac-mediatek. 2. disable rx watchdog to reduce rx path reponding time. 3. change the default value of tx-frames from 25 to 1, so ptp4l will test pass by default. and also fix the issue that flow control won't be disabled any more once being enabled. Biao Huang (4): net: stmmac: dwmac-mediatek: enable Ethernet power domain net: stmmac: dwmac-mediatek: disable rx watchdog net: stmmac: modify default value of tx-frames net: stmmac: dwmac4: fix flow control issue drivers/net/ethernet/stmicro/stmmac/common.h | 2 +- .../net/ethernet/stmicro/stmmac/dwmac-mediatek.c | 19 ++++++++++++++++++- drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c | 8 ++++++-- 3 files changed, 25 insertions(+), 4 deletions(-) -- 1.7.9.5 From mboxrd@z Thu Jan 1 00:00:00 1970 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=-3.0 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, T_DKIMWL_WL_HIGH,UNPARSEABLE_RELAY,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham 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 406DBC28CC0 for ; Thu, 30 May 2019 09:45:19 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 13E1B256A0 for ; Thu, 30 May 2019 09:45:19 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="DsHn6rkf" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 13E1B256A0 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=mediatek.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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=5i1h4bDPq45WDTU/tCgFi3w18CbLy0Rn3g4x5YejXJQ=; b=DsHn6rkfSI0qlR mDeyPJrVrpNuO4swwgD3vWHGxhhwo8rMhYKndiOgRiEchS/JCWzbdPPgC9Z8l4paKgSfH8IO3LHbc rEFnUfRIjptSQJjolf11+4wtVVEtiqqBV3wbiTev6qDw+3xQcyvu448n3i/bMnztdVX5qF/K8KGBN DxudI79s5cInQgY6YEfB5lhCAsZ5e+gQGx0Io+sAYKL0YuIxlJfEX6Rj34jpeTm7my5ey0AXLLUbb tz7TfZhfU0Rxjeymofked5YPjOL5e86jTC26OYN8aEPnWiTi5z7n7ZiPqC90Bx9BI79uE8LIitkZJ 0GbmixicqDEUPNNgv76g==; 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 1hWHcY-0002hw-DP; Thu, 30 May 2019 09:45:14 +0000 Received: from mailgw01.mediatek.com ([216.200.240.184]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hWHcV-0002hB-GV; Thu, 30 May 2019 09:45:12 +0000 X-UUID: 7e33d8de95664a3dac66996d33e468ff-20190530 X-UUID: 7e33d8de95664a3dac66996d33e468ff-20190530 Received: from mtkcas68.mediatek.inc [(172.29.94.19)] by mailgw01.mediatek.com (envelope-from ) (musrelay.mediatek.com ESMTP with TLS) with ESMTP id 821172413; Thu, 30 May 2019 01:43:40 -0800 Received: from MTKMBS01N1.mediatek.inc (172.21.101.68) by MTKMBS62N2.mediatek.inc (172.29.193.42) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Thu, 30 May 2019 02:43:38 -0700 Received: from mtkcas09.mediatek.inc (172.21.101.178) by mtkmbs01n1.mediatek.inc (172.21.101.68) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Thu, 30 May 2019 17:43:25 +0800 Received: from localhost.localdomain (10.17.3.153) by mtkcas09.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Thu, 30 May 2019 17:43:24 +0800 From: Biao Huang To: , Jose Abreu Subject: [RESEND, PATCH 0/4] complete dwmac-mediatek driver and fix flow control issue Date: Thu, 30 May 2019 17:43:14 +0800 Message-ID: <1559209398-3607-1-git-send-email-biao.huang@mediatek.com> X-Mailer: git-send-email 1.7.9.5 MIME-Version: 1.0 X-MTK: N X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190530_024511_552139_4F89B291 X-CRM114-Status: UNSURE ( 7.04 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: andrew@lunn.ch, jianguo.zhang@mediatek.com, Alexandre Torgue , boon.leong.ong@intel.com, biao.huang@mediatek.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, yt.shen@mediatek.com, linux-mediatek@lists.infradead.org, Maxime Coquelin , Matthias Brugger , Giuseppe Cavallaro , linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org Sorry for not adding David Miller to the mailist, so resend this series. This series mainly complete dwmac-mediatek driver: 1. add power on/off operations for dwmac-mediatek. 2. disable rx watchdog to reduce rx path reponding time. 3. change the default value of tx-frames from 25 to 1, so ptp4l will test pass by default. and also fix the issue that flow control won't be disabled any more once being enabled. Biao Huang (4): net: stmmac: dwmac-mediatek: enable Ethernet power domain net: stmmac: dwmac-mediatek: disable rx watchdog net: stmmac: modify default value of tx-frames net: stmmac: dwmac4: fix flow control issue drivers/net/ethernet/stmicro/stmmac/common.h | 2 +- .../net/ethernet/stmicro/stmmac/dwmac-mediatek.c | 19 ++++++++++++++++++- drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c | 8 ++++++-- 3 files changed, 25 insertions(+), 4 deletions(-) -- 1.7.9.5 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel