From nobody Mon Feb 9 09:09:38 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 DC37D2D7393 for ; Tue, 13 Jan 2026 14:57:22 +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=1768316244; cv=none; b=DKbWhLzsyHRoHGyBNRiNZtTm5j23y06LxOIBAsCXtkfyPEVyA5e8qTLeTAkeBSbO9tgR3H+4Au3XXQiPe6wMes2hxQ6KtgmI6ZbmlP1OxF//CMe+TreAqB+Maj2EaSPc8vMiCCvI4F+Z6DzhJ0YALXBs6CpSMj10U2m6CLXkwQY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768316244; c=relaxed/simple; bh=xUVY+Dz6mtf+yKcFsJ+m8+y0vbeY6ptF4xjYL+qR6Bo=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=fWmHfwfYsaI5+HqrEGfsE982Lea9yfoncUfrTN6q+LynGt+UyN2uYgzKWHUAdSyynkNgPykRBT71geImoPRjl/lk87jojxZJEHloUwDkFggSFAMB2g8fpqsN07IB3ecYzA4MGUmkS6gI+/9+PqhK3ol3Mb5WGXoAII3+G7462Jo= 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=YJ843/1R; 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="YJ843/1R" Received: by mail-wm1-f68.google.com with SMTP id 5b1f17b1804b1-47ee0291921so2940705e9.3 for ; Tue, 13 Jan 2026 06:57:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=google; t=1768316241; x=1768921041; 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=0hFLKxCgg4DVA2BYQnPzZOCKSccnjmY1LCX1KgVFeNM=; b=YJ843/1Rd5vWcOwiINGbUgbELktX3nyeanKuSiOiiLWvimsu6uU/FV55bHMCXuD5Bi I4YzqeieiMNB29BSZZQrdc7VwhwBWKR+XV08skp7r7UmHDQhoi2VjlOjphMWFwA/H0vj FOB98uX6UTfeg/to0SfE3PWfOInLsqTs9ZubE/64FBiwuWbSV1YdSwHVkZAERHRCqSri Dve0RYUgzXtrwKTmjJKF/vuFu9JDbWcdQunpq5r4qr8w1WaHUpDWrd28QtyA3wgf9lMg lD1nbYCpduZuIlwCnPH6sAQwZcHm8MIrq3PdjaT+YbAxtCz1oxskf5O78ACI9COMVvoQ GG2g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1768316241; x=1768921041; 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=0hFLKxCgg4DVA2BYQnPzZOCKSccnjmY1LCX1KgVFeNM=; b=Mb5DwQlpgvQTA9+TVoAAHqRgal4rat/7OUPdJviEyBJ25wt68+rJ6DnAV22BXidBK5 E2zAlL+IAkgxohBPQ8wZr9TrQHnpGQYQIa664K+M0f6XTvTH9ojIwyppvcqOCU0Tvlto lF/jIwLWxpGFj6eY38L/FnJO8P1b5PJUPbkgMml2QZu4BDezuAd7475uGsSJG5CumRDb mnadgMe7iFMffVKnQsLE7JRXhnbNlRiuZIPnYJvo8Nvx0XMazqsjsH6/SK6X/AR0R8sh xb/Y7x/HhSrPgw5ke9gpMstZRMYT7C6pqyfVHFq+6vQxTA1Fu1oudBHTQkMppdXB8BXy Q8yQ== X-Gm-Message-State: AOJu0YwDUv6BuHmffsUjGrVcFWaB7CLEXo5vyccYTka9JDMGCoCa6TYL gTCk1yn+YBHp8pCDx4aLnfX4jWPWiu+wD6/Nv3VOpe6vuvOA3oY0LYPTVcLi5gEpI0iKje1grmv zOUMJ X-Gm-Gg: AY/fxX4x65T+1w06c9iDdjhZEYsRV/nD9nK7tJ8mDwRVkoxUkoLn8PtuzUQZBP4XdV1 y8kqztnnSNNN1ccvlyqakiP86O2nd+zXGX5nZ0diaUJsO/qL8/ck0eY96y0J70xSyHG4H5TH1r9 fE0ZRRXHrrhMYnmYnEU0qgE+ZlDWjNlY9FLcLkGsEEkgUUyI1/KnJQU7pHo6JPb9EzpdSDImt4Z iGz3D5hz/cR2q5JmPUZO7F07801HqfU8nvBUvlUEJxESlRmpaxHyQ1HrWQSHqBsmqPpDm7/bDk+ EUAAbfzFrqyRSEkeHpT7wWAh3ZRENJDO8wnJOB1A+r/wDhhKtn7be8/1RsoHxxKJpOe7TJ0PxRJ zTi2CKpkqFnpniOSL05vYo0lwZiCdmBh3IbAqQbG7WFhBg+jZLk2Vm50pbGPTaERvlQLC1/6mpq kq+k/kUKVoSmHG6BnR8V15m4eM6IZHVELMcyg= X-Google-Smtp-Source: AGHT+IGMKYMnsBy5q3lHF2caHx7b+bcLkDOwakSbhNrSSUaKe0WsXPIA2WZy7D3r1wdP6LfTKyqHUg== X-Received: by 2002:a05:600c:8b57:b0:477:54f9:6ac2 with SMTP id 5b1f17b1804b1-47d849bdfa7mr237829425e9.0.1768316240959; Tue, 13 Jan 2026 06:57:20 -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.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Jan 2026 06:57:20 -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 1/3] scsi: qla4xxx: add WQ_PERCPU to alloc_workqueue users Date: Tue, 13 Jan 2026 15:57:09 +0100 Message-ID: <20260113145711.242316-2-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/qla4xxx/ql4_os.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/qla4xxx/ql4_os.c b/drivers/scsi/qla4xxx/ql4_os.c index 97329c97332f..125967e5c548 100644 --- a/drivers/scsi/qla4xxx/ql4_os.c +++ b/drivers/scsi/qla4xxx/ql4_os.c @@ -8819,7 +8819,7 @@ static int qla4xxx_probe_adapter(struct pci_dev *pdev, } INIT_WORK(&ha->dpc_work, qla4xxx_do_dpc); =20 - ha->task_wq =3D alloc_workqueue("qla4xxx_%lu_task", WQ_MEM_RECLAIM, 1, + ha->task_wq =3D alloc_workqueue("qla4xxx_%lu_task", WQ_MEM_RECLAIM | WQ_P= ERCPU, 1, ha->host_no); if (!ha->task_wq) { ql4_printk(KERN_WARNING, ha, "Unable to start task thread!\n"); --=20 2.52.0