From nobody Tue Dec 2 02:17:26 2025 Received: from mail-wm1-f53.google.com (mail-wm1-f53.google.com [209.85.128.53]) (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 AB70B30E82E for ; Thu, 20 Nov 2025 10:09:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.53 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763633345; cv=none; b=B7VAgdMcUEwY2S59eJHqQoGc9CBDMolG+WK6uKpE33iuuCByunc9Ueq2fqLr6/ObNYkXqnBfGap47CJxDKBuhogPACTTUrkW5FTV0YXTnUXxnV5Sz5qSzM7R3NX4S/pzaFiwh9yKLAk48WA3rpaeifXyBVlYIwrpVt/p8iM/Svc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763633345; c=relaxed/simple; bh=rDURe3yjNs5V6ZlnCfP0DZCi3QTLY5NLzZcGvojr1Qo=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=tX8Zh/fhjSHcq7KXluiuGKPdwWI/0soNrPdouXq28/BjpnbiGxZ9YmnVMNeKXmAziMoFf8V8vi2PlGsW97DtmefLZHr33V5lU3e5b+I49qcq/xm7efp7toXzPvKsRmuawcBTeSky06yO2WObGhhfx1MKkPUvizmrmjZ4YjHnJCg= 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=dKj/t50D; arc=none smtp.client-ip=209.85.128.53 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="dKj/t50D" Received: by mail-wm1-f53.google.com with SMTP id 5b1f17b1804b1-47798ded6fcso3934445e9.1 for ; Thu, 20 Nov 2025 02:09:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=google; t=1763633342; x=1764238142; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=1uXF9VFsFAfpKzQx2DlfjhIQ6Wp5BaO8U1tk/bxW/XY=; b=dKj/t50DF7j2JOmTkvjIctwjkkI7J/up3X+zp30n63JtHilxQHuIVV5yAXPgBesxtp +/22xCYcj7vNjGDj5No69V2SRMe5eYJAS1Fzm9Nju1yi5ScrHIAbXrLj2hEhxda6uFxN ia7YkZMoop1o9Wi5fIqC8BuS+K3I7D/+RvjWT8YCsncRDmOvhMg2BQIyOcs1oqtHUOCm HRUIuZy+dbrKncy5ixVVefdgi0AEVAE540ESERhzOJL3frEf74LFEO49FFd0iZJicH8s C+a/XqXzc7BAIVXc9sdMV0lcqcEaQxFqmvqe9KICX1iyRsITHeu/H6bHVWnL64XTxWI6 E+tQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1763633342; x=1764238142; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=1uXF9VFsFAfpKzQx2DlfjhIQ6Wp5BaO8U1tk/bxW/XY=; b=QHKjoQilBbqryrpnKS006zF2Xr5z6L30Lwk2D5rvaJ+EjeynSuqlsLcTMmBB/0Ne0v 6gzbBECJtt0oAGq33bB9unrAMIT+Om9Mov/UhDdCsFg4DtZV0PQdooo7eee0DVWf7QV9 kCkiIYomU+gp8ku+TEMBZ07Ijm/sjB7rLB2eUGgbYo65YUImEhHK2Py6Yqso0t3nXTrA GT5ZaSGFxd2xGws4HQy4On8nki+AoNb+zbX2T1J0G2ZwtcivTbJLM+lgZPpvol4fvIkS JvegsMDkiN/25DmgnecgC1xXppsjdB0gpQD77iotD+ANcY0NOZAtqmJbb7eWHul5tMNC CSAA== X-Gm-Message-State: AOJu0Yxxg7XvsYLghEYCelZ18p0TECQVt18yk8/N+FrIDJBjzmA0tE3r 1jBAnzrOfOXvdZSJBrj2XBapo7w1YIvViEDJnmIAGeHrASGPUBUAyGYlnkYH9VLlojmQBgtltBF e9wbu X-Gm-Gg: ASbGnct76Y2xAjN/hMM6mVA1iNeR5s+311lcxvQi2P0+PpT2J9TQJGky3q2EDwV5djE WRILiB9bEcrB0aw/07VKN5IBa9G6N174RAvLiYi+3EIkYm7IWhbwQPCJaDGf1KCFoVHVwjEFPDs N675XgeBdIYsej+AzDPbAIMv9n/KszitDzmtiGsTyT32pXR5RlbokekHZgHSj8iYLlsFkP10Qys M/GM9Xb2yha7ClB2C1LaMQ6DaoUmOiJ7hmm67bvE8wmrNonCB6w3AJSCjv2hSZn8e5J59d4SaoQ LSMjUHWVxn6w7Mqy1xo8igvEkhy2q+xbyxPJ6gbaByLzp/aHOlI6fK4TrthJuX0F8mQR0fEZ3sE eRq72rvA6lPKUjxoSK2LAmCRoqEzitxXONbSeABPtT3z70vUTz0AHQSZM3Xh1SqinYULffQXmOt ScT9K5yjLTRlnDZvKMUsz1jQLYQ1pD1xGqdE0z2Zk2IMkKeQ== X-Google-Smtp-Source: AGHT+IFG/fGQ5Vb3wK7EPPRO8U/BHcMlM5LtB9eAhXpEGncQmbfbL4oc/JbNB057Uy13+oD8TN5Wqg== X-Received: by 2002:a05:600c:c492:b0:471:9da:5232 with SMTP id 5b1f17b1804b1-477b895a76emr25976625e9.15.1763633341685; Thu, 20 Nov 2025 02:09:01 -0800 (PST) Received: from localhost.localdomain ([2a00:6d43:105:c401:e307:1a37:2e76:ce91]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-477a9de46cdsm58914125e9.8.2025.11.20.02.09.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 Nov 2025 02:09:01 -0800 (PST) From: Marco Crivellari To: linux-kernel@vger.kernel.org, linux-wireless@vger.kernel.org Cc: Tejun Heo , Lai Jiangshan , Frederic Weisbecker , Sebastian Andrzej Siewior , Marco Crivellari , Michal Hocko , Miri Korenblit , Johannes Berg Subject: [PATCH v2 2/3] wifi: iwlwifi: fw: replace use of system_unbound_wq with system_dfl_wq Date: Thu, 20 Nov 2025 11:08:49 +0100 Message-ID: <20251120100850.66192-3-marco.crivellari@suse.com> X-Mailer: git-send-email 2.51.1 In-Reply-To: <20251120100850.66192-1-marco.crivellari@suse.com> References: <20251120100850.66192-1-marco.crivellari@suse.com> 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 after a careful review and conversion of each individ= ual case, 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. Suggested-by: Tejun Heo Signed-off-by: Marco Crivellari --- drivers/net/wireless/intel/iwlwifi/fw/dbg.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/wireless/intel/iwlwifi/fw/dbg.c b/drivers/net/wire= less/intel/iwlwifi/fw/dbg.c index 2ce55859641c..e5f31b82339a 100644 --- a/drivers/net/wireless/intel/iwlwifi/fw/dbg.c +++ b/drivers/net/wireless/intel/iwlwifi/fw/dbg.c @@ -2933,7 +2933,7 @@ int iwl_fw_dbg_collect_desc(struct iwl_fw_runtime *fw= rt, IWL_WARN(fwrt, "Collecting data: trigger %d fired.\n", le32_to_cpu(desc->trig_desc.type)); =20 - queue_delayed_work(system_unbound_wq, &wk_data->wk, + queue_delayed_work(system_dfl_wq, &wk_data->wk, usecs_to_jiffies(delay)); =20 return 0; @@ -3237,7 +3237,7 @@ int iwl_fw_dbg_ini_collect(struct iwl_fw_runtime *fwr= t, if (sync) iwl_fw_dbg_collect_sync(fwrt, idx); else - queue_delayed_work(system_unbound_wq, + queue_delayed_work(system_dfl_wq, &fwrt->dump.wks[idx].wk, usecs_to_jiffies(delay)); =20 --=20 2.51.1