From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8CE652EBBA4; Mon, 23 Feb 2026 15:42:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771861331; cv=none; b=W1pgNbitVY1QsiSC7DftZ1PNxJhKBtVkDsVGv7oEjCfiRCeW6nnTsWVmihNbm9QkQ3hSp8IKumVexhytFEM32S34qtfPWosZj1vgVULmNOU/1vl7hKWXq0vd29RXFr+AqxdHtuV8uxtuUGEuJF5zHeN2siuTcKY2hRYr/NaDaFY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771861331; c=relaxed/simple; bh=yurSs7VYMIRx+Jmbg9pFFMOien12/FbdH7HI65YtUAA=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=dwNxj0HbIxQ/a1J++I2/OkuxKBJL4TRT96sqBz1XoqIZT3MQr7yo/cU5IEr/ychoM3WRjVv8Wh7NXZL65+288bb+LWrw+Ptqg0hJM2BrXu7wqCYyxzCplisiT3kJsPloaUA8NR1ofgQjgIq+pncmtvj1WhzbpVe8i+4M60Zsm9s= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=T4XEVoLj; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="T4XEVoLj" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 13CECC116C6; Mon, 23 Feb 2026 15:42:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1771861331; bh=yurSs7VYMIRx+Jmbg9pFFMOien12/FbdH7HI65YtUAA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=T4XEVoLjwgsQ7ovKA7xtbUTIVcHWVCyV6pn7LOJ292tti18smMR8wnG77SxgalbDg RfgNRI6zvKs/8cXZyOMCiLBb0YqaZH9xuRDx2MY4NeupnNbZFjJqhMaJ8YeAvg7B5v VBYPz9rOAI/WFv0qLsSJzaRmANj4Tm0r0GykuOYk2PjjD3h+49jCkt2p5FSw0rNbk5 z3KuS76ScNLrjShfi32YBoHfRV9eG09CMT3drMUaizPybn/yJnzaV8C4ege2Vjb7v4 wPmK9fQ3opNtBptr+RX6VE2r07joRxsro9c4TFt4tqOEhoN/+cg4n1U/D5sWlOyEsE hV1PcbRbJs2aw== Date: Mon, 23 Feb 2026 05:42:10 -1000 From: Tejun Heo To: Krzysztof Kozlowski Cc: Greg Kroah-Hartman , "Rafael J. Wysocki" , Danilo Krummrich , Jonathan Corbet , Shuah Khan , Lai Jiangshan , Tobias Schrammm , Sebastian Reichel , Andy Shevchenko , Dan Carpenter , Krzysztof Kozlowski , Lee Jones , Dzmitry Sankouski , Matthias Brugger , AngeloGioacchino Del Regno , Benson Leung , Tzung-Bi Shih , driver-core@lists.linux.dev, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, Sebastian Reichel , linux-pm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, chrome-platform@lists.linux.dev Subject: Re: [PATCH 1/9] workqueue: devres: Add device-managed allocate workqueue Message-ID: References: <20260223-workqueue-devm-v1-0-10b3a6087586@oss.qualcomm.com> <20260223-workqueue-devm-v1-1-10b3a6087586@oss.qualcomm.com> Precedence: bulk X-Mailing-List: linux-doc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20260223-workqueue-devm-v1-1-10b3a6087586@oss.qualcomm.com> Hello, On Mon, Feb 23, 2026 at 08:27:29AM +0100, Krzysztof Kozlowski wrote: > @@ -568,19 +588,31 @@ alloc_workqueue_lockdep_map(const char *fmt, unsigned int flags, int max_active, > */ > #define alloc_ordered_workqueue(fmt, flags, args...) \ > alloc_workqueue(fmt, WQ_UNBOUND | __WQ_ORDERED | (flags), 1, ##args) > +#define devm_alloc_ordered_workqueue(dev, fmt, flags, args...) \ > + devm_alloc_workqueue(dev, fmt, WQ_UNBOUND | __WQ_ORDERED | (flags), 1, ##args) Let's just add devm_alloc_workqueue() and devm_alloc_ordered_workqueue() and skip the legacy wrappers. Thanks. -- tejun