From nobody Fri Apr 17 06:15:23 2026 Received: from mail-wr1-f65.google.com (mail-wr1-f65.google.com [209.85.221.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 BC27935BDA7 for ; Mon, 23 Feb 2026 10:35:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.65 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771842955; cv=none; b=OP09aWUkP48g0YGhBTGWu+yw+Eeq3VPm87fKhHXBDysceTSLFxVs/zdcSkzfqVYd1Q9xpzHyafcTSrc/2bZUj0T4vHFHob+MzEmylWHaoK2sOY70hf3zMP1ni36t53QO8d4XACReslNKFgC1rHohd4h2XsVxZivctNwClxqoCpc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771842955; c=relaxed/simple; bh=e+Z3kdFahZboWFWtnybS7k+WZiNuCi+364hMS4pudPE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type; b=gvsFC014eguXKspADnFS8Fj6UG6EC2UBkDgIVlYCWbX5obK69vbz5zlRtLrrEIENV0A4idc2+iQ7ktKzwSSG/5LqX8X7MsbKZAKieqlIhe879uD8Qy/xJQPNupo/JzAAK8oK7Nbn2JE5JWB/GS7OEct056lstreqB19Bv+kvrwk= 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=M+qbtNHH; arc=none smtp.client-ip=209.85.221.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="M+qbtNHH" Received: by mail-wr1-f65.google.com with SMTP id ffacd0b85a97d-4375d4fb4d4so2617238f8f.0 for ; Mon, 23 Feb 2026 02:35:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=google; t=1771842951; x=1772447751; 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=1ohrgPszgzW6nzHj/n5WAsHB3cL8qjOUCiQaVVU5DyI=; b=M+qbtNHHDkjx+1gWFK8mBnkme+k6ac577e9ZfO4PvMy5ZDsRtbnuhiL1eVQdJUTInR +O2hzI8k8OzlvTc+JgwlxAjpaVRcZAdCFEjhCYaCr/d3NjjhU7MV9Wjf4ZDYMmreZa8w vvDY61t3PhXSdsHb4f0uRNa1d3xICJPkFKrswa2qCprtfgZU3ZaS95tui/EVlVEuBRaM AdgzW9AxMSfIwkIU6veCDjlyjTosin0mLIVm2bogz85pTfKMZGJQs5NJcMKthsGX73tB vjO/a0Gmz40jtvuipVO1pWqq4v7X2hWJtAOZ3y9Dfn4CXYZVjqpJHIZYen6cmR2+Phk8 rbJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1771842951; x=1772447751; 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=1ohrgPszgzW6nzHj/n5WAsHB3cL8qjOUCiQaVVU5DyI=; b=t5I6bgGRorl7JUqTdWGjOfLHLy6b5+DBOWCSphexOqJNg2LofwF6IfQXsbZ4yuLFWB O80wZ3pQm7I2tgsAvh0mHuI65ibVMxFgXKbJe8hXHUvqd3IywqF6Hjg8xgB43pJBmIwK o4F+/e+0CG3TT86wptEwFjD8vB5TGz/rzPc+Vf66mPUYhLYkuHQ6SbDs8dsjJR7IV3Qv I/yu0Zyf4OnXG+qQUXjiNkW1JS2sxwy9zCmf3pXHZrq7uxm8RjIJvezOX5HPG7rWQMY1 d+xsNDqICs7g3KNzuX7sfUMJ5g/pCr85GxFFzVhH20q05oorFvui9MbSU8nwDIhMjpsJ OWXg== X-Gm-Message-State: AOJu0YwcuZlfZAgym7JogktispS5I4iMN6J6yDz0TaiNL2ojpAygI1mF 7iQt1UUILgQNhvXnEGw5De5PPw46O+OSnWPM7FTw7eQu/3KQSzoAuhQQUzObEVYcOH7kD8s2CZI uF7nG X-Gm-Gg: ATEYQzxJOVOEq7gLHQCbo3AuSfS/L/lBitY3IjicCNuS5hGKCSDiSPpUHwuy2IfZ1Qo VR3OXVaOkVMdRumgH6g2myq4EOy3u6g2QeHdC3NG3ViI3vDtVQTVwsjBorh00AUUj/j/8buPusn B+xtSXqM/Ak4P+fITdFvVZnHLJBRpE8OVd8o8CgZ4/500kLV5cm0hQfOFANCE1Tod9+PHpLhZBY 6Pt4at91kH3+VYsJjzVTbxq23YIfkApkFcFV3yECr9MxD1MnUJ5nwn9CWqHzMrJmWhCWd9zR+v4 eQDaDJhtRNNrKqXgswsHHqfYjoAh9jLzIau8zAvyjPkbPJ1B96i2dvM5H1NcyyGULnjJmcx/5Hs hap2A80InRXeiG7muuvzFFU8D8hIT/PFdblASXz6eV0BLZLB+WA0xq+1nV3fP9FquLaiQJ7pFnc sZPDzdbEeAyiY6JH8RyWozVK50/w== X-Received: by 2002:a05:6000:184b:b0:431:8f8:7f1e with SMTP id ffacd0b85a97d-4396f180e8emr15294360f8f.48.1771842951529; Mon, 23 Feb 2026 02:35:51 -0800 (PST) Received: from linux ([2a00:6d43:105:c401:e307:1a37:2e76:ce91]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-43970d3ff27sm19832426f8f.22.2026.02.23.02.35.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Feb 2026 02:35:51 -0800 (PST) From: Marco Crivellari To: linux-kernel@vger.kernel.org Cc: Tejun Heo , Lai Jiangshan , Frederic Weisbecker , Sebastian Andrzej Siewior , Marco Crivellari , Michal Hocko , Matt Porter , Alexandre Bounine Subject: [PATCH v2] rapidio: rio: add WQ_PERCPU to alloc_workqueue users Date: Mon, 23 Feb 2026 11:35:43 +0100 Message-ID: <20260223103543.119278-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 v7.0-rc1 --- drivers/rapidio/rio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/rapidio/rio.c b/drivers/rapidio/rio.c index 0c175e6d424f..f45e58b0971f 100644 --- a/drivers/rapidio/rio.c +++ b/drivers/rapidio/rio.c @@ -1994,7 +1994,7 @@ int rio_init_mports(void) * TODO: Implement restart of discovery process for all or * individual discovering mports. */ - rio_wq =3D alloc_workqueue("riodisc", 0, 0); + rio_wq =3D alloc_workqueue("riodisc", WQ_PERCPU, 0); if (!rio_wq) { pr_err("RIO: unable allocate rio_wq\n"); goto no_disc; --=20 2.52.0