Article View: linux.kernel.netdev
Article #1958Re: [PATCH 6.18.y] net: dsa: mt7530: fix .get_stats64 sleeping in atomic context
From: Sasha Levin
Date: Sun, 11 Oct 2026 16:48
Date: Sun, 11 Oct 2026 16:48
10 lines
5433 bytes
5433 bytes
> The .get_stats64 callback runs in atomic context, but on > MDIO-connected switches every register read acquires the MDIO bus > mutex, which can sleep: Queued for 6.18, thanks. -- Thanks, Sasha
Technical Details
Message-ID:
<2026-10-11-1-daily-reply-0011-mt7530-get-stats64-6-18@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-344541-linux-kernel-netdev=dewy.ruReferences:
<20261009190808.1385789-1-f@lex.la>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-344541-linux-kernel-netdev=dewy.ru From: sashal@kernel.org (Sasha Levin) Newsgroups: linux.kernel.netdev Subject: Re: [PATCH 6.18.y] net: dsa: mt7530: fix .get_stats64 sleeping in atomic context Date: Sun, 11 Oct 2026 12:48:18 -0400 Organization: Usenet Network Message-ID: <2026-10-11-1-daily-reply-0011-mt7530-get-stats64-6-18@kernel.org> References: <20261009190808.1385789-1-f@lex.la> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Injection-Info: usenet.network; logging-data="1578533"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:TsUoB+U98/usluRwDUHQgGzZVhA= sha256:e8IOzeCXMZB9KmtNXOZwagYWiwneM+3rmay2vjEVx8w= sha1:wjaKfRpqneX+ygLCRQPDBxYxWGA= sha256:/awfe+6J/NrOJ3reHMZ9ZIjVo+E7gMTgymL9BtxXh5s= 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 E9AE910FA26; Sun, 11 Oct 2026 19:51:37 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -1.341 X-Spam-Status: No, score=-1.341 tagged_above=-9999 required=6.31 tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.241, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, MAILING_LIST_MULTI=-1, 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 o3cBmW4zzGQq; Sun, 11 Oct 2026 19:51:33 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-344541-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 9329910F7C9; Sun, 11 Oct 2026 19:51:27 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1]) by sea.lore.kernel.org (Postfix) with ESMTP id BDF70349C1; Sun, 11 Oct 2026 16:48:43 +0000 (UTC) X-Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7B8243590A9; Sun, 11 Oct 2026 16:48:42 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="DsnfuCWo" X-Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6DB943242D4; Sun, 11 Oct 2026 16:48:41 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 X-ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791737322; cv=none; b=iX9SFfnWUFLILdDl7k01l6A9PhJ0FzK8mx+sTi2gYcCbN49B5R3OzylU+19u+7DH3LNMs4sWjgAD8mnAa/DIJMwz/f7a7sEOqFvZgXzGKb+oQjjJ90yTsdZycDxR4WIJ1lLV31FG9oJT+fMUh/zqrk9N2s/EJhN47KpKPu3RoIk= X-ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791737322; c=relaxed/simple; bh=alh//LVdFtWmJOTTF7G48v6MxhzO7NPK/fRJTL7KjG8=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=HDUT1HpaKeQucvtuoWArn2DAHYCUeZAk9QSOyJEsQq/4/66DRe7iC/c7KapMKSHuxIkgWQraa86X2UrFybl7X7yn0PqAQn3FKnpbCIUEBngltrlpxTbWr5l02Vs724wLvO7ZO3Hy+F/SZhX5klZQim7xTcKxq2x8AVQzvhHqqIg= X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=DsnfuCWo; arc=none smtp.client-ip=100.103.45.18 X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id B35691F0089D; Sun, 11 Oct 2026 16:48:40 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1791737321; bh=VoSBOMlqsCH2193UXFn0wR9csHsjlgwdcJrgyih8Fes=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=DsnfuCWolck8zux1RVWDpqixmRFp8z6JAlKkCSV8aes/lWPxXL5d0Cri/EaLiFNyH +txQvkUa25ziMyBgMrfapO9DP8b+6ak6Wipg7K1Wwu3FQbumG0DAhBXxvlcrfTeQ/p Th4V/naAe7Ukg6yz4zxta++V5K8cakeV/3R9B8SezSWJoy+LxOjGIjAYkWKRaRBiNc fJ5hyk8XweU+GoL9mlcVI6Ys2k/hsliHNkszLvzs5ksiGcG3+0Wihp1UaGQ8dNxJdf nICW3vYOCwLWcacdNDDaflb4ohDONoBUX3fLmLimVDQ584ww1xuhVWSvKQ6TkraY3Z kRC9uxLwMwVRg== X-Cc: Sasha Levin <sashal@kernel.org>, Daniel Golle <daniel@makrotopia.org>, netdev@vger.kernel.org, Aleksei Sviridkin <f@lex.la> X-Mailer: git-send-email 2.53.0 X-In-Reply-To: <20261009190808.1385789-1-f@lex.la> X-Precedence: bulk X-Mailing-List: netdev@vger.kernel.org X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org> X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>