Article View: linux.kernel.netdev
Article #17293[PATCH net v2 0/3] igb: fix runtime PM resume issues
From: Antonio Quartulli
Date: Mon, 16 Nov 2026 15:30
Date: Mon, 16 Nov 2026 15:30
27 lines
9949 bytes
9949 bytes
igb can be runtime suspended when the link goes down (with power/control set to auto). Resuming it calls functions that need RTNL without holding it (patches 1 and 2), and devices that can't signal a wake-up are suspended anyway, so their port stays down when the link comes back (patch 3). Tested with the 82576 emulated by QEMU. Changes in v2: - patch 1: keep setting the queue counts in __igb_open(), only skipping them on runtime resume (Sashiko) - mention the tested hardware in the commit messages v1: https://lore.kernel.org/netdev/20261113105835.3821433-1-antonio@mandelbit.com/ Antonio Quartulli (3): igb: fix RTNL assertion when resuming from runtime suspend igb: link queues to NAPIs under RTNL after runtime resume igb: only allow runtime PM if the device can wake up drivers/net/ethernet/intel/igb/igb.h | 1 + drivers/net/ethernet/intel/igb/igb_main.c | 69 ++++++++++++++++++----- 2 files changed, 57 insertions(+), 13 deletions(-) -- 2.56.0
Technical Details
Message-ID:
<20261116153041.3002666-1-antonio@mandelbit.com>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-364509-linux-kernel-netdev=dewy.ruShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-364509-linux-kernel-netdev=dewy.ru From: antonio@mandelbit.com (Antonio Quartulli) Newsgroups: linux.kernel.netdev Subject: [PATCH net v2 0/3] igb: fix runtime PM resume issues Date: Mon, 16 Nov 2026 16:30:36 +0100 Organization: Usenet Network Message-ID: <20261116153041.3002666-1-antonio@mandelbit.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Injection-Info: usenet.network; logging-data="2100088"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:Dmp8fZleEb+CrHYBAiTHMPpxYaQ= sha256:6V35/NGps6deOgdgwOkP//ysOjL+U881soteSFXGB50= sha1:1fqZZq7XNbC9E2M1gvFzQ6uY9Ho= sha256:6eHnHsnyP4h1AGVUxWe8k/RgdcxfWtavLU9/DENCR8o= 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 205FB114CB1; Mon, 16 Nov 2026 18:31:16 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.15 X-Spam-Status: No, score=-3.15 tagged_above=-9999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.249, 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=mandelbit.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 t-oBJSYZuneU; Mon, 16 Nov 2026 18:31:12 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.232.135.74; helo=sto.lore.kernel.org; envelope-from=netdev+bounces-364509-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> X-Authentication-Results: OpenDMARC; dmarc=none (p=none dis=none) header.from=mandelbit.com X-Received: from sto.lore.kernel.org (sto.lore.kernel.org [172.232.135.74]) by mail.dewy.ru (Postfix) with ESMTPS id 7A1D8114CB0; Mon, 16 Nov 2026 18:31:03 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by sto.lore.kernel.org (Postfix) with ESMTP id C56C8603D3B; Mon, 16 Nov 2026 15:31:02 +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=1794843060; b=n1FwXrene4FowI4GcRAIOCdnYRrD89seygU4rubY/TgWd2PI3dXn23hwrxs6YZKgU1Rf D1V0+uyD69a3CIXQ7Kk+Er6JVfFOcZpIsc+3WlsQyPOD3b7CI/9Yo8AjRF4V8DCK8F25K jMGmAT9HpMvaaGtfsJB0JzrurgXR2c+Td+vJUYQ3T+zHCb0oeI+sVLQbOrcCm4HOoYuLn 41nB1SyUXHlPmp17+iC1L3E3fJr3Ckd63yShWJzwDEHON5m5h5l8sSpT8h3pNJPy8eI6O +82+CBOEV/RdbSnXTxzkBjbS3xn9KHXzm8PFQaA8p6v3rFPH3EBZC0tSgoDOzGKTxaQ== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794843060; h=X-Original-To:Received:DMARC-Filter:Received:DKIM-Signature:From:To: Cc:Subject:Date:Message-ID:X-Mailer:X-Mailing-List:List-Id:List-Post: List-Help:List-Subscribe:List-Unsubscribe:List-Owner:Precedence: MIME-Version:Content-Transfer-Encoding:X-Rspamd-Queue-Id; bh=CDG2+kMw+A8LdS/UvHCT6L9ztc9obDz1MKuAv6+QT7s=; b=C6RZMST/r6bo80t4wppOaUc9o8mrH3BpZ38dDVbP9rRFynrQ+Zv26UFGGVBvq95edWFT XxqkLQ72lLw24aw80B4qt5B0v6E2gwqyJg5X6LEWUpLV6tvb0nV35tm+iVvGe7LcEKnAZ scfbdt19bLXDH0VP6uNnzmYPZYO/45Wruj1x5tw9II1q8q+XeDEi6v3pEF1jdHAGLeKIY a439Cprkf9E+2tO0h5cOaDOglBmCUMm+wSX5/dg1upI9o4LomRHjtfJ/ESQ2uD7vnhOwU WMHUeMJiWrm2EjLipk2yK1kbeJYTbq0sMwUQYdERZ6Yl/NDaRAMjGGBmmA1T1qXc66w== X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dkim=pass header.d=mandelbit.com header.i=@mandelbit.com header.a=rsa-sha256 header.s=MBO0001 header.b=gE+671EV; dmarc=none header.from=mandelbit.com; spf=pass smtp.mailfrom=mandelbit.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 1CE32606A887; Mon, 16 Nov 2026 15:31:00 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=mandelbit.com header.i=@mandelbit.com header.a=rsa-sha256 header.s=MBO0001 header.b=gE+671EV X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=195.10.208.42 X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1794843059; b=kcJ6joc7Sy5I9D9vs4XtrSWfjCFCsonJFiqPuN/OaG4m/8Uy1442y3ZZomSkg05L//1o YvBk0uFlPD7mEWzQAVNM+3kIktXFZ1SgCmrdf2lL4DPqqiWEOFxm8nIORkAOk/aFjerC1 4oL/ZbHr7EerJfTj69RZ04jrh6YJMmN9/83FmB6xkk23kNSLQMabOepjnPcbTTDl4u2Hk +NW/IvG0Q4sV2GFICPkaLPM4K+Ln3i0fXkSbhAX0bhXrEaQMA70XqEtYYHR53H+BobjTf SHkfwoevacRD/YPJD2KDl4wn1qceds10cH/yTHluNJbNUXjT8EiSR3knvMQYKGfnQ1Q== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794843059; h=DMARC-Filter:Received:DKIM-Signature:From:To:Cc:Subject:Date: Message-ID:X-Mailer:MIME-Version:Content-Transfer-Encoding: X-Rspamd-Queue-Id; bh=CDG2+kMw+A8LdS/UvHCT6L9ztc9obDz1MKuAv6+QT7s=; b=IhsWBy15HzdIJw9tfer1w28JbWPRFRutYMnBK323DqCKTGss40yLFsq1D+uMoNIozdkF B2W7bNL6Z22WCnHu9pRBlIGlzyTMuG3DKUB9SL+EUBsr8eYz4CUZWAoubUXOycjaZUtaP WgXV+PPlXcZvKhxz5SHY2Q+WPKw/CDXJ6QyWFTTX65pYOSk5+EMntdscrDbcHZXN1FD5A NN1bgU1Vy2Q+7z3dsU6H6tREfJ716G/r4JMAPzZo5lRRR8AywU3m77A3r1o71PwUgp69h yk0f3OFmpCvwJh+scgRkEZ+Zx0j60wiv+tRtSRvrHpKO8XGCFXRlxVrw/z6nLWP3TtA== X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none header.from=mandelbit.com; spf=pass smtp.mailfrom=mandelbit.com; dkim=pass header.d=mandelbit.com header.i=@mandelbit.com header.a=rsa-sha256 header.s=MBO0001 header.b=gE+671EV; arc=none smtp.remote-ip=195.10.208.42 X-Received: from mout-b-112.mailbox.org (mout-b-112.mailbox.org [195.10.208.42]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B94E7606A33B; Mon, 16 Nov 2026 15:30:58 +0000 (UTC) X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org B94E7606A33B X-Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=mandelbit.com X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=mandelbit.com X-Received: from smtp1.mailbox.org (smtp1.mailbox.org [IPv6:2001:67c:2050:b231:465::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519MLKEM768 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-b-112.mailbox.org (Postfix) with ESMTPS id 4jSsJT00SYz5wlN; Mon, 16 Nov 2026 16:30:49 +0100 (CET) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mandelbit.com; s=MBO0001; t=1794843049; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=CDG2+kMw+A8LdS/UvHCT6L9ztc9obDz1MKuAv6+QT7s=; b=gE+671EVtghWrZBCjDOxY/ecGHlbCPQ+wGkzJCOHk0bxqQr3m8U0XyXkjtfc09TD1uM1Rp RYACVf22Ge9rcyGI9BH+ET6qllSddgxUOz7F6hzk5tfCFc9eDUXIGtMC3utQjUWvo4bI43 GGepx+n9U+/FbvTTb8jHA15vrbO4xlohzIlDO+w0ZPStbcRVBt1cSXH+cMVzEnNt1X62yW UXRM3Fg93Lvl0i3p1g0PT0FlO7+3K3CpDNUtPnOAzGEnxKOUCdbwgTi4Fd5IrOVpbVWiaM IwjFsG4JtTXvX/w1NyyN6ETvKtINRrLYv5aOta0YEvRTVIBWd8ERMtIzjD4N+A== X-Authentication-Results: outgoing_mbo_mout; dkim=none; spf=pass (outgoing_mbo_mout: domain of antonio@mandelbit.com designates 2001:67c:2050:b231:465::1 as permitted sender) smtp.mailfrom=antonio@mandelbit.com X-Cc: Antonio Quartulli <antonio@mandelbit.com>, Tony Nguyen <anthony.l.nguyen@intel.com>, Przemek Kitszel <przemyslaw.kitszel@intel.com>, Andrew Lunn <andrew+netdev@lunn.ch>, "David S. Miller" <davem@davemloft.net>, Eric Dumazet <edumazet@kernel.org>, Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>, Heiner Kallweit <hkallweit1@gmail.com>, Kurt Kanzenbach <kurt@linutronix.de>, Joe Damato <joe@dama.to>, "Yan, Zheng" <zheng.z.yan@intel.com>, netdev@vger.kernel.org, linux-kernel@vger.kernel.org X-Mailer: git-send-email 2.56.1 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-Rspamd-Queue-Id: 4jSsJT00SYz5wlN