From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796354723; b=C3WVnvaE/c8ng9A/l+CFuPkAl5HvkjBwvT3T5dpZskhEK9fxlRA2FfFT7VlX2ru4aXyE qOqI3RyYzCUqSKMQ4myW4CzduNJz4WMA/U9/8Lag+s4ZRClOpBvr9TPnPTn3lE21HTZCU f4Qh662zyrDBhItAvuyditizF512FSvZ3/p3jNdeKtgOfYPjEkYIQttu/J2yWleeaQdro Hta0iuy/qiNgvZoDtH/JLDHbcN+0zshmyFLXvQanmxomVC6HBpT500QrXDY8uzGdlmAnd fBrPSwOGm1UeXeqHCfmRZmdx8aoxryCRtsAvtLABlwn6ltmR4UlXAwcBDnffdqdaKOA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796354723; h=Received:DKIM-Signature:Date:From:To:Cc:Subject:Message-ID: References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To; bh=LRNKyl35jYJypGJYZu/Gz7jx9h+qFxJQIya1eWZDjEA=; b=Ltihz84YQq7MYbwUMkWvECHztXEy5ZdEQ4/cUPoiXPMxJckbZzs1W4m9PZmoaMdd39oX Ov+nYkLoqGHoQyEc0cD/ORSI0aTNZIW5N7ytIoP8s8WY6Qnd5kMffYvkix1t45c2jVyjU 1NsXYLe9u1ECR4cK74+cHfF5QRuGHmVjGoFFzB5M2jWXUyYXTZaCwBdPG3+QMiVlYIPkn 1XrqRn+4lK3Fa7I6LISoUS7hYztbsUH/79XI9lm1XJ1LuXZ/QWHFo5ePYs0UpWG6XqZnf AxXAuWCg1w9kgJSFmP3CuSwRz23p2ikL4BZ8AfxQP1uR036ncHFAxbCzBG9xNg+nB5A== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=eBDiJnAp; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F0968606A322; Fri, 4 Dec 2026 03:25:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=eBDiJnAp Received: by smtp.kernel.org (Postfix) with ESMTPSA id 42AAE1F000C2; Fri, 4 Dec 2026 03:25:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1796354722; bh=LRNKyl35jYJypGJYZu/Gz7jx9h+qFxJQIya1eWZDjEA=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=eBDiJnApmTewt+UO9L7tpmbiILCU7BD1PA5AemPI4tkF87A9UK+N4Ry1ZErcSzxnB +J4c/xy7M/x27OGQeiC1ss3ha3kBExmRKZ4OvsXKgwnfgROmuNETAx+kkJy9Aurwwg 9tWJpgXXCRyDrBf+ghFKcQET5qPbezMr5tL9pjJM= Date: Thu, 3 Dec 2026 20:08:59 +0100 From: Greg Kroah-Hartman To: getfeus@gmail.com Cc: Pengyu Luo , Heikki Krogerus , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org Subject: Re: [PATCH v2 2/2] usb: typec: ucsi: gaokun: Defer missing USB events per connector Message-ID: <2026120349-animation-eatable-adb1@gregkh> References: X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Mon, Nov 30, 2026 at 05:42:48AM -0800, getfeus@gmail.com wrote: > The EC IRQ thread dispatches both connector and USB events through a > blocking notifier. Waiting in the connector callback holds up the IRQ > thread that would deliver the USB event. The first USB event also > completes every port's wait, and those completions are never rearmed. > > Schedule the existing two-second fallback on a freezable workqueue and > return from the notifier. Track each connector independently. A USB > update cancels only the matching fallback. A newer connector change > moves its deadline even if the older worker is already running. > > Serialize mode updates and acknowledgments from the two paths. Stop > notifications and drain per-port work before unregistering UCSI. > > Fixes: 00327d7f2c8c ("usb: typec: ucsi: add Huawei Matebook E Go ucsi driver") > Cc: stable@vger.kernel.org > Signed-off-by: Lee Youngjoon Does not match the "From:" line :(