Article View: linux.kernel.netdev
Article #9543Re: [PATCH net] net: stmmac: Clear DMA errors for multi-channel interrupts
From: Magnus Leatti
Date: Mon, 02 Nov 2026 08:45
Date: Mon, 02 Nov 2026 08:45
18 lines
9457 bytes
9457 bytes
On 10/30/26 11:22, Maxime Chevallier wrote: > The Multi-MSI interrupt handler doesn't clear the DMA error interrupts, > and this leads to interrupt storms when one of these interrupts starts > firing : Tested on a YT6801 (dwmac-motorcomm) with net at cb284914e749 and the glue unmodified. Without this patch, a 64-byte UDP flood (iperf3 -u -b 0 -l 64 -R -P 4) hangs the machine. On this board the stuck RBU also keeps the MISC bit in MGMT_INT_CTRL0 set, so vector 5 fires about 120k times per second. With the patch, the MAC interrupt only fires while the flood runs, about 1k/s, and stops afterwards; same with eight streams plus a TX flood for 30 s. Throughput is the same. Tested-by: Magnus Leatti <magnusleatti@kernelriot.com> nit: "YT8601" in the commit message should be YT6801.
Technical Details
Message-ID:
<20261102084558.5105-1-magnusleatti@kernelriot.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-354545-linux-kernel-netdev=dewy.ruReferences:
<20261030102251.208929-1-maxime.chevallier@bootlin.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-354545-linux-kernel-netdev=dewy.ru From: magnusleatti@kernelriot.com (Magnus Leatti) Newsgroups: linux.kernel.netdev Subject: Re: [PATCH net] net: stmmac: Clear DMA errors for multi-channel interrupts Date: Mon, 2 Nov 2026 05:45:58 -0300 Organization: Usenet Network Message-ID: <20261102084558.5105-1-magnusleatti@kernelriot.com> References: <20261030102251.208929-1-maxime.chevallier@bootlin.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Injection-Info: usenet.network; logging-data="2886107"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:LymaS7Cib76WDqaLWr/BS5ww6eI= sha256:c+E/P4XB1/EGMVacNd0UHhDh8NMrSFrGnq4r3NVSlSk= sha1:KMlZY5ionqE0aUExjEwb4UJF4d4= sha256:MP/lBULFGCz1rLfTFDrOdASiiH1lIHFuYkizjyIX/l4= List-ID: <netdev.vger.kernel.org> X-Mailpost-Empty-Hdrs: X-Spam-Level X-Received: from localhost (localhost [127.0.0.1]) by mail.dewy.ru (Postfix) with ESMTP id 20D4B112471; Mon, 2 Nov 2026 11:51:37 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.049 X-Spam-Status: No, score=-3.049 tagged_above=-9999 required=6.31 tests=[DCC_REPUT_70_89=0.1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.25, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key) header.d=kernelriot.com X-Received: from mail.dewy.ru ([127.0.0.1]) by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id f4VTVkEfK9i1; Mon, 2 Nov 2026 11:51:34 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-354545-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=kernelriot.com X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10]) by mail.dewy.ru (Postfix) with ESMTPS id 4781D11246F; Mon, 2 Nov 2026 11:51:25 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by sea.lore.kernel.org (Postfix) with ESMTP id 8C6B82DE8C; Mon, 2 Nov 2026 08:47:11 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1 X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass; t=1793609231; b=vcTeNJlnSVtkAQjrqw6v1YUSHtdHPlK3dB0tH3G+2zfPa2EAp0Ewea8wmiKm5YhXYxwt Ih3iPXvq/+UjYl+g8fl7hIf9cmT441uwDvq+P1EyDrYaJYNqaHgjtywzDBPZZd4AlJTuJ GVyQSU5jIjYpVUZhMvI+Oips5GLDKaj8uUqL0j8UedW7t4/uuVPUvu8eFL9dSFs8LhrYl sCzfSy+yzl/aqoit9/iBiKbe5hDsaPqYvaQJuESt/KTCb9HQoCB2IS1qSMdzFLGJ6v3hW VP5ZAj1q1Dfy7U71KTd/kAcAjrna+G+jluUbyIFmB7IT6YUH6gIURBEJkaCxWhsBOlw== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793609231; h=X-Original-To:Received:DMARC-Filter:DKIM-Signature:Received:From:To: Cc:Subject:Date:Message-ID:X-Mailer:In-Reply-To:References: X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe: List-Unsubscribe:List-Owner:Precedence:MIME-Version: Content-Transfer-Encoding; bh=yuiWaWQDrq0Vg9DrcjhhGqt3JHN8TGxGS0CrvgppQHM=; b=eWNSITiwZVyF6HWmflRTtMLNsXg6wFFPfsUDb2h7h/lL3fRoQbBrZTwyTFStzy+QPnee o6s0wx0TZlY5SRmvm9auJJzmyGK8sx9VFjPIT6x91vIxprTWWaV+5SvgnlLOWXCCmKLA+ zCbiW8rqqXTVEyfWczkMvppIQoXwZ2jYcyHAUR3jie+3Q24H8NiWBQnB10lEIT3syj8D7 2B31aNYd+wD7/62QxYe5NZwe3MV/sN8B4zpC9hK0S7BcjyejqwZaIj3EFF/9tYbiDvRWD ZJn3k2HipbRxBnyztFcFgC5Z3jdTMibwZXkhWT3YzWnlyy+lSvAVJUEUDy0GbkluDfw== X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dkim=pass header.d=kernelriot.com header.i=@kernelriot.com header.a=rsa-sha256 header.s=kr2026 header.b=Z1HGC3Hk; dmarc=pass header.from=kernelriot.com; spf=pass smtp.mailfrom=kernelriot.com; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1 X-Received: from localhost.localdomain (localhost [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6424A606A330; Mon, 2 Nov 2026 08:47:11 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=kernelriot.com header.i=@kernelriot.com header.a=rsa-sha256 header.s=kr2026 header.b=Z1HGC3Hk X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=74.208.142.49 X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1793609223; b=FPSt6cRMtxmBjiSq8pysdZFN4mTBKhBpRDtDBPsFtJFA+u034v77F8Vomy0AQ+FtUlwg jN4Q0jD8ifDq7NQEmu4XhM9Cnn39tpDaqO6m6nZzSZ6g8DjgfMtqk9/ajUP9gp4vegadt 5dFUkc7ZFha5weVpIjc7IN4s4S0VPZppqFEovg11JBLULOhnK9rRwjeOzuok3DOIB+pjF 3HhC7dBE23NAi66ToCDiOXvH7bgYWhtfFaZNMhcTFsiV/xUjMliwqsRxZdy6Mcn8Pg+Sv 73ahRNh9/67GII4XAIUP2mxxGauNLNihRhGNewyMhfnz3iw99yM9mq/1H2e191Z6f1A== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793609223; h=DMARC-Filter:DKIM-Signature:Received:From:To:Cc:Subject:Date: Message-ID:X-Mailer:In-Reply-To:References:MIME-Version: Content-Transfer-Encoding; bh=yuiWaWQDrq0Vg9DrcjhhGqt3JHN8TGxGS0CrvgppQHM=; b=h3d6LY7sW6/fUyC99LihgX5IhUvkFNooFa+l2cLjt3Mmz0r26DTIT2iulAjcHass9T7m yHMLXYUKUXEguu/XuuKc7sNJ2LNCcdjmjyS3GuG05YtE8+hn19+NnQiOkKUzrA8QxqF8v Lv53qoHYWHtYSLAqgtOJ/TUPaFzdWXTAhrF1+CKMJv/6IcEJSqnZw8wSE9jC+CAzlp5WP TKuCgm6nKvd7mXOCTqskQ0EsTsXAwi/dWB4S9O0LgE6mvGXopUBPH7D6vjkKz1s6ELaIg 0wvG2NVOm3l8UcK6XfNlXnkXELeLlPODucEyZ+xsUGQ1PNRh5ydBXqeMKqrisO6xdqw== X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=kernelriot.com; spf=pass smtp.mailfrom=kernelriot.com; dkim=pass header.d=kernelriot.com header.i=@kernelriot.com header.a=rsa-sha256 header.s=kr2026 header.b=Z1HGC3Hk; arc=none smtp.remote-ip=74.208.142.49 X-Received: from mail.kernelriot.com (mail.kernelriot.com [74.208.142.49]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5C243606A324; Mon, 2 Nov 2026 08:47:03 +0000 (UTC) X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 5C243606A324 X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=kernelriot.com X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=kernelriot.com X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernelriot.com; s=kr2026; t=1793609222; bh=yuiWaWQDrq0Vg9DrcjhhGqt3JHN8TGxGS0CrvgppQHM=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Transfer-Encoding:From; b=Z1HGC3HkR8D00Uh0FiLWurch+GQd10bwl2o2HDqhQXQmKVZsWi2pnIo94j6nTnyWI TePKg9UI0on9soMqJYZ2ICUTB36Ii7//aTV+5o5DRK54lTOlYvhqAfbIgo9+RlVUUh vXMW9ff3cdv1Jb8B1C8oAJw0+AFj+IvCiYR6Zra9xCqFH+Im3iei2uXeYIlafn+hz5 7/xaJcTPgVCNaaUzNFGJxOQL540GjMq2Xol/1KYHRCGo4Z6ovG5ogoLfPVpTQArYAg tSDTMGktKaG+xIgwD+RxTVMYCExwE6jmkcCKDjFhRBN3r0PjsfvpyY0xO+mXfMnIvX 5lWwKAUA9c+OA== X-Received: by mail.kernelriot.com (Postfix, from userid 995) id 22D0F81455; Mon, 2 Nov 2026 08:47:02 +0000 (UTC) X-Cc: Andrew Lunn <andrew+netdev@lunn.ch>, Jakub Kicinski <kuba@kernel.org>, davem@davemloft.net, Eric Dumazet <edumazet@google.com>, Paolo Abeni <pabeni@redhat.com>, Simon Horman <horms@kernel.org>, Maxime Coquelin <mcoquelin.stm32@gmail.com>, Alexandre Torgue <alexandre.torgue@foss.st.com>, Russell King <linux@armlinux.org.uk>, Lorenzo Bianconi <lorenzo.bianconi@oss.qualcomm.com>, Ovidiu Panait <ovidiu.panait.rb@renesas.com>, Nicolai Buchwitz <nb@tipi-net.de>, thomas.petazzoni@bootlin.com, alexis.lothore@bootlin.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org X-Mailer: git-send-email 2.56.0 X-In-Reply-To: <20261030102251.208929-1-maxime.chevallier@bootlin.com> X-Mailing-List: netdev@vger.kernel.org X-List-Post: <mailto:netdev@vger.kernel.org> X-List-Help: <mailto:netdev+help@vger.kernel.org> X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org> X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org> X-List-Owner: <mailto:netdev+owner@vger.kernel.org> X-Precedence: list