From patchwork Thu Apr 20 19:48:08 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tejun Heo X-Patchwork-Id: 13219133 X-Patchwork-Delegate: jgg@ziepe.ca Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id D9883C7618E for ; Thu, 20 Apr 2023 19:48:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230086AbjDTTsP (ORCPT ); Thu, 20 Apr 2023 15:48:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56294 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232113AbjDTTsM (ORCPT ); Thu, 20 Apr 2023 15:48:12 -0400 Received: from mail-pf1-x42d.google.com (mail-pf1-x42d.google.com [IPv6:2607:f8b0:4864:20::42d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 82ED0559E; Thu, 20 Apr 2023 12:48:10 -0700 (PDT) Received: by mail-pf1-x42d.google.com with SMTP id d2e1a72fcca58-63b5c4c769aso1946626b3a.3; Thu, 20 Apr 2023 12:48:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1682020090; x=1684612090; h=content-disposition:mime-version:message-id:subject:cc:to:from:date :sender:from:to:cc:subject:date:message-id:reply-to; bh=Qxsza7eP5IF7aASEaN+RdsPVmgqdGGjin9oWqF5Ql3Q=; b=eosjcBqu8qenDXqG8JVkAV6RuT26VO8FXqn6JkY+c1g1/+KZfuWtAOBfzdP7TssKhj bfZJmCkghv0C5rqsJ3jDRUKHL1EM/ULcy58LbsOPhHQmlcuehmLjX+i1/KWWL8Pb+PHy gMStuXNW0PuofEQKN7kUvFsmx0toYqyTp4OvkGmrthvjnNrvjFmq0RIySYbif4dxKWY6 SHdgMsUsFbUA736IVayjRkO/gQGRDZjBGmCW053lAhBuvV38kznT6z2WGXnmAgixGqPa BSuDo5O+K9qNHFDqwCtL6qLzatjKtpXayCAwA3l6+Who/Puy0QP6xeWtyY06/SD9K1ME 5I9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682020090; x=1684612090; h=content-disposition:mime-version:message-id:subject:cc:to:from:date :sender:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Qxsza7eP5IF7aASEaN+RdsPVmgqdGGjin9oWqF5Ql3Q=; b=USXWpz+eoCdLl8uT5u/Efu1GOQXl91vU4td3qUCSd0WSQxjyEWSnUBTjj868LMJLM5 p7sk35HLbmmV/nd9+gIOHTNbYOjKYhW3vWsad9aQ3q++hmYyDFCY6F1FI4J+gMdzN0an vwLp1JhaLSLC8XOSebJ9U8LTVAYm89T7Q8VbyJh/KitF4GdnIfiEpD4CfbWSEtSWCl5V adZ09zCu/szmhmFPWlzMJfATjlZ4Z473bgoQ6wbu+Mg0raU/RT1DBexV/9icuFaeshid 28jXgr6o8Dfm/1/ZmPvfbu1P1EZeBFeJcmYyWWcmQR10/eaA7MujYy5GBAqN4lNJL98n zeOA== X-Gm-Message-State: AAQBX9f2SYntGmcYcUWofIAlc8iJhh8+2FG7XJtLeAGLMTLbZUvjnw0h 2Avm7XpylTYOoRAkIwv3dFCSDCmPJDU= X-Google-Smtp-Source: AKy350YtxYs4cgPUeKgeZGeQh8HwriDGoWgkOyu2OI2D+/s2NwlX1Ozb2RajHWZmm/WHXDz9glToRw== X-Received: by 2002:aa7:8896:0:b0:63c:6485:d5fd with SMTP id z22-20020aa78896000000b0063c6485d5fdmr3044041pfe.2.1682020089663; Thu, 20 Apr 2023 12:48:09 -0700 (PDT) Received: from localhost (2603-800c-1a02-1bae-a7fa-157f-969a-4cde.res6.spectrum.com. [2603:800c:1a02:1bae:a7fa:157f:969a:4cde]) by smtp.gmail.com with ESMTPSA id fa39-20020a056a002d2700b0056d7cc80ea4sm1606761pfb.110.2023.04.20.12.48.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 Apr 2023 12:48:09 -0700 (PDT) Sender: Tejun Heo Date: Thu, 20 Apr 2023 09:48:08 -1000 From: Tejun Heo To: Mustafa Ismail , Shiraz Saleem , Jason Gunthorpe Cc: Leon Romanovsky , linux-rdma@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-team@fb.com Subject: [PATCH] RDMA/irdma: Drop spurious WQ_UNBOUND from alloc_ordered_workqueue() call Message-ID: MIME-Version: 1.0 Content-Disposition: inline Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org Workqueue is in the process of cleaning up the distinction between unbound workqueues w/ @nr_active==1 and ordered workqueues. Explicit WQ_UNBOUND isn't needed for alloc_ordered_workqueue() and will trigger a warning in the future. Let's remove it. This doesn't cause any functional changes. Signed-off-by: Tejun Heo Acked-by: Shiraz Saleem --- drivers/infiniband/hw/irdma/hw.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/drivers/infiniband/hw/irdma/hw.c +++ b/drivers/infiniband/hw/irdma/hw.c @@ -1901,8 +1901,8 @@ int irdma_ctrl_init_hw(struct irdma_pci_ break; rf->init_state = CEQ0_CREATED; /* Handles processing of CQP completions */ - rf->cqp_cmpl_wq = alloc_ordered_workqueue("cqp_cmpl_wq", - WQ_HIGHPRI | WQ_UNBOUND); + rf->cqp_cmpl_wq = + alloc_ordered_workqueue("cqp_cmpl_wq", WQ_HIGHPRI); if (!rf->cqp_cmpl_wq) { status = -ENOMEM; break;