From nobody Sun Feb 8 04:23:29 2026 Received: from mail-wm1-f68.google.com (mail-wm1-f68.google.com [209.85.128.68]) (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 A89F239282D for ; Tue, 13 Jan 2026 14:13:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.68 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768313587; cv=none; b=Hnh5ab1yE1cFe2w6zRMEdWkgoY6AMFa01J08M1lF+qPgfO4a/7lk/UuDAGau3bc0AI2+FT9vbDsvZfvTxfnWgFuPUfeTVTWj0JhxzctorpUFeRXNTo224uXLi7NbwnJqB6jAPqoIU3NIwEXSXiqtZvCa//XMdBOUlIVSuLX9gJU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768313587; c=relaxed/simple; bh=tfuXJ3C12aw8vjiqo9wtp8/3Lra/eqeZkxhY6aShNVg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type; b=MYKn/S7qUMUFkzjAYCO8STzmazGsWhcXSfRf8teC5X1KXs+VUHZzAJ2JjKNInqOh2rB1MIN1/sIsaDIeUMh9qoqmnHHkjSdHPpqZ6klKCXCr3bcVL1FRQkj8CV0Im56uN66owzMnl4oxhI4vNcXipVme6eYfk3KvSr8aYJMHiGY= 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=GBh0jrz6; arc=none smtp.client-ip=209.85.128.68 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="GBh0jrz6" Received: by mail-wm1-f68.google.com with SMTP id 5b1f17b1804b1-47795f6f5c0so47465015e9.1 for ; Tue, 13 Jan 2026 06:13:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=google; t=1768313584; x=1768918384; 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=QAWuu14z7S2NGjLwEpyvUPRbwBL+uRlHEdKV49EVNDg=; b=GBh0jrz6OijWrLPku+UGX8okaN0VA0R9B1NanxBzmgp2cwkC1MH3s4Zll4L9LBhJh6 R2TUkfotpyu5v57bRFfUJ/+YmnPkQL6GFDYR4+Wx4XURIQ4N+KFbeh8Vxme6FeErS56C bpQH5HpBpXYL/ye45SI7Y30QeFlWdFr2dE7W7+b89f7Kqj+sz9HwiQdUdo++LXhygYyu RlaykL7KurOAfWrbhqtelMp1kBySVJYafzonH7k02Lm1mbqmvf1M50CdhixuivvHgs1B toTbOnSQbPUNF17GB9zx6oi9YFqua9SHODwBAQ+JBe5fhF5/H+qCya7qWhRjOtYLUZWN EAmw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1768313584; x=1768918384; 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=QAWuu14z7S2NGjLwEpyvUPRbwBL+uRlHEdKV49EVNDg=; b=J3D+pNiBSCp8IY5jcy6fsdZpU+4Ome9LKhqc/8BbjF1LlX1gaksAE4tJyXpg+AYlRt 1rWWTn0ZmrvZrD59yTZWv1tkJlv0Dcf8hm6vx9xz1pwMYtgrCWTf3y+C2hhGIXuBPDR7 n+kBR0VZ0ZWI5FsigHL8Y2o8pvdIPthWqF1D52qd5iZT4oyIIql8oBydQ08t1Z+AU6iz nHkP3drdEMSnBEk3VEJDxCppv0cIGmB7/2g36xfB9eP1yuaf74pgqH8RfyGzu8lz2tLI N90flh8O8j0Br7kmYffBdHdIzG+p/YjlBg4WzHhYbe3LC6rH658aSVHVPd4g7peRm8Ie p1qg== X-Gm-Message-State: AOJu0YzgBcbumwCDgz4LgnAiH+H/UGa3HhO4yrDHR6/zXsk9VEKt5WlG QCAMuROZfW9aj65Bg4BZnKNyUGg7jhXh5jS1Kz68O8lHq+YnKY+DIddYFaUr2168hwO8+BW5a/7 VhJOI X-Gm-Gg: AY/fxX6hZeo8UVx3KmtkAeL6MBGPVwen70sa9LzWa+puzmXxtruBKXwsAoOMPK++Grc VFNYNYoG5KxP3Yud0p/6gQFv9JCAW1g8uCJIqQW4gIN98+97Mrxcfj11w0ljVUP0KGVHX8DaBhK sOAJCmq9Bdo41RUwbJ4ikIoPNAf87YtplCw41fboSGp5BLkyIUKyWOXolYKz6VkgkYkeWwRW6Jn 2+eZEL6VicIIvorqpBTiGQBfBS8p2zG26U7+77RXDQyYtxYU2P24xSIAaUl0b49pu5I+ifRzuyE 9qQYvWAIgiC2IXZ09QjKbf6ajApKdNGfHuvESYkAOzuyRprUGPv0G8i5bKBQ7rQjsH0K/RzkI2u 9tVY4cSZxbfYmYYrTtqqwGByXnDHV56ARUytne8NPRO6lqXVGD8Q/jLJ6P1Y/cLsrvE2ZapZDqb B7/MvVQf2oK9bkGtBrP+oMOMCUEZ1Cx45pxyw= X-Google-Smtp-Source: AGHT+IELU9uN4+WJKmi5kVPT27zgXyot95ErpIak6vV96gWqLV9A6GVqn8E2QpyVEvxNVzoCU7CFXA== X-Received: by 2002:a05:600c:198e:b0:479:2f95:5179 with SMTP id 5b1f17b1804b1-47d84b2cf2dmr257871395e9.15.1768313583873; Tue, 13 Jan 2026 06:13:03 -0800 (PST) Received: from localhost.localdomain ([2a00:6d43:105:c401:e307:1a37:2e76:ce91]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-47edee4cbc2sm15967355e9.4.2026.01.13.06.13.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Jan 2026 06:13:03 -0800 (PST) From: Marco Crivellari To: linux-kernel@vger.kernel.org, linux-media@vger.kernel.org Cc: Tejun Heo , Lai Jiangshan , Frederic Weisbecker , Sebastian Andrzej Siewior , Marco Crivellari , Michal Hocko , Sunil Goutham , Linu Cherian , Geetha sowjanya , Jerin Jacob , hariprasad , Subbaraya Sundeep , Andrew Lunn , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni Subject: [PATCH] octeontx2-af: add WQ_PERCPU to alloc_workqueue users Date: Tue, 13 Jan 2026 15:12:48 +0100 Message-ID: <20260113141248.203944-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 --- drivers/net/ethernet/marvell/octeontx2/af/rvu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/marvell/octeontx2/af/rvu.c b/drivers/net/= ethernet/marvell/octeontx2/af/rvu.c index 2d78e08f985f..a5cc8d5f00dd 100644 --- a/drivers/net/ethernet/marvell/octeontx2/af/rvu.c +++ b/drivers/net/ethernet/marvell/octeontx2/af/rvu.c @@ -2534,7 +2534,7 @@ static int rvu_mbox_init(struct rvu *rvu, struct mbox= _wq_info *mw, } =20 mw->mbox_wq =3D alloc_workqueue("%s", - WQ_HIGHPRI | WQ_MEM_RECLAIM, + WQ_HIGHPRI | WQ_MEM_RECLAIM | WQ_PERCPU, num, name); if (!mw->mbox_wq) { err =3D -ENOMEM; --=20 2.52.0