From nobody Sun Feb 8 06:11:40 2026 Received: from mail-wm1-f46.google.com (mail-wm1-f46.google.com [209.85.128.46]) (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 B1F983090DE for ; Wed, 10 Dec 2025 10:12:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.46 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765361563; cv=none; b=CTRpY49AZhELvYHo2y6Rx+k2tRbgkNs1x84QpDzX14GXGp6nwQNH4nfupA802m8+kPimC28veVk+8oyYcjDjOyiLphJ/ZyjYxxTrlATVoRm+NCwYCYsJOjyBm+XAykFkxa2L9rG2g2DBCnq024wSwZfbs+KqmN009vBHDqZlVxc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765361563; c=relaxed/simple; bh=1g7Qby104a6heJFCreeSktUfDMvnZdKN/c8fq0Qp8Rs=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type; b=okMGdL5u82xmfl/MDdJ1l4QcMn9Ovew6JNnqlBySO+RSciLXUmgB8ET+HyVt/4mViK1SIKNPPpHgrWNBia2J0waxJjFpGAjqWbHHXjndRyD2XGs3xS5HLvzE8gWyO2d4eJFnj9Y3yPJjMNWCW2RoLzYDyYpIW4HmTgVY1ENT+HQ= 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=aOf1XUjK; arc=none smtp.client-ip=209.85.128.46 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="aOf1XUjK" Received: by mail-wm1-f46.google.com with SMTP id 5b1f17b1804b1-4779a4fc95aso4083455e9.1 for ; Wed, 10 Dec 2025 02:12:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=google; t=1765361560; x=1765966360; 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=Y2kuC53OjO9j13W/YXrHIsPq7yVK6fj8/acHPEvVHnI=; b=aOf1XUjKuBRAOFfxjOf/qrbtw627Q6fX1YMVGlMdn+VuQQObNAPMjiCNVc4P+Wy7Fj lXgo9qn6G3BuWujzxEbkvLxcjvlJTHE+//ac0pT/J/iJqGSFqV7xNrdzOxcHjP5lb7Cl UEa/i8HquMXqDrOK5jXqTEQpPA+2Kp5zxjoCAwAuYD+Q7CAGkCE0BwgKNGICmw7iy24f cox3kfUo9MYcG9rjEXo4nR+I/oj7XkuUaaKo4tK98KfRfPaV6szboQC8LggkQHnk8qLj 8pm10+XRpAh6Ib4ecssZZ8PLwtgwxHZU7aveKFQ4wH04DJT3XBJeWm/h8GCJVqv0hBiq u9vg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1765361560; x=1765966360; 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=Y2kuC53OjO9j13W/YXrHIsPq7yVK6fj8/acHPEvVHnI=; b=hxFTwPd4+3+7cavrZTgidLJkcTElHZedlmoRs9QGqSzCpCPDq+4yN4pnFZeX68ns49 8hLHx2RrQ23rAvbNA2OxP1D0AQOkiM3g77BAkwXoWgkeUV81SzypBfmJJsfeI+edgLzd xIXzDB3mwqCgJp5MbGIuac3Jeb/EgfzQZdqwRuOZI+PXK5TfGd+4NhApUTNfod7gw+vd VE9GzVrsvxNq8wbvbq2dxzyFtEFsHELgW6UD0zU3je3MKc8EIrXnTptUZdk6cu7PMoiL y/PBcwR/VtH0ozRN8yqKuYxFCrzQj/ZJcDKg0mvRArkw4ltiWIaO7eCvKUgT57dtJ3St EKsQ== X-Gm-Message-State: AOJu0YxAhHKpMr1VWdSTW1dc/KvPVm8icZVCGUIkH0pyM+ECQb/L9gHM 27JvmHtfZEHjDom0N0VlaTjHNLB4ZXlWlzGTlaz8uXIKEr1xUu86szdODeBNFb0aRuoGc9TcyuP DFF5j X-Gm-Gg: ASbGncsP4/l8CwDJBh1TyfYrrSFQZWRJ5e/UQQZcAuOxGjNefH2ZgU2O5Of1jyKF1EL 1Q5nsGHuPgsebTIQtpQk+MFa33f7hH6O6qEQdFe1YIBFpVvmhBubS65m+fzEXQjULrCf0NKDOr/ RqXiHppIHqqSBvCrFjXpyORxLgM6UApqXPCcAR8X5NemLmpU/jAD4jhilnHGWcIRhHtZgQssJPw dKS57X+SReS5C/vVubHbsgmvxVnRi6fAxHvGFK5Xbg4LwSfsMIYYhpO/pEzT+9fcKRHUeEB5XbI 8skXRPYo8WW7BoS4gAyKeFWWNRd42tmcktLfiS0MTH9PesMv6nYulxKHkxoEpnuaeHzSYa3ePzY +kINgsWVm3ZfGNLUYuVthaKhpvVaRJA7UC5ouIztoy3w60pI/yCSSNSqmKhPo6GYuFqgz4fzNLP e8SCTGLtCAMXBbiw15GMdx7964GfArMDF1++o= X-Google-Smtp-Source: AGHT+IGLEWRfVvnzmQMMySfRIGuZZjUtf8UteCnWxLO7dBRgBuDDezKOivFPQrfEZM2rEqBbPvFe7g== X-Received: by 2002:a05:600c:1550:b0:477:9fa0:7495 with SMTP id 5b1f17b1804b1-47a83934ce5mr18357655e9.14.1765361559691; Wed, 10 Dec 2025 02:12:39 -0800 (PST) Received: from localhost.localdomain ([2a00:6d43:105:c401:e307:1a37:2e76:ce91]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-42f7cbe90fdsm35406559f8f.3.2025.12.10.02.12.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Dec 2025 02:12:39 -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 , Ping-Ke Shih Subject: [PATCH] wifi: rtw89: add WQ_PERCPU to alloc_workqueue users Date: Wed, 10 Dec 2025 11:12:09 +0100 Message-ID: <20251210101209.47176-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. Suggested-by: Tejun Heo Signed-off-by: Marco Crivellari Link: https://lore.kernel.org/all/20250221112003.1dSuoGyc@linutronix.de/ --- drivers/net/wireless/realtek/rtw89/usb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/realtek/rtw89/usb.c b/drivers/net/wireles= s/realtek/rtw89/usb.c index d7d968207a39..e77561a4d971 100644 --- a/drivers/net/wireless/realtek/rtw89/usb.c +++ b/drivers/net/wireless/realtek/rtw89/usb.c @@ -620,7 +620,7 @@ static int rtw89_usb_init_rx(struct rtw89_dev *rtwdev) struct sk_buff *rx_skb; int i; =20 - rtwusb->rxwq =3D alloc_workqueue("rtw89_usb: rx wq", WQ_BH, 0); + rtwusb->rxwq =3D alloc_workqueue("rtw89_usb: rx wq", WQ_BH | WQ_PERCPU, 0= ); if (!rtwusb->rxwq) { rtw89_err(rtwdev, "failed to create RX work queue\n"); return -ENOMEM; --=20 2.52.0