Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp16800570rwd; Mon, 26 Jun 2023 15:36:05 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5l0bb2f/TklHb6f9+IkW0HofFBbg5rtf105CnsFXxs4TNaIRYHJR/biy+s4LSnYgB8y9Uu X-Received: by 2002:a17:902:e5c2:b0:1b5:5162:53bd with SMTP id u2-20020a170902e5c200b001b5516253bdmr10505742plf.33.1687818965283; Mon, 26 Jun 2023 15:36:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687818965; cv=none; d=google.com; s=arc-20160816; b=qP5URro1zpj/S0fXSD1d/iSGrLZh6+Lu+ajWk3Ig1uNyLvi++ofENuhbW+Uu32+fKt 7Jf0oOH9ges1mUaRnTuZYs4WHPiP3y08yfOHfcViUCIiTe5aFahC49xeN+yqr81aSdb3 2s5YWmZaPz+UJd2FE+DIiib9FFFi6p04jqn2mzyvFwE7wsMDZBpuuxqj8XpLyqFsNzTb yoa1sZNwpnKkFkPeFfUl9mLbv0RjeCwCSG2VPx7T5gBqTGBR1SFEBcmhtIPxRDJUdOjN tvJcb7+xb4FtcCkgai6HCRt/11tRqLgtqEUgegXZnl0impgxksHRgOtXP09o9xYQfaoy qNyQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-disposition:mime-version:message-id :subject:cc:to:from:date:sender:dkim-signature; bh=t29Nyoq0sCG+QQJT6RRc1wswLqkrP2lzDbM08iFudzY=; fh=4zc7hyAzP/VNJ9BSjHYvxdRoSuzM8uJ+bdbpBU/OFIo=; b=oxHFKun0XNUZZF2lNwDWYWwl8oWURoyg6tw7z61ENTaCsReWfh5cKWMBaD+LmKvpbx 7XUuiRRfdDqu0qrovr/Ndg1dTGKhSHnLAg24g9/YP4E8is0fA5NwpJB0UZE4zSc46jAD HbBBq+MUjcD8kg0uDHHocziGdWmn/cq/na9FVU6VeOSHQ1bXPKvOtM8VVT6CdRCne9Kl L4NkEVFmYWSDcQd26ZyapLD3lGJ71/qtObGKCup/B++HKN4AsvRWmQh6JutQINSNHl+o cWMfjI3XrBu9NBd4aee3U0TuruU/jvJ+LvgzdEHwtHiQbVmqSk/PSvPb2jmfZOqpGRAM TRpA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=pyK6FH23; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s18-20020a170902a51200b001b7dde4801dsi5266889plq.530.2023.06.26.15.35.52; Mon, 26 Jun 2023 15:36:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=pyK6FH23; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229765AbjFZWHM (ORCPT + 99 others); Mon, 26 Jun 2023 18:07:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57934 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231523AbjFZWGz (ORCPT ); Mon, 26 Jun 2023 18:06:55 -0400 Received: from mail-pf1-x431.google.com (mail-pf1-x431.google.com [IPv6:2607:f8b0:4864:20::431]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E15F01999 for ; Mon, 26 Jun 2023 15:03:13 -0700 (PDT) Received: by mail-pf1-x431.google.com with SMTP id d2e1a72fcca58-666edfc50deso2504967b3a.0 for ; Mon, 26 Jun 2023 15:03:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1687816992; x=1690408992; h=content-disposition:mime-version:message-id:subject:cc:to:from:date :sender:from:to:cc:subject:date:message-id:reply-to; bh=t29Nyoq0sCG+QQJT6RRc1wswLqkrP2lzDbM08iFudzY=; b=pyK6FH23VOtakuzS8YTMmfpCyAvPH+c7tghVLT/GJ9BDiCXQs/iERVyXOlSgpEP1PW PafsujvWzXUTOO1B/h6yD3HiDve7PxoyTVUhIWmjKqiCvqI6yXnVmsuraQaoIPMR0T9R 3mZp+ezemFNm708zBnWB48tcZ1uNZ0KQdqHxBe7YHgoWc//eo2UtyfDtQWdwy7CEO/f2 ZLk5jE9nQSDSeQhlM+0ZcD5HvayiC55HodrJFSdWOlTc0Fq8uF5DQpo6HfaOQN+8fL8P B73F0s03Lg7PS3tfX8fv/g+QtEpwcM9KVAp818wm9va61IDxOqz5ncw8b8e3K+h76HwV iUgw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687816992; x=1690408992; 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=t29Nyoq0sCG+QQJT6RRc1wswLqkrP2lzDbM08iFudzY=; b=FaCcN1zmJbrZ4S0DfilSOgazxwsxCyxGoeyy4/ZeaozfriEZqSy/ZY7N5nZFF0/kD1 forJ/NSjFD5bMFwWABmGjxqYUyGkCvyLWu0L8EzhtugycbNeJ4Ltg7pxx6zewr5Xed3M 8Iz47QtGiFhUZvWKXh42MEG6JqwA9HU9qkE92HVChvhNK6+UF7pzubHJnc3ibdYExlzz jD+CkAamAmVhGS8kEbYVhfNIt5Q7WcZid1Lh099+Ny07Fy/MpPqlTxUSUKLPhE+BKopC VK3KKokR0eXjHH6YYf2xBzRjIfhhsy0X9KoiMq6YOtMAAAm6QAJaOTynSbJVzrk7xm2s CoPQ== X-Gm-Message-State: AC+VfDy7TO/04JRjim9WBHH6EylFkH/K1IsnGSLl+5U0FM3lfATI3GAG HeB3yVh4ZNUzvdsFk1K1Q9E= X-Received: by 2002:a05:6a20:748c:b0:106:9266:4448 with SMTP id p12-20020a056a20748c00b0010692664448mr45207749pzd.16.1687816992042; Mon, 26 Jun 2023 15:03:12 -0700 (PDT) Received: from localhost (dhcp-72-235-13-41.hawaiiantel.net. [72.235.13.41]) by smtp.gmail.com with ESMTPSA id m26-20020a056a00165a00b006675c242548sm4247468pfc.182.2023.06.26.15.03.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Jun 2023 15:03:11 -0700 (PDT) Sender: Tejun Heo Date: Mon, 26 Jun 2023 12:03:11 -1000 From: Tejun Heo To: Linus Torvalds Cc: linux-kernel@vger.kernel.org Subject: [GIT PULL] workqueue: Ordered workqueue creation cleanups for v6.5 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The following changes since commit ba0ad6ed89fd5dada3b7b65ef2b08e95d449d4ab: media: nxp: imx8-isi: fix buiding on 32-bit (2023-05-08 09:10:07 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/tj/wq.git/ tags/wq-for-6.5-cleanup-ordered for you to fetch changes up to 78ef970385ea4d02a44af2776e4f4c74d4fce3d4: rxrpc: Use alloc_ordered_workqueue() to create ordered workqueues (2023-05-25 12:15:36 -1000) ---------------------------------------------------------------- workqueue: Ordered workqueue creation cleanups For historical reasons, unbound workqueues with max concurrency limit of 1 are considered ordered, even though the concurrency limit hasn't been system-wide for a long time. This creates ambiguity around whether ordered execution is actually required for correctness, which was actually confusing for e.g. btrfs (btrfs updates are being routed through the btrfs tree). There aren't that many users in the tree which use the combination and there are pending improvements to unbound workqueue affinity handling which will make inadvertent use of ordered workqueue a bigger loss. This pull request clarifies the situation for most of them by updating the ones which require ordered execution to use alloc_ordered_workqueue(). There are some conversions being routed through subsystem-specific trees and likely a few stragglers. Once they're all converted, workqueue can trigger a warning on unbound + @max_active==1 usages and eventually drop the implicit ordered behavior. ---------------------------------------------------------------- Tejun Heo (17): powerpc, workqueue: Use alloc_ordered_workqueue() to create ordered workqueues greybus: Use alloc_ordered_workqueue() to create ordered workqueues net: thunderx: Use alloc_ordered_workqueue() to create ordered workqueues net: octeontx2: Use alloc_ordered_workqueue() to create ordered workqueues virt: acrn: Use alloc_ordered_workqueue() to create ordered workqueues xen/pvcalls: Use alloc_ordered_workqueue() to create ordered workqueues wifi: iwlwifi: Use default @max_active for trans_pcie->rba.alloc_wq wifi: mwifiex: Use default @max_active for workqueues wifi: ath10/11/12k: Use alloc_ordered_workqueue() to create ordered workqueues crypto: octeontx2: Use alloc_ordered_workqueue() to create ordered workqueues media: coda: Use alloc_ordered_workqueue() to create ordered workqueues scsi: NCR5380: Use default @max_active for hostdata->work_q media: amphion: Use alloc_ordered_workqueue() to create ordered workqueues dm integrity: Use alloc_ordered_workqueue() to create ordered workqueues net: wwan: t7xx: Use alloc_ordered_workqueue() to create ordered workqueues net: qrtr: Use alloc_ordered_workqueue() to create ordered workqueues rxrpc: Use alloc_ordered_workqueue() to create ordered workqueues arch/powerpc/kernel/tau_6xx.c | 2 +- arch/powerpc/platforms/pseries/dlpar.c | 3 +-- drivers/crypto/marvell/octeontx2/otx2_cptpf_main.c | 12 ++++++------ drivers/crypto/marvell/octeontx2/otx2_cptvf_main.c | 6 +++--- drivers/greybus/connection.c | 4 ++-- drivers/greybus/svc.c | 2 +- drivers/md/dm-integrity.c | 4 ++-- drivers/md/dm.c | 2 +- drivers/media/platform/amphion/vpu_core.c | 2 +- drivers/media/platform/amphion/vpu_v4l2.c | 2 +- drivers/media/platform/chips-media/coda-common.c | 2 +- drivers/net/ethernet/cavium/thunder/thunder_bgx.c | 3 +-- drivers/net/ethernet/marvell/octeontx2/af/rvu.c | 5 ++--- drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c | 13 +++++-------- drivers/net/ethernet/marvell/octeontx2/nic/otx2_vf.c | 5 ++--- drivers/net/wireless/ath/ath10k/qmi.c | 3 +-- drivers/net/wireless/ath/ath11k/qmi.c | 3 +-- drivers/net/wireless/ath/ath12k/qmi.c | 3 +-- drivers/net/wireless/intel/iwlwifi/pcie/trans.c | 2 +- drivers/net/wireless/marvell/mwifiex/cfg80211.c | 4 ++-- drivers/net/wireless/marvell/mwifiex/main.c | 8 ++++---- drivers/net/wwan/t7xx/t7xx_hif_cldma.c | 13 +++++++------ drivers/net/wwan/t7xx/t7xx_hif_dpmaif_tx.c | 5 +++-- drivers/scsi/NCR5380.c | 2 +- drivers/virt/acrn/ioreq.c | 4 ++-- drivers/xen/pvcalls-back.c | 4 ++-- net/qrtr/ns.c | 2 +- net/rxrpc/af_rxrpc.c | 2 +- 28 files changed, 57 insertions(+), 65 deletions(-)