From nobody Mon Feb 9 10:28:03 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 4A7592D7DEE for ; Tue, 13 Jan 2026 14:57:25 +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=1768316247; cv=none; b=Ou34H5IWZX9lcDQd+b4AobXjWmLqnsO2LzkftnVQS9LqOQt9x767k+n21BS9UDGyDY3fS5qQjaaX1kJZQWLkLR8NwrY0/nXRmsmNL38XoxQXONQUGZEZaPd6T5rkZ3s7/GSZhUQdxqUrWNPXy36lbYa9QTHB1n/oWG5x+Y3s6u8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768316247; c=relaxed/simple; bh=XbPRJVIj9NvQT1soNjv88NN1qqiSs0zpG0pE3SN42WM=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=Zq+q3y48O40SRp3DAAFffnpw6thLsB4Se1jZ16pTKDtllVv4CDg4Ku3pbQLzJo3ilmElWIcJsZ+lq3c0eWat3uUk1gLYP2FlqZ1PAcoBNCDlE1tkxMb9YwRwVei0njf9vxlAt2NQbOu6YDxiHBlykH3czdtNfYMOpRfMUarSuZQ= 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=HdVAkFkW; 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="HdVAkFkW" Received: by mail-wm1-f68.google.com with SMTP id 5b1f17b1804b1-47ee07570deso1855295e9.1 for ; Tue, 13 Jan 2026 06:57:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=google; t=1768316243; x=1768921043; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=5NtCKpXMmiGkCvj3M00veC7KRMP5TEp6tH8n8g+k5pQ=; b=HdVAkFkWREM8HU94XGBLv07nf095z+MmvSuLvmPV7tbj65cVGiGREph8Tq9DJ90CRG lEeLIHmQGfxlsbSmIEpkjSACSHzs3D8PbGeiyLU5npAXWvgS8YBIOB3W140jJUYjmgcX Pj3lHseOcAdbadVWPxRiH1dz9NjgNXxsqMzgrNRNbPnKxnSzfAGLNkDg2dgtuo4kTAHm lt68RCwnyhXZHEBgRjkyIdFGrMcS/QB1CZclRDSmb+9cZuOTgrsKlifeJ4O7ZISAEFgp SNOvJiW9A4V8D1/Q7CpJjA9PF6uw7g3LiWECA+0Kup2tvKux10v5YwS3UdBMe/v2QaBs WZ4Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1768316243; x=1768921043; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=5NtCKpXMmiGkCvj3M00veC7KRMP5TEp6tH8n8g+k5pQ=; b=uUdXXne5OlVNVGFHPopsiOSGIelTtXsQIUbe8ACrPLnCkyykO7WK6QRriJLSp05d/W q+rAFBIQwsQFwy1MGnR9alGCtM2RJGBgRyKEN55Y/VUMR7E/U89hu5ysizEKDQ5PDB/F NkmcFQOSOnDEus5lWksIoI3+dslrhlWx/CN1D9nU5XlSXDzQK64VtOKaPHxviZ2waSyG E71H10CQo+RgCE6llX5/VtuFNoc5eUFYvLNISJ7z8aCTr1bzhXh1ROtYRDDHrb13kM7r TtnljgTmSIJSNbGi8YgBs2NRZCLdjMcpiwQfQRz92MlGYf5nacPLWjdT2NchBm9Prmgy Rtbw== X-Gm-Message-State: AOJu0YwbIdhg744Xe17L2buJWvaa1rkeSIuEWYYWfxnOwkcAfxuHHYhu R5TDRzKwhV70sg1Uffa1cGucylwof5mpqX1fJRsdbWldaXb3ym4ZAB0g0uExvLh8rUlOqGKNMwL WLViV X-Gm-Gg: AY/fxX7ulngvyY0DYWfk99k2WX1DPgVUFlY4fVWi9mU6Sz7kyk88tTh9T6YuXZTm/KI IRzyFlpZP3+AeDWrCbazQMV0cfKon4xH4ApsrHunE25VwbgrHklKqf7le7lSWKq+lGfJiCtXxMc DkaVWXahbqpzZJYn+xQY6GUVoAV+4HbaDo49COfdp84RaU/27p0zyTyDP2jcaBrum3RlwGx+VRK gdKzeapx+zidXeNVMxuLAJQ9t0NuzheYq4yV2dHUtif/mj8dbe6BvSn0OL3tar+SnKsIetp1QI9 41TNbeJDYgdxq+ZYOF4ltVQ8G7L7rc96BIYBq6Kl+8WbyvArTRd0/qPSG2wIz98I1o5nGIt54td PlrlPTYJM81yyS2Y7mDe/6blW7J/WM/KZoHMcGFTjUViOMg8QeFv5vG7V+HNmBQSPSeWpJQc1/9 a8IMZkdG1qX52GYfzEjfNy/szTyvD4ISMllfI= X-Google-Smtp-Source: AGHT+IF0UlDyV1YXD8L+RJcw39FdxGSjXzq9BCkjijCcXDCnvi3CO0LC4Q8UaY4OS3Rl6HHdf9zpKQ== X-Received: by 2002:a05:600c:1392:b0:46e:4586:57e4 with SMTP id 5b1f17b1804b1-47d84b32ef1mr258980645e9.24.1768316243240; Tue, 13 Jan 2026 06:57:23 -0800 (PST) Received: from localhost.localdomain ([2a00:6d43:105:c401:e307:1a37:2e76:ce91]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-47ecf6a5466sm128498565e9.11.2026.01.13.06.57.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Jan 2026 06:57:22 -0800 (PST) From: Marco Crivellari To: linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org Cc: Tejun Heo , Lai Jiangshan , Frederic Weisbecker , Sebastian Andrzej Siewior , Marco Crivellari , Michal Hocko , Nilesh Javali , GR-QLogic-Storage-Upstream@marvell.com, "James E . J . Bottomley" , "Martin K . Petersen" Subject: [PATCH 3/3] scsi: qla2xxx: target: add WQ_PERCPU to alloc_workqueue users Date: Tue, 13 Jan 2026 15:57:11 +0100 Message-ID: <20260113145711.242316-4-marco.crivellari@suse.com> X-Mailer: git-send-email 2.52.0 In-Reply-To: <20260113145711.242316-1-marco.crivellari@suse.com> References: <20260113145711.242316-1-marco.crivellari@suse.com> 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/scsi/qla2xxx/qla_target.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/qla2xxx/qla_target.c b/drivers/scsi/qla2xxx/qla_t= arget.c index d772136984c9..ef3a5fac2b48 100644 --- a/drivers/scsi/qla2xxx/qla_target.c +++ b/drivers/scsi/qla2xxx/qla_target.c @@ -8390,7 +8390,7 @@ int __init qlt_init(void) goto out_plogi_cachep; } =20 - qla_tgt_wq =3D alloc_workqueue("qla_tgt_wq", 0, 0); + qla_tgt_wq =3D alloc_workqueue("qla_tgt_wq", WQ_PERCPU, 0); if (!qla_tgt_wq) { ql_log(ql_log_fatal, NULL, 0xe06f, "alloc_workqueue for qla_tgt_wq failed\n"); --=20 2.52.0