🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #6245

Re: [PATCH net] net: lan969x: don't disable hardirqs in fdma tx clear

#6245
From: patchwork-bot+netdevbpf
Date: Thu, 22 Oct 2026 00:30
26 lines
8881 bytes
Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Tue, 20 Oct 2026 10:57:27 +0200 you wrote:
> lan969x_fdma_tx_clear_buf() runs from the NAPI poll and frees the skbs
> of completed tx DCBs with napi_consume_skb(), under sparx5->tx_lock.
> 
> Before this patch, the lock is taken with spin_lock_irqsave(), so the
> skbs are freed with hardirqs disabled. RX skbs are marked for page_pool
> recycling, so when such an skb is forwarded back out and its tx
> completion frees it here, the free path reaches __page_pool_put_page(),
> which warns via lockdep_assert_no_hardirq().
> 
> [...]

Here is the summary with links:
  - [net] net: lan969x: don't disable hardirqs in fdma tx clear
    https://git.kernel.org/netdev/net/c/9770818b8a92

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID: <179262901059.1378903.1270598313678764253.git-patchwork-notify@kernel.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-350320-linux-kernel-netdev=dewy.ru
References: <20261020-lan969x-fdma-tx-clear-irq-v1-1-b9f9d1eda317@microchip.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-350320-linux-kernel-netdev=dewy.ru
From: patchwork-bot+netdevbpf@kernel.org
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net] net: lan969x: don't disable hardirqs in fdma tx clear
Date: Thu, 22 Oct 2026 00:30:10 +0000
Organization: Usenet Network
Message-ID: <179262901059.1378903.1270598313678764253.git-patchwork-notify@kernel.org>
References: <20261020-lan969x-fdma-tx-clear-irq-v1-1-b9f9d1eda317@microchip.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="95008"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:4XBPV7j9ChPSiOfjSxhBvzgWlUA= sha256:j8BK1R2TqGdjF8mrm5WzRy35ARm5rM3f84aOouJvEbY=
	sha1:NpHOaz5SawLyR4fqz99K/ix4UJM= sha256:CtDsS+B2XVtx66dcB4IkDjvAGiDNoy6FJFkEiAA4DRs=
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 CB8CB111167; Thu, 22 Oct 2026 03:32:55 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.401
X-Spam-Status: No, score=-3.401 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1,
	DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
	MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001,
	SPF_PASS=-0.001] autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key)
	header.d=kernel.org
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 qecvP4yae9Qt;
	Thu, 22 Oct 2026 03:32:52 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-350320-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=pass (p=quarantine dis=none) header.from=kernel.org
X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
	by mail.dewy.ru (Postfix) with ESMTPS id 978C411114B; Thu, 22 Oct 2026 03:32:42 +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 0D9CB382C9; Thu, 22 Oct 2026 00:30:14 +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=1792629013;
	b=kMPwosQBjpElwu7StEZM+23GZnUDQsp7h5sUOor6p5OiWwGLqBvjXuVwUUo2umnoYL+B
	 gbUDhkRvN6Lp0NQokpFuwGhUsSGykT6iV495dybGTligRoZesjieOdv+k+z3iPhehZ0L0
	 4Mmtfu5eu4YjS7qAk4suA4xjYYnyWhkj634rSGjq8wFjkSs1EmZ+vOi+z3TO+V7cC6iW1
	 55cLXf7NQv+Ewt3QZTDSyCIKvNiet6m7ygfiPsdxp8zyrdn5c9iZfzNjBuOJEE4TBB5ef
	 o5oNwgoCWR1FD+t5/fCcive8hhBFVHHQAZEwL/LXYSS3Z1aSxOBuKS7wxqyGNbl36UQ==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1792629013;
	h=X-Original-To:Received:Received:DKIM-Signature:Received:Content-Type:
	 X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe:
	 List-Unsubscribe:List-Owner:Precedence:MIME-Version:
	 Content-Transfer-Encoding:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc;
	bh=uZkzK/XnREzEVV0ebXbgmbk4W62Yc9eFtRqf1FWlWqk=;
	b=o2GDCeIvqGX1r9jyRpKzBC8aPJMSaN7rJmwD1K0FC1RwfMNu0BwzmCU93XTrgfkJnhL1
	 AAIlsQ2X5mxtrEl1HsVI/+U47Z8dMsX8VQVg5XKpjYyQEtr36dLfAfAjREYj/RLAtaVGF
	 kqEJHv4M7A50Y+Vyjv46qbpW1CQjU2c0FY2ztU6P1l2aDELZMsUZ5tRt1VVWvN/KROIoI
	 IaaOnffJVSWQwhCKNXBIodJh6Jnw6msI9WtdsVwAaAcvwmIQ5NkLa7KDoLf/FKW2R52Bb
	 lcr9FzuRCcjlOi7eN5TIvAh8oLrDe0H/31eku+h7+B6aib0OFkYBneVLCVQXy014paw==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b="j7/C49Wb";
	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 D7F78606A324;
	Thu, 22 Oct 2026 00:30:13 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key, unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=j7/C49Wb
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1792629013;
	b=RGSQrBZF4Be4wJEHDasP+dTXCaUdOMfX8xBSztlea1+ThA4xycKjfF+hRfhYj6CyWU96
	 dHMZ5sGXx7JRWwmgZUI9hMLfhdBp4AHTUSIuyE0rPe4FRB7eE04CR2zG3PWhyrhSCGCp2
	 Ljk2cRNDmfFlssCCng6+7TAlZ5F/nhLoZoqJO4edXGS7cU32KpHAh4ILNzzZEgI0vxyLV
	 qb84k/3UxQw6isaOaq0fHhJbw32k0Qu/fk0ntQaKTbNvSvOlIrJISX1zyWBPnudALM9sj
	 9ip3V6p9LzCEM/C7bc8o7BrPeu3oSxxFqxIDbuk5CFjIAWBiUB/A1DSaFfRXdh5eDOQ==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1792629013;
	h=Received:DKIM-Signature:Received:Content-Type:MIME-Version:
	 Content-Transfer-Encoding:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc;
	bh=uZkzK/XnREzEVV0ebXbgmbk4W62Yc9eFtRqf1FWlWqk=;
	b=BfM4t5ctNrP2n8xj6HVHCS7jSJLZXiArP3yB3Fq6ympcoO7ld1Pdz3+cyVHFEBSWXQQb
	 M9t9AgzYXeufrL0tQMxiCNwFuSwILPUGB6TSoUK2o8wiqnORZk43bJ4qtOYye+6kaI1uJ
	 D3KET/LEXySsLieDboZfp3ezlvFuQnd3sSvWz8HNkaY6rij7LP3hfIbK+FByPqllzhG+F
	 azMr8+Nb/9nYRqYmhRJDfqLG5v4tasdUQlOglnDSGDMJRpeGYjow7GBQqp2GS1Hs2bDek
	 8SYTcX9m1N30rBuHHyGC8pBy21P5FpR8ytypLg+6B3l4RSXw3dFeGJ9U6JaE/Lv9mRQ==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b="j7/C49Wb";
	arc=none smtp.remote-ip=100.103.45.18
X-Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18])
	(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 AFD54606A325;
	Thu, 22 Oct 2026 00:30:12 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0734A1F000C1;
	Thu, 22 Oct 2026 00:30:12 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1792629012;
	bh=uZkzK/XnREzEVV0ebXbgmbk4W62Yc9eFtRqf1FWlWqk=;
	h=Subject:From:Date:References:In-Reply-To:To:Cc;
	b=j7/C49WbSMxxG0QijFQKufiYq0Q6dinOiGJm8MkKxqm6StnaJDt8TdIH6Rgcf+keq
	 JADCWI01KasEN91qaed5UQGW6ajVEcWjFhS4edH5K6ikiH1vaI04BS9WMYQvYiaRPH
	 7Wkz1rNuBpaxGd0B9C/+F96AA3g3WApR4IfDmlQkpObBgY2IbK7sTDKbTi/qQUH25V
	 wTesyhUX87grDxMnyia3fA6O+g9/De57gzSXa+cLXdAaYbis9obYauivIQVeCKe4uL
	 Fmp1+voB3agGWkl7oG/2zx7u1gJh+YYKRR8RpVzpOslzk5NMoITGjrhhkG1Jb+tR0N
	 ZWyatNxK0iniw==
X-Received: from [10.30.226.235] (localhost [IPv6:::1])
	by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id F15A3380A963;
	Thu, 22 Oct 2026 00:30:11 +0000 (UTC)
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
X-In-Reply-To:  <20261020-lan969x-fdma-tx-clear-irq-v1-1-b9f9d1eda317@microchip.com>
X-Cc: UNGLinuxDriver@microchip.com, andrew+netdev@lunn.ch, davem@davemloft.net,
 edumazet@kernel.org, kuba@kernel.org, pabeni@redhat.com,
 Steen.Hegelund@microchip.com, netdev@vger.kernel.org,
 linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org