From: Rong Zhang <i@rong.moe>
To: "Hongyan Xu" <getshell@seu.edu.cn>,
"Ilpo Järvinen" <ilpo.jarvinen@linux.intel.com>,
"Hans de Goede" <hansg@kernel.org>
Cc: MyungJoo Ham <myungjoo.ham@samsung.com>,
Chanwoo Choi <cw00.choi@samsung.com>,
"Derek J.Clark" <derekjohn.clark@gmail.com>,
Mark Pearson <mpearson-lenovo@squebb.ca>,
platform-driver-x86@vger.kernel.org,
linux-kernel@vger.kernel.org, stable@vger.kernel.org
Subject: Re: [PATCH v2 0/2] extcon: synchronize all-connector removal and fix Lenovo fastcharger teardown
Date: Mon, 16 Nov 2026 20:58:25 +0800 [thread overview]
Message-ID: <9678d609d13700b186e647ee31b2c9b9788f7206.camel@rong.moe> (raw)
In-Reply-To: <179474326098.103840.15531040789536968458@seu.edu.cn>
Hi Hongyan,
On Sun, 2026-11-15 at 19:47 +0800, Hongyan Xu wrote:
> The Lenovo Yoga Tab 2 fastcharger driver releases managed serdev,
> pinctrl and GPIO resources while its extcon callback can still publish
> work. Ordering the devres actions alone is not enough because the
> all-connector raw notifier does not wait for an in-flight callback.
>
> Patch 1 converts only the all-connector notifier chain to an atomic
> chain so unregister waits for callbacks and is safe from interrupt
> context. The per-ID chains stay raw because some current callbacks
> perform sleeping regulator operations. Patch 2 then installs the
> managed work cancellation before the notifier, so reverse devres order
> stops the producer before releasing the resources it uses.
>
Where's the link to v1?
>
> Hongyan Xu (2):
> extcon: synchronize all-connector notifier removal
> platform/x86: lenovo: cancel fastcharger work on detach
>
> Documentation/driver-api/extcon.rst | 2 +-
> drivers/extcon/extcon.c | 28 ++++++-------------
> drivers/extcon/extcon.h | 2 +-
> .../lenovo/yoga-tab2-pro-1380-fastcharger.c | 6 +++-
> include/linux/extcon.h | 4 +++
> 5 files changed, 20 insertions(+), 22 deletions(-)
>
> --
> 2.50.1.windows.1
Using Windows to submit this is quite weird.
You submitted a lot of patches to different subsystems at the same
minute. Did you send the email yourself, or asked an LLM agent to flood
LKML for you? Did you (or your LLM agent) test it?
Could you at least figure out how to send patches in UTF-8 correctly
before deciding to use git-send-email on Windows? By using Windows, your
configuration couldn't even encode Ilpo's last name correctly (I've fixed
it in my reply) :-/
>
> Discovery: found by the author's in-house static analysis tool.
Wasn't this just LLM generated?
Confused,
Rong
next prev parent reply other threads:[~2026-11-16 13:03 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-15 11:47 Hongyan Xu
2026-11-15 11:47 ` [PATCH v2 1/2] extcon: synchronize all-connector notifier removal Hongyan Xu
2026-11-16 11:28 ` Ilpo Järvinen
2026-11-15 11:47 ` [PATCH v2 2/2] platform/x86: lenovo: cancel fastcharger work on detach Hongyan Xu
2026-11-16 12:59 ` Rong Zhang
2026-11-16 13:29 ` Ilpo Järvinen
2026-11-16 12:58 ` Rong Zhang [this message]
2026-11-16 14:30 ` [PATCH v2 0/2] extcon: synchronize all-connector removal and fix Lenovo fastcharger teardown Hongyan Xu
2026-11-16 16:58 ` Rong Zhang
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=9678d609d13700b186e647ee31b2c9b9788f7206.camel@rong.moe \
--to=i@rong.moe \
--cc=cw00.choi@samsung.com \
--cc=derekjohn.clark@gmail.com \
--cc=getshell@seu.edu.cn \
--cc=hansg@kernel.org \
--cc=ilpo.jarvinen@linux.intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mpearson-lenovo@squebb.ca \
--cc=myungjoo.ham@samsung.com \
--cc=platform-driver-x86@vger.kernel.org \
--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
all inboxes | Powered by JetHome®