From mboxrd@z Thu Jan 1 00:00:00 1970 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 463B13770B; Tue, 21 Jul 2026 15:51:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784649077; cv=none; b=I9B3zfasIdcFYtS5GAJyk9wfo/0eoCH4vHD2648j35sQxHpmEz9ADnWSGoqZTXF7hIw2lzSoC3AKb0Me8V8JkJJNXIuYX5sVHmFmomW2beN4nvxKwfKIBCR5Pobm13X5R4B6un79T1sNkDPLLeeUUt9E9wbX32r0nyoZVbkpg7s= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784649077; c=relaxed/simple; bh=Srbeeg95/vYsYGoZdyFgwV/iv1c7NALIqkhWYsE9ilI=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=t4glLCK7zHLC3aS6CLc6l9X6Zzp1tLVL8LdPcHgoKJsoIMeSWIRCpIX8fSGSCi6LFKzUv6xjkU5IYpqZm22e7uOv5yisNz6CNFnn+51JqjTUH6BJlLrgiV2pfwwPL/HWom5DsuymcQSmzqwN2/KRGM49PvjXFd+u0BrIm813RDI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=TgZJhPBL; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="TgZJhPBL" Received: by smtp.kernel.org (Postfix) with ESMTPSA id AAB801F000E9; Tue, 21 Jul 2026 15:51:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1784649076; bh=mo02pKajC6lJezb2s9ntx288U3/G1UMJotwb2dzR0ro=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=TgZJhPBLvyQYK5be7afzWzTRoWTBFC7rpS11OJtRzTcHHv03ZiTzIIB4t00p9R8ch KZJzDhpJZ72dlkOWBlN+jC6YXMdgCxTSaRhmYLDe72GsW+NVfuGTulNEuXEiRB0uQU lk57QCBW1S3IAfLQReUQsitZsLi9HRBb9/d2m2nY= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Nathan Chancellor , "Rafael J. Wysocki (Intel)" , Danilo Krummrich , Sasha Levin Subject: [PATCH 7.1 0440/2077] driver core: Use system_percpu_wq instead of system_wq Date: Tue, 21 Jul 2026 17:01:53 +0200 Message-ID: <20260721152603.139330945@linuxfoundation.org> X-Mailer: git-send-email 2.55.0 In-Reply-To: <20260721152552.646164743@linuxfoundation.org> References: <20260721152552.646164743@linuxfoundation.org> User-Agent: quilt/0.69 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 7.1-stable review patch. If anyone has any objections, please let me know. ------------------ From: Nathan Chancellor [ Upstream commit fda8355f13ea3c0f9499acdeff3024995b474948 ] Commit 1137838865bf ("driver core: Use mod_delayed_work to prevent lost deferred probe work") added a use of system_wq, which is deprecated in favor of system_percpu_wq added by commit 128ea9f6ccfb ("workqueue: Add system_percpu_wq and system_dfl_wq"). An upcoming warning in the workqueue tree flags this with: workqueue: work func deferred_probe_timeout_work_func enqueued on deprecated workqueue. Use system_{percpu|dfl}_wq instead. Switch to system_percpu_wq to clear up the warning. Fixes: 1137838865bf ("driver core: Use mod_delayed_work to prevent lost deferred probe work") Signed-off-by: Nathan Chancellor Reviewed-by: Rafael J. Wysocki (Intel) Link: https://patch.msgid.link/20260601-driver-core-fix-system_wq-warning-v1-1-f9001a70ee25@kernel.org Signed-off-by: Danilo Krummrich Signed-off-by: Sasha Levin --- drivers/base/dd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/base/dd.c b/drivers/base/dd.c index f64175afefc915..51c7132e98a07c 100644 --- a/drivers/base/dd.c +++ b/drivers/base/dd.c @@ -324,7 +324,7 @@ void deferred_probe_extend_timeout(void) * start a new one. */ if (delayed_work_pending(&deferred_probe_timeout_work) && - mod_delayed_work(system_wq, &deferred_probe_timeout_work, + mod_delayed_work(system_percpu_wq, &deferred_probe_timeout_work, secs_to_jiffies(driver_deferred_probe_timeout))) pr_debug("Extended deferred probe timeout by %d secs\n", driver_deferred_probe_timeout); -- 2.53.0