From patchwork Mon Oct 15 10:25:00 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Bj=C3=B8rn_Mork?= X-Patchwork-Id: 984077 X-Patchwork-Delegate: blogic@openwrt.org Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=lists.openwrt.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=mork.no Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="ZCsEnTTk"; dkim=fail reason="signature verification failed" (1024-bit key; secure) header.d=mork.no header.i=@mork.no header.b="nguiqgc0"; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 42YZPP029yz9s3q for ; Mon, 15 Oct 2018 21:27:04 +1100 (AEDT) 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:Subject:MIME-Version:References: In-Reply-To:Message-Id:Date:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=cpPOzrzWyw0YcHbGyjNRY7v/P5RIM8e58OBV3pn01uw=; b=ZCsEnTTkzi7XkN E5Xau9mmmESLBIzgxHUEyiXXUPw8kCa528x7AI3hZB7PtBbhHnlbH/tU6qsLwBYIcTHgN3WWYcq/E kZ9augqNS3qpX4YYL3hv1PPqfnHb3h7aYEOpk+6NG6Iwfdpe/zTx+feqaoklE6Uw9/GKksz3DeChi DwaMKWpXQcYTonnZRaKgSdDGi7AYxajDGOBdqlTCxhUz8r0NY44GpMNPnOrXO5Vudi+24fFYosrUC vfvsjvSKiicyQMj7GdP5ENs9CHwXzbA+Ep+HHUtzDx3PsuFI6SMiPH8aZyJYpBm7TtQnMtL8ylOgd 2evntK+RWDrr8JUHoXvQ==; 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 1gC05Q-00035Q-S3; Mon, 15 Oct 2018 10:26:56 +0000 Received: from canardo.mork.no ([2001:4641::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gC04C-0002X1-VS for openwrt-devel@lists.openwrt.org; Mon, 15 Oct 2018 10:25:46 +0000 Received: from canardo.mork.no (ip6-localhost [IPv6:0:0:0:0:0:0:0:1]) by canardo.mork.no (8.15.2/8.15.2) with ESMTPS id w9FAPNdH030853 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 15 Oct 2018 12:25:23 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mork.no; s=b; t=1539599123; bh=nIzGyo7wT4vtSWTq3snjcZTX1JbaaXHAn8dznRXigww=; h=From:To:Cc:Subject:Date:Message-Id:References:From; b=nguiqgc0gYFnjhc4HcHvGzcyuDlOv/kyF61eBXupALSLAskSmaa5aaORb9KSq7mUA dJuOs1APEaoApdU48QzlHxNvfepNwopTwZRokGCvE7faAovcghPVC2dDdWtd0oHWtM 4j9M7041ugKTo3n5BZgI0FcP2HL7QPQjqVQi6SMs= Received: (from bjorn@localhost) by canardo.mork.no (8.15.2/8.15.2/Submit) id w9FAPNo9030850; Mon, 15 Oct 2018 12:25:23 +0200 From: =?utf-8?q?Bj=C3=B8rn_Mork?= To: OpenWrt Development List Date: Mon, 15 Oct 2018 12:25:00 +0200 Message-Id: <20181015102503.30731-7-bjorn@mork.no> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20181015102503.30731-1-bjorn@mork.no> References: <20181015102503.30731-1-bjorn@mork.no> MIME-Version: 1.0 X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT shortcircuit=ham autolearn=disabled version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on canardo.mork.no X-Virus-Scanned: clamav-milter 0.100.1 at canardo X-Virus-Status: Clean X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181015_032541_996655_880130BC X-CRM114-Status: GOOD ( 10.85 ) X-Spam-Score: -2.4 (--) X-Spam-Report: SpamAssassin version 3.4.1 on bombadil.infradead.org summary: Content analysis details: (-2.4 points) pts rule name description ---- ---------------------- -------------------------------------------------- -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at http://www.dnswl.org/, medium trust [2001:4641:0:0:0:0:0:1 listed in] [list.dnswl.org] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid Subject: [OpenWrt-Devel] [RFC 6/9] mt7621: fix softirq loop X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?utf-8?q?Bj=C3=B8rn_Mork?= Sender: "openwrt-devel" Errors-To: openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org Signed-off-by: Bjørn Mork --- .../2201-mt7621-eth-fix-napi-int.patch | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 target/linux/ramips/patches-4.14/2201-mt7621-eth-fix-napi-int.patch diff --git a/target/linux/ramips/patches-4.14/2201-mt7621-eth-fix-napi-int.patch b/target/linux/ramips/patches-4.14/2201-mt7621-eth-fix-napi-int.patch new file mode 100644 index 000000000000..d52ff56643cb --- /dev/null +++ b/target/linux/ramips/patches-4.14/2201-mt7621-eth-fix-napi-int.patch @@ -0,0 +1,22 @@ +--- a/drivers/net/ethernet/mediatek/mtk_eth_soc.c ++++ b/drivers/net/ethernet/mediatek/mtk_eth_soc.c +@@ -1775,8 +1775,8 @@ static irqreturn_t mtk_handle_irq_rx(int + + if (likely(napi_schedule_prep(ð->rx_napi))) { + __napi_schedule(ð->rx_napi); +- mtk_rx_irq_disable(eth, MTK_RX_DONE_INT); + } ++ mtk_rx_irq_disable(eth, MTK_RX_DONE_INT); + + return IRQ_HANDLED; + } +@@ -1787,8 +1787,8 @@ static irqreturn_t mtk_handle_irq_tx(int + + if (likely(napi_schedule_prep(ð->tx_napi))) { + __napi_schedule(ð->tx_napi); +- mtk_tx_irq_disable(eth, MTK_TX_DONE_INT); + } ++ mtk_tx_irq_disable(eth, MTK_TX_DONE_INT); + + return IRQ_HANDLED; + }