From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: getfeus@gmail.com
Cc: Pengyu Luo <mitltlatltl@gmail.com>,
Heikki Krogerus <heikki.krogerus@linux.intel.com>,
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
Date: Thu, 3 Dec 2026 20:08:59 +0100 [thread overview]
Message-ID: <2026120349-animation-eatable-adb1@gregkh> (raw)
In-Reply-To: <CA+m4KrCZuQg5s==m8C5HPOJcT9ZzB0LhnEkbWBgP2+1NeunXSw@mail.gmail.com>
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 <getfeus@gmail.com>
Does not match the "From:" line :(
next prev parent reply other threads:[~2026-12-04 3:25 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-30 13:41 [PATCH v2 0/2] usb: typec: ucsi: gaokun: Validate and defer port updates getfeus
2026-11-30 13:42 ` [PATCH v2 1/2] usb: typec: ucsi: gaokun: Distinguish empty updates from EC errors getfeus
2026-12-01 9:25 ` Pengyu Luo
2026-11-30 13:42 ` [PATCH v2 2/2] usb: typec: ucsi: gaokun: Defer missing USB events per connector getfeus
2026-12-03 19:08 ` Greg Kroah-Hartman [this message]
2026-12-04 3:52 ` Lee Youngjoon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2026120349-animation-eatable-adb1@gregkh \
--to=gregkh@linuxfoundation.org \
--cc=getfeus@gmail.com \
--cc=heikki.krogerus@linux.intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=mitltlatltl@gmail.com \
--cc=stable@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox