From nobody Sun Feb 8 05:53:58 2026 Received: from mail-wm1-f52.google.com (mail-wm1-f52.google.com [209.85.128.52]) (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 F100230EF9B for ; Fri, 9 Jan 2026 16:53:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.52 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767977610; cv=none; b=GTUt8RsvCn2JMrJ/YyC7beQSKMMpP4Afatq20JGHwVGZXna5qzTfZZvmMG44GGhAZxFF8D61XVcMPWyAUbpF8CiV7ZIWAMPwYChTLHeFuS+Mn6UqxJI6Lj4Sh/+3NGPchy0nCNVZxd7PGM2R4HQPQFGBNVfrnkvF2cu8DqciNv0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767977610; c=relaxed/simple; bh=MmddueNfTMUBIbfpJyLTr3pGG/BXOcI09PCs0qbBs+8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type; b=OVBeXydSgptduAgqaHy1qjK1dZS5lP88Oc16w+3xWEHPsyhO50JB4OIC7/S5fiWSn7TILAwk10+e6IOloCb8vPLjMTfiih4Ih901uEK7ZnfyU4yiPTGF63MtOY/h7qNhNn/E47iT1BUrhP7o6QalGnGLiJw1jz8U/nMSb7aJaLE= 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=dZOXBsno; arc=none smtp.client-ip=209.85.128.52 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="dZOXBsno" Received: by mail-wm1-f52.google.com with SMTP id 5b1f17b1804b1-477632d9326so27311035e9.1 for ; Fri, 09 Jan 2026 08:53:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=google; t=1767977607; x=1768582407; 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=8WloaT2v9gh8n/VPG6g9ssDCLsyB8cU+se1H57FlbJk=; b=dZOXBsnoV6rSamJESumjkPY11Um9YQzodXmVJ2Pk6xWD5YXF6XKdwjf0io+7PZexi3 iUzaCBbZ/q7G+b6BnBAfZ6M8+6Tl2amiTDJFh0NnqihlfYcZaKeU758DpilHxRXd6tYd WNC8SJ82tPK7iUPBiuCYPQjYkNzsohSQ5W+oKURFkDyv3nn9PqV7vBO2LSvlJOBfPl2t EVXvxjrB98vwtfjObzf0ybvREFQRr6FzsWGXlrizKu0aZBilTNUxZRLi6npawsTguaMP 0WecdQ6X5e8K2FgyH4OLybAVr2zAz/Dt/iz2+n5KamsHArQtZK/TEMfVFPvx9hyI1urj Y8PA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1767977607; x=1768582407; 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=8WloaT2v9gh8n/VPG6g9ssDCLsyB8cU+se1H57FlbJk=; b=tYKiCT0hHaVx6jWvUSAoPUoXXXaEvGz6gtoUtVp3CaJ7QxVYo2qRhohNtkI59rtGk0 VWcZgPRH9naYXEXBIAoZS8u7petCQw15cZ9OU4BUFUumIjDK7OpN0G6DdfsZ/bbzDTAt 6JhuTpnMCvR52EfwBxgDMo8kbizZDrdQHpvLGzbSyMqAPINtZfRqfoDe2NNgMBNlxTPs 3iNwpm0q6eteVh89JAl+yPLqltuGRQd+RDkwlElQLfeHkOw5l6mCmc+UTWyob0KhI6Hl SxA1FgkkFpnJBa+f7C2AcQat8t9hTrsPGAZFIR/5sxdIK+mLuUA0lvaMGPT5t5RMMIBw FYiQ== X-Gm-Message-State: AOJu0Yy6iGp58Yw4vV4BhYCwTc04j9ibwcWMXWEDpP2ZqvBMmNLq5CTz +MpN1CF4s/uNDaDBo6bgZ7LLLl9re/NJ6IhdF7YwW/GIntfUITr9nTBqMLd0yVBjR3uMbw+uCbH pShgJ X-Gm-Gg: AY/fxX6UMJudL+LEcX2kYWMQ34IVzxmCFlfZi8JdatOywnW+b09F0w/wNzwz0zE0tBI yI7FKeY5W42U9JYjpxqmuWl8YS4y0lb3wpjw4/T7JbMXQAd847m6gj+Tijxlnyp6JI4CE5Q7r81 yIlTOGh7yb1zCL0c5a4ACi2+FeK/DogH2u4gllU4DTw6XylDE/sNvKgu5hQLkH/uDTId83sHllT DIPE/82btvH7aVXH7S1K85xjTNuOcxZJlzSKUw2n1XA0uUN3yWvG39NSe/UMpRnYsdoRfg2ymcc 5dq5SZfwC7K2YQzuJNYpoW+3FmLN5S1YgyK5lwF1pCgBiCpLQYZUUVoEUzRiZ2qrWMsHVwFt2eK 265bOMUcZ44R8DS1yGUydb2EyIjydEKAzC37QOOnevBUmXgld6iu8Wb187Nc2Vgbw6FZUgrJcoG Bc+j1dJ62FBpo/rA== X-Google-Smtp-Source: AGHT+IGqm9RyV+AGmXODuvhswo8tFC/C4kDTh1xG1EfXzS3X1KhEtx+wWgb5mXHDY/1cczVlLhWvOA== X-Received: by 2002:a05:600c:c0c7:b0:477:c478:46d7 with SMTP id 5b1f17b1804b1-47d84b33bd7mr107936865e9.22.1767977607251; Fri, 09 Jan 2026 08:53:27 -0800 (PST) Received: from linux ([2a00:6d43:105:c401:e307:1a37:2e76:ce91]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-47d7f6ef868sm214200835e9.11.2026.01.09.08.53.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Jan 2026 08:53:27 -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 , Igor Mitsyanko , Sergey Matyukevich Subject: [PATCH v2] wifi: qtnfmac: add WQ_PERCPU to alloc_workqueue users Date: Fri, 9 Jan 2026 17:53:20 +0100 Message-ID: <20260109165320.318094-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 --- Changes in v2: - improved commit log - rebased on v6.19-rc4 drivers/net/wireless/quantenna/qtnfmac/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/quantenna/qtnfmac/core.c b/drivers/net/wi= reless/quantenna/qtnfmac/core.c index 825b05dd3271..f5bde9e8fd15 100644 --- a/drivers/net/wireless/quantenna/qtnfmac/core.c +++ b/drivers/net/wireless/quantenna/qtnfmac/core.c @@ -714,7 +714,7 @@ int qtnf_core_attach(struct qtnf_bus *bus) goto error; } =20 - bus->hprio_workqueue =3D alloc_workqueue("QTNF_HPRI", WQ_HIGHPRI, 0); + bus->hprio_workqueue =3D alloc_workqueue("QTNF_HPRI", WQ_HIGHPRI | WQ_PER= CPU, 0); if (!bus->hprio_workqueue) { pr_err("failed to alloc high prio workqueue\n"); ret =3D -ENOMEM; --=20 2.52.0