From nobody Sun Feb 8 05:28:19 2026 Received: from mail-wm1-f65.google.com (mail-wm1-f65.google.com [209.85.128.65]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C6807392C21 for ; Tue, 13 Jan 2026 14:04:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.65 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768313102; cv=none; b=CV0g3TsGI7eTAOAY81AXD0LSTtDkvOsRV+9tk41UNZMl5LQQwYm6sk8goGIu2/23i2xGVS3VuPGs4APL94IIPGfI6jJZv7/7ttmntZbMO8GMYEcvTZ/h/YtWbih4n0Q9zbOUngbbhTCtrRuofwK6mEeW+AqioDIFi26YkN/JKzQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768313102; c=relaxed/simple; bh=BtF8M5GNbyGfVQK6YPDvinM4wdUKCO9L2UbWnIhUM9c=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type; b=XtvurBrznGRb7dM+agx3n5frCxhvhaCG26fWj5bcDNpqy4XHh5GZ/iL7+sIB5V+cQj6aGRp8pqBOiE6F9riQ7AyJxR4e836OGqK8Av+5wL5xjDmVXRyZz6KL4aHTMcFfkdLr5RxOobGBUtQ1duN7vvChiZlleC6fbWGID9PDUG0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=suse.com; spf=pass smtp.mailfrom=suse.com; dkim=pass (2048-bit key) header.d=suse.com header.i=@suse.com header.b=VjB/GM71; arc=none smtp.client-ip=209.85.128.65 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=suse.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=suse.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=suse.com header.i=@suse.com header.b="VjB/GM71" Received: by mail-wm1-f65.google.com with SMTP id 5b1f17b1804b1-4779ce2a624so63847175e9.2 for ; Tue, 13 Jan 2026 06:04:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=google; t=1768313092; x=1768917892; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=p84fI36fdNfKK4nFeHfATGotDZ4IBurD5TkPYZOWVOY=; b=VjB/GM71Gh/2Ba4F9EOFVlDeinsukcJJYUiet9TBldbi/zMZTbne4o4nk33iH/86Tl fP/ZMTl7jC9MpB/ayzyfzL1t8NkxHFTR80X7PoafSpfC6cxrgIymWSlw2IGOZbqnJT+b xZwjJLUVFhRCm5yq0Lm3qYdPjZym4w6v/By01FmMbftgHxctIFJ+ZLceJCbXIplZOuFf vmTSkWTKz4bCDA/WPQurDzGd15ArJ8regRP86nPRAkhVkxCWnKAcvBbTQa7kLzM1Gzwy +7Q2jWsg42BPSnCFk84z0IXhg3P7zz5YZvk33tVOPDDv9J22uPnG1rtDcr3Fv6eFZwdX 7sgQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1768313092; x=1768917892; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=p84fI36fdNfKK4nFeHfATGotDZ4IBurD5TkPYZOWVOY=; b=ZqyfXKR++tbvI2bR/UwA0qiOq9s9QrM58UOgy7gwd18YoXRaYQzBKmDFtJjEurBfAY OqHxP2G2QoXY6YwEbdwTmxJgXdati4WXs2EZUDEGgtn+eUHSzyNknNGripAdTgxQLrUT Y0tgeuzdwHnGyfMuUjP+CoRmME6inqDQJx5wOUXWErxwDny7ZPr1TA46BKx90JvI1fN8 nVHomPuyPrxGtBKO6HOzoXylQde8wIfCbVoUAgeRWV1CqY5gl4pZ/6BGRE3b9UuecZJ4 QyMRwk5uAZrr6GtAs2I05TMMQ7lcxG/wX+g4wcT/zogrLrVVGGCa1hCgkWi427/CHjjj 61eA== X-Gm-Message-State: AOJu0YxtyhSx4EmrMHvFWyLraSEM91P7lgPzhJp1JZ/bF/fBXzsAUSd3 5tsRd7sANPj4wYN48xiryBYpsSy4QbhHDVbubwSQ7oYLhtIc5rqUUeetgGR3ufWmviWca95VTRC F6roq X-Gm-Gg: AY/fxX5799iH4eXDuoWXfIznCa7DICmyAJnhmxuu2HpgLuRkv4fmZ4sbWa1PGurLt2t 9cSwzjC4D0jxLeWGWV9LZ65T/6Du2Zeuar24NxCq5pALc7iddY/ih6uhO+KFFejV/FV++hJ/f6O o+IgYGWubXCQF3fWEKLpT1xeEaNcHoqoj1W9v73jCajmHaUX5Catiai48oqjiXN68733wLyMuQS MJq9KdFXX8NTvmVjzImjRQQ8SUKKMh8Lt7J0/0S85KlITfk7nx+ekFgIShxs8m46RLRJDCyw/IN DjB49VrdsIq88+Nv5xKHu5F//Pnu+5VmYYC3sV/2sH0wpvKrbzv0njgpCiJAUq6ADYHH1N1CogY tTKVyRxQayVCfrFA/w8BMM8TA5FCacaO9c9sOpmXOXM3No1hH6MXRcoyB3J6z4GqlstZs9LTT6A 8X260gllT8cqqF/2PaXKXhNVNCYnX/iJLO3n8= X-Google-Smtp-Source: AGHT+IFy4jTuYvAbeRYENjCXYaT+C8Fdb5qR7XUNs3xUqAIMubhbGLVu9HHf26Og6SEebDy9K4MJFA== X-Received: by 2002:a05:600c:3114:b0:477:76c2:49c9 with SMTP id 5b1f17b1804b1-47d84b18954mr216480705e9.2.1768313092453; Tue, 13 Jan 2026 06:04:52 -0800 (PST) Received: from localhost.localdomain ([2a00:6d43:105:c401:e307:1a37:2e76:ce91]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-47ee0b45b8fsm1421975e9.4.2026.01.13.06.04.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Jan 2026 06:04:52 -0800 (PST) From: Marco Crivellari To: linux-kernel@vger.kernel.org, linux-media@vger.kernel.org Cc: Tejun Heo , Lai Jiangshan , Frederic Weisbecker , Sebastian Andrzej Siewior , Marco Crivellari , Michal Hocko , Daniel Scally , Mauro Carvalho Chehab Subject: [PATCH] media: platform: Add WQ_PERCPU to alloc_workqueue users Date: Tue, 13 Jan 2026 15:04:46 +0100 Message-ID: <20260113140446.196930-1-marco.crivellari@suse.com> X-Mailer: git-send-email 2.52.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable This continues the effort to refactor workqueue APIs, which began with the introduction of new workqueues and a new alloc_workqueue flag in: commit 128ea9f6ccfb ("workqueue: Add system_percpu_wq and system_dfl_wq") commit 930c2ea566af ("workqueue: Add new WQ_PERCPU flag") The refactoring is going to alter the default behavior of alloc_workqueue() to be unbound by default. With the introduction of the WQ_PERCPU flag (equivalent to !WQ_UNBOUND), any alloc_workqueue() caller that doesn=E2=80=99t explicitly specify WQ_UNB= OUND must now use WQ_PERCPU. For more details see the Link tag below. In order to keep alloc_workqueue() behavior identical, explicitly request WQ_PERCPU. Link: https://lore.kernel.org/all/20250221112003.1dSuoGyc@linutronix.de/ Suggested-by: Tejun Heo Signed-off-by: Marco Crivellari Acked-by: Daniel Scally --- drivers/media/platform/renesas/rzv2h-ivc/rzv2h-ivc-video.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/platform/renesas/rzv2h-ivc/rzv2h-ivc-video.c b/d= rivers/media/platform/renesas/rzv2h-ivc/rzv2h-ivc-video.c index 799453250b85..e3ff0482a84e 100644 --- a/drivers/media/platform/renesas/rzv2h-ivc/rzv2h-ivc-video.c +++ b/drivers/media/platform/renesas/rzv2h-ivc/rzv2h-ivc-video.c @@ -445,7 +445,7 @@ int rzv2h_ivc_init_vdev(struct rzv2h_ivc *ivc, struct v= 4l2_device *v4l2_dev) INIT_LIST_HEAD(&ivc->buffers.queue); INIT_WORK(&ivc->buffers.work, rzv2h_ivc_transfer_buffer); =20 - ivc->buffers.async_wq =3D alloc_workqueue("rzv2h-ivc", 0, 0); + ivc->buffers.async_wq =3D alloc_workqueue("rzv2h-ivc", WQ_PERCPU, 0); if (!ivc->buffers.async_wq) return -EINVAL; =20 --=20 2.52.0