From nobody Thu Apr 2 19:00:19 2026 Received: from mail-wm1-f48.google.com (mail-wm1-f48.google.com [209.85.128.48]) (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 902F62E091D for ; Thu, 12 Feb 2026 09:29:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.48 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770888542; cv=none; b=rk719V+NDCCZHTos6/tTx/GMF9BsOW6G610tEeoUs8BHKMl6w+1iV6g9HDl2WweSevFzz2DWhXq9vbHcbT5NJQibTyAtiQveBA/MoNscqXrTOKm2G2MbccPe+Pp0elWJw928tZiHmwNoZCHCEFP/OyCAjzICsE9k38ePdyI2+ms= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770888542; c=relaxed/simple; bh=upfOg7F/IZKqxuhv6smQ1R4YFqOiga+sMw/zSmNMPkE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=fqSwLytSf9NOqddqHhus2Mdx0TozMXdIt/y9sjE+Fv4X6HRlg7v0E1HjaUwOgQWlmyUM/fSvL1/DAPmYixkjIG8ZmPjMDSWk9jq86notMOWjZaxSa6qv8nDM7XNdNR/L3E5bOaRnBT7CN6MltfgqtrysCLQ5PwGXxLwXnQ6c5aU= 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=At74B7Vk; arc=none smtp.client-ip=209.85.128.48 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="At74B7Vk" Received: by mail-wm1-f48.google.com with SMTP id 5b1f17b1804b1-47ee0291921so59887005e9.3 for ; Thu, 12 Feb 2026 01:29:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=google; t=1770888539; x=1771493339; 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=rn6ZMz5ArFmcupuhjM4pA0NvahHaCKwC6aMAFTPQflw=; b=At74B7VkPbM1DH/qcrTQRtG1OLrB0OsZOZF2MUO7+CbKoWBBnB10yUpmcYcMjB2eXG VWv4It+DDBsLYm9bEjT14ax3789bBtqPFGeeYk/Z7n2fgK50s6nb2vnl1oSId3iu/dDr amMoXjRr/JPSOOBjJNsqEV9SJprpTs4ddmTosv5bdjWK1VbSojKUWhSfOWa4mzdxfdTn c3MFUBlFdzN5hNY7rsg59nhKm7uxbCcus7iJYH3q/GC9WX9DHE0U4R9YFIFDG+Dpqal3 r6mQx+wNL/liQuLG7zclsKelHyty+27TVktxyzEEYpe9FqPzVSoRl2sIMRU7clxfRpex K3CQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1770888539; x=1771493339; 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=rn6ZMz5ArFmcupuhjM4pA0NvahHaCKwC6aMAFTPQflw=; b=TqyGYFq17iRafAfWvMTI/jjIA2RfgZlRpDh8U8lVndEIZRy+bE2tmop3y0QD+gKf6T xT78I40aw8pI4D0Ff731P9b5/hIXmTb0KFQMS9KTz4mLCjcW6+qCvzYZf+wu33SGTxd/ VzZCpmpliFfmOZPXnm1w5MEWYZ8iOuTx3Q9GaY0Fj05FClYJmlTEklEZGhUubc3fy7uR EY3WmAkthMBcpAMCO7zLewglJmaxp58Y+rVlVknFZvZS18pxJ3ItDroffPynA2PD+SkA zBRsecFUmEV9VtK7L+wC2A9rIt2spfkBnN3AkCo2xYeHqm07t94ubIn0TYmLU4uBRZlu PZ7A== X-Gm-Message-State: AOJu0YzVxEUyYQx/VZk81ErYp8Km8l6XkhtiMqCQjaUthNkcT0tl3Bkw y5PgZ9ysm9e7NaShhAuaEfnz1dxFKnBLOFnZoXfAvmaXKGWp13s9zedWphqaNEZ7Z86uSOMO/nn HvmrC X-Gm-Gg: AZuq6aJSed7SaDHhWv3eg8suan/11q3eVvg0EK2dsgA5RxhMgJizsZXb1eNp5olIdUI ydC6MzmHVmcc1Z3+1ZLWYs3GTGNQJAfTXIS9o524QrPyqF9h5uAB9dX69Rzt0vcS392TFwDjFFy dig85pKgHHqRrF4d0Uk2LnfBhDBp+geVD3ryeA1CKUaBVL0cmm9LIgWEi6B0yq12oJ9+b26MBuK ibDLJWy4MYI5U9TacsisZIagRozVBzCqEw4ir9rkl7hHiRFbzLI81XJI6q9ueM0CGeCjUGn1rkI +4j4P6cBdOs6CraJbMc6H/AEcj6JCvsqdP2VOxSQ3KdNoTEEHQAS2DozBQ02aQARFt+fWKJxB4n wA+e7F1zxpZR1Ix7mD6+X/QYMQJpoyIgaRMf2+LVOjrnzJAJCN03M+V2ko0kl+YbkBWoL/BM4RM zvGu4kYSVeg5gmafeANJvF/UZRtg== X-Received: by 2002:a05:600c:450d:b0:47a:8cce:2940 with SMTP id 5b1f17b1804b1-483656c5709mr26908835e9.14.1770888538746; Thu, 12 Feb 2026 01:28:58 -0800 (PST) Received: from linux ([2a00:6d43:105:c401:e307:1a37:2e76:ce91]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4836aa0847asm28415945e9.3.2026.02.12.01.28.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Feb 2026 01:28:58 -0800 (PST) From: Marco Crivellari To: linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, kernel@collabora.com Cc: Tejun Heo , Lai Jiangshan , Frederic Weisbecker , Sebastian Andrzej Siewior , Marco Crivellari , Michal Hocko , Shreeya Patel , Mauro Carvalho Chehab Subject: [PATCH v2] media: synopsys: hdmirx: replace use of system_unbound_wq with system_dfl_wq Date: Thu, 12 Feb 2026 10:28:46 +0100 Message-ID: <20260212092846.61602-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-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" This patch continues the effort to refactor workqueue APIs, which has begun with the changes introducing new workqueues and a new alloc_workqueue flag: commit 128ea9f6ccfb ("workqueue: Add system_percpu_wq and system_dfl_wq") commit 930c2ea566af ("workqueue: Add new WQ_PERCPU flag") The point of the refactoring is to eventually alter the default behavior of workqueues to become unbound by default so that their workload placement is optimized by the scheduler. Before that to happen, workqueue users must be converted to the better named new workqueues with no intended behaviour changes: system_wq -> system_percpu_wq system_unbound_wq -> system_dfl_wq This way the old obsolete workqueues (system_wq, system_unbound_wq) can be removed in the future. Link: https://lore.kernel.org/all/20250221112003.1dSuoGyc@linutronix.de/ Suggested-by: Tejun Heo Signed-off-by: Marco Crivellari Acked-by: Dmitry Osipenko --- Changes in v2: - improved commit log - rebased on v6.19 drivers/media/platform/synopsys/hdmirx/snps_hdmirx.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/media/platform/synopsys/hdmirx/snps_hdmirx.c b/drivers= /media/platform/synopsys/hdmirx/snps_hdmirx.c index c3007e09bc9f..9839a5143d54 100644 --- a/drivers/media/platform/synopsys/hdmirx/snps_hdmirx.c +++ b/drivers/media/platform/synopsys/hdmirx/snps_hdmirx.c @@ -1735,7 +1735,7 @@ static void process_signal_change(struct snps_hdmirx_= dev *hdmirx_dev) FIFO_UNDERFLOW_INT_EN | HDMIRX_AXI_ERROR_INT_EN, 0); hdmirx_reset_dma(hdmirx_dev); - queue_delayed_work(system_unbound_wq, + queue_delayed_work(system_dfl_wq, &hdmirx_dev->delayed_work_res_change, msecs_to_jiffies(50)); } @@ -2190,7 +2190,7 @@ static void hdmirx_delayed_work_res_change(struct wor= k_struct *work) =20 if (hdmirx_wait_signal_lock(hdmirx_dev)) { hdmirx_plugout(hdmirx_dev); - queue_delayed_work(system_unbound_wq, + queue_delayed_work(system_dfl_wq, &hdmirx_dev->delayed_work_hotplug, msecs_to_jiffies(200)); } else { @@ -2209,7 +2209,7 @@ static irqreturn_t hdmirx_5v_det_irq_handler(int irq,= void *dev_id) val =3D gpiod_get_value(hdmirx_dev->detect_5v_gpio); v4l2_dbg(3, debug, &hdmirx_dev->v4l2_dev, "%s: 5v:%d\n", __func__, val); =20 - queue_delayed_work(system_unbound_wq, + queue_delayed_work(system_dfl_wq, &hdmirx_dev->delayed_work_hotplug, msecs_to_jiffies(10)); =20 @@ -2441,7 +2441,7 @@ static void hdmirx_enable_irq(struct device *dev) enable_irq(hdmirx_dev->dma_irq); enable_irq(hdmirx_dev->det_irq); =20 - queue_delayed_work(system_unbound_wq, + queue_delayed_work(system_dfl_wq, &hdmirx_dev->delayed_work_hotplug, msecs_to_jiffies(110)); } --=20 2.52.0