From nobody Sun Feb 8 07:14:48 2026 Received: from mail-wm1-f67.google.com (mail-wm1-f67.google.com [209.85.128.67]) (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 BA4203921D6 for ; Tue, 13 Jan 2026 13:57:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.67 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768312668; cv=none; b=SWf8uvGdhY0Iltii3QSUWIpAfM6ToBwijSISp3pp4O8fAG2m/N52349kkpEox1+mbSRXH0Oi9qt2yhwDU30rB8o05nlr0GN9Nmt6rM7Yp6Om5PkhxLlhNOXiNPwoklkMucnzu71IJOEy0nmdDZ6MeywW6GzXbLpJGXobDaZT/eg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768312668; c=relaxed/simple; bh=vGepSoXqXFNPK24g9jxbIFgRn8KdUM+VLaqxS4+chjU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type; b=FD4AicsB3IiwQVSTSYO8d1qf6yqfv9VallLQpl0n2TTE3FEpGzlOblWxQUTqWjtL0PSuPKfUHUB+xAkB0nntxPWTXOei8igpUevwBeV2o4wQwHpC9bLGKy1ceGVOsD88aawgU2KYlgqh515+OWT0bI+5sGOhloFNIn8D/FlZVjY= 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=JeOYiDMz; arc=none smtp.client-ip=209.85.128.67 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="JeOYiDMz" Received: by mail-wm1-f67.google.com with SMTP id 5b1f17b1804b1-47ee07570deso1360155e9.1 for ; Tue, 13 Jan 2026 05:57:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=google; t=1768312664; x=1768917464; 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=geRxG6VtkxUTJZHQL/oixDlpv9swofSsiDKuDbcROUw=; b=JeOYiDMz/rYsxJE5e/+ufrB068A1mbYpLdcFrq+s7s4rcWmGp/1fWuiP5+gb3VegNG jzeZ5HKWHF8M/evaHLx0YwQYCUHY+8bUq9GRLg2JZx5GFvS2EH2YUr327NYB9BAEeglO gjmYP7f05uFyRrakDC0CC1Jvp4boyaOW8TY6xPIMnjp2HqAWIGLsvgiJV5ReDxX8FiG6 KwA1Ddtg7DMauiUSa0aO/I7hlCOc0zxihwPquo7pOp8cJsb0IHUOm2bimy8cw9WngeEx johQkW+d6VDdGQ9sc2SYMeDxA/5tvT2fJAMHHOheUribThn1Y7TPylZWBlIV2CMEMOoJ EJYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1768312664; x=1768917464; 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=geRxG6VtkxUTJZHQL/oixDlpv9swofSsiDKuDbcROUw=; b=FMsv6lj8QmuqPNCV1j9gs13M928pTwWeLXRmGaWm1pPAyZtBhf3DS5hq28d0WcUSQY 3uQ4XFzExlc+rsOcwoDCuwnZfATBN6dZ1UIfhURMLL0d/Fj5kQPTxJmkObPBwfi4186l gVCWNestKUEJINYib5mziOlF+kAVyF6U8Geb3DSxg4Nj51maPKXG7qZHdIhhJ6iZv6n4 921Jl1pfubEW8DKNXk4G0m6ongQjRm0jnjzVKdz70kXaS3f1nh/zFmMRn2WWNrFJ1T65 1eZMC7YPGdFwhFEvl2C8H2+iTTQxs7CWpCHsAwO9Bglf+GMuS0fEwoJyWfimfpzAVVpD nEEw== X-Gm-Message-State: AOJu0Yz78EjsLua8XwmE4lr/sxfzMPe9IodnWjoyxFL9Nrnwefyyttf4 bz4u2/RTnQHwNuTMhQYhrKJ+HO3AcpAc/vLspS2P1OVKsifLjEkPtaxawBlNpAofqzq0FVY1C/I O6JpK X-Gm-Gg: AY/fxX7TXk0Tw359eUxYZxRIFm5/ORK5TlVWz9GccYfVNSWH8QnzIs4jNckjzHttZ/A jIVfU+oetxFdLlNWwI7BLiihHsIqpH8Ysr23K6b35DMPgbnuZh2VsEKPkGvyhCNESZsnGdtQ+lI biUYvA02VmEOuT8s9rN/txN/82LlyJeV4IaAl6FcB+T9sdzjyTiLOhQhLVpvEp7+HVU9ELJ8yA2 kflkcfyUZa8N2PsI4bzh+Yz3eKibZJvQ/PI6EgQMOXfz5SPcZ0Ju1Qzka4w8ejrj/S9j411pvYl 22zJICnrYRCxFKGoE3li1i1bQr0iyQgrmzzHZDcbnqFikhZ91hAB5MJOYNVFkzscCuyRFYg1JTR 0rvmB7shvZOmmyNmCybsqY7OzpiKArQal16PHWDzdmUI2+F6Ziy1vjfUQZAiFgkP0vjP//xSkXa AMoBdmzwEa9VeLxSOs+nyGpTQG/pbNhsxacGc= X-Google-Smtp-Source: AGHT+IFjRGoeW+J5Mh33H1Jx+UT7KMzmBbyH1GEpCHxRS7T97DB46YiBWucSvzZHYtUjHNiFGgqvhg== X-Received: by 2002:a05:600c:3152:b0:47a:814c:ee95 with SMTP id 5b1f17b1804b1-47d84b17eb9mr254066225e9.12.1768312663867; Tue, 13 Jan 2026 05:57:43 -0800 (PST) Received: from localhost.localdomain ([2a00:6d43:105:c401:e307:1a37:2e76:ce91]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-47ee0b48921sm1282225e9.0.2026.01.13.05.57.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Jan 2026 05:57:43 -0800 (PST) From: Marco Crivellari To: linux-kernel@vger.kernel.org, greybus-dev@lists.linaro.org, linux-staging@lists.linux.dev Cc: Tejun Heo , Lai Jiangshan , Frederic Weisbecker , Sebastian Andrzej Siewior , Marco Crivellari , Michal Hocko , Rui Miguel Silva , Johan Hovold , Alex Elder , Greg Kroah-Hartman Subject: [PATCH] staging: greybus: add WQ_PERCPU to alloc_workqueue users Date: Tue, 13 Jan 2026 14:57:37 +0100 Message-ID: <20260113135737.190636-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/staging/greybus/sdio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/greybus/sdio.c b/drivers/staging/greybus/sdio.c index 5326ea372b24..12c36a5e1d8c 100644 --- a/drivers/staging/greybus/sdio.c +++ b/drivers/staging/greybus/sdio.c @@ -806,7 +806,7 @@ static int gb_sdio_probe(struct gbphy_device *gbphy_dev, =20 mutex_init(&host->lock); spin_lock_init(&host->xfer); - host->mrq_workqueue =3D alloc_workqueue("mmc-%s", 0, 1, + host->mrq_workqueue =3D alloc_workqueue("mmc-%s", WQ_PERCPU, 1, dev_name(&gbphy_dev->dev)); if (!host->mrq_workqueue) { ret =3D -ENOMEM; --=20 2.52.0