Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp1127625rdb; Tue, 30 Jan 2024 08:38:33 -0800 (PST) X-Google-Smtp-Source: AGHT+IEvl49bKLUoG/jdY7PKh8CeYIqgU37XWhAKzuILBIegTw02eia0O+EAFA6HwcKmtWm4WtjL X-Received: by 2002:a05:622a:1d4:b0:42a:5166:eb0d with SMTP id t20-20020a05622a01d400b0042a5166eb0dmr201350qtw.26.1706632713153; Tue, 30 Jan 2024 08:38:33 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706632713; cv=pass; d=google.com; s=arc-20160816; b=uDCKY1uu7j4NSvNiYHssynjtTIEXjM1yTGSKdqSaMw4c5PpUEYtJ/zqVnLAUxt+USY USuk9xYOUvrVesYSRbYg8ITIgsbeuWEUsuH4IB1rN3LbXtHGAVrJURSfqLVs/3F1SNvx BMDktHfWSdYd29FZ2S0YGDdAes40G46692/FpxTL8ckjbyw7VNOXpZUKOQEroK+0UTw2 3rzXaWT5El7OVy9gy3U1tAZC4TVvRPNZahM9OJX7OHBwCxt1NPDOmp8xfzO/5ixKe0wS fX8rwiGHd7UYmS8WSIoLGU9gIyMQGt9wxTbKChMgjH2XO+9NkpzJivZ+g8H72zGp4whZ xs3A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=PAFLj+vZ8kdRDYS8DXlyQSzR4Up75fcmtG0EtZ8IHqM=; fh=0xxx9qPHW8gJCaZRT9vXWzKHqE7MxmhzPkXEUasrZr8=; b=rbmLhJcBL1CdsQOnnjat/cvXzoDv2wfT+F5hviDJVI6NC/GJDYs4DxxFxSosnklQ7e j+TrjOwmrdR7iwYKvGUB1nG6oU7N1Opn8wOzekqGW/jl774gE38331Y+3DSNwVDehD7C /hQ8hjwtqfNJSse/gDWNMi8HNpLILWn2GzRyTt9lFM9GNK5zU8T6OoC4zDH0wOW9I3bR kqw+xtoHTcX81MF4nEb1wrctPWHWyiXIwwDdJ1asLhbBHsdH6P23o1bi2YMLa0BTms0Z 4UNI21bavvrLZJrwDhHQ/IzotY8pNyImuuqa8elllWJtxmtSEmzP3wVK4UGo+UXsgBml /KRg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="ku+/KYPL"; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-44961-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-44961-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id n21-20020ac85a15000000b0042ab80d5052si1461178qta.638.2024.01.30.08.38.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jan 2024 08:38:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-44961-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="ku+/KYPL"; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-44961-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-44961-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 79F151C23B5D for ; Tue, 30 Jan 2024 16:38:32 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A650D1272AE; Tue, 30 Jan 2024 16:38:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="ku+/KYPL" 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 6699B1272BA; Tue, 30 Jan 2024 16:38:17 +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=1706632697; cv=none; b=YSt2CRqgk1/ihKi9hfMjRxQ5w6TBjWd8ZtujmIEALiiDZg2RXNnms8nEOm1myWBR/dgNwvMdExiOTp+ZmJ/ckrvR4JXg046BfzekmnPGgEjGCgRR3Q4+y/q4zQnR2eluhULRav8eoMW/OVWoEu/1Kuk8zELCjiPPbWY7wQTjdkw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706632697; c=relaxed/simple; bh=nxkTY64kn3vx0ZxOVuDzgl6Ifx+sox0ekL5shkpfVRE=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=jeRKoYvqqPTRpcfpuZtN7Hj+42umcU5dT/tTO3YvsapWAWTO49YFb8Pg7nu6SgxShle2aWgTzcizcAG2/JuqajUmYF8IMG9eHsqjqy0H43B8CcWFdR1M4uSsszKMNfMuYpBbdZQLeLVQxRosiLmviqkWECJvpCx/+u4qysk/CQ8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=ku+/KYPL; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id DC1FFC433F1; Tue, 30 Jan 2024 16:38:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1706632697; bh=nxkTY64kn3vx0ZxOVuDzgl6Ifx+sox0ekL5shkpfVRE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ku+/KYPLHs5whcJsK1PPmUFRNk2CkjQG9ouTyx2VT3jhSakcZPee5xPYYgjHBexsZ 9RkLDgh/1IQicIunWIT6KmQwsue8ZafyGuiviVKL6idccXDnHAMuIi7ZIL1fZzV4qr FEsVfEYAUvIWfxvWPT7rBlKWKKvx1gpFWq8++VTg= Date: Tue, 30 Jan 2024 08:38:16 -0800 From: Greg Kroah-Hartman To: Tejun Heo Cc: torvalds@linux-foundation.org, mpatocka@redhat.com, linux-kernel@vger.kernel.org, dm-devel@lists.linux.dev, msnitzer@redhat.com, ignat@cloudflare.com, damien.lemoal@wdc.com, bob.liu@oracle.com, houtao1@huawei.com, peterz@infradead.org, mingo@kernel.org, netdev@vger.kernel.org, allen.lkml@gmail.com, kernel-team@meta.com, Alan Stern , linux-usb@vger.kernel.org Subject: Re: [PATCH 5/8] usb: core: hcd: Convert from tasklet to BH workqueue Message-ID: <2024013008-throbbing-radiated-5644@gregkh> References: <20240130091300.2968534-1-tj@kernel.org> <20240130091300.2968534-6-tj@kernel.org> 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=us-ascii Content-Disposition: inline In-Reply-To: <20240130091300.2968534-6-tj@kernel.org> On Mon, Jan 29, 2024 at 11:11:52PM -1000, Tejun Heo wrote: > The only generic interface to execute asynchronously in the BH context is > tasklet; however, it's marked deprecated and has some design flaws. To > replace tasklets, BH workqueue support was recently added. A BH workqueue > behaves similarly to regular workqueues except that the queued work items > are executed in the BH context. > > This patch converts usb hcd from tasklet to BH workqueue. > > Signed-off-by: Tejun Heo > Cc: Greg Kroah-Hartman > Cc: Alan Stern > Cc: linux-usb@vger.kernel.org > --- > drivers/usb/core/hcd.c | 23 ++++++++++++----------- > include/linux/usb/hcd.h | 2 +- > 2 files changed, 13 insertions(+), 12 deletions(-) Acked-by: Greg Kroah-Hartman