From: Sebastian Reichel <sebastian.reichel@collabora.com>
To: Sebastian Reichel <sre@kernel.org>,
Steffen Dirkwinkel <lists@steffen.cc>
Cc: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org,
Chaitanya Kumar Borah <chaitanya.kumar.borah@intel.com>,
Steffen Dirkwinkel <s.dirkwinkel@beckhoff.com>
Subject: Re: [PATCH] power: supply: hold extensions_sem when creating LED triggers
Date: Sat, 25 Jul 2026 01:35:08 +0200 [thread overview]
Message-ID: <178493610823.699463.8029797889539744312.b4-ty@collabora.com> (raw)
In-Reply-To: <20260724-power-supply-triggers-lockdep-v1-1-9b451b1f1916@beckhoff.com>
On Fri, 24 Jul 2026 09:27:35 +0200, Steffen Dirkwinkel wrote:
> LED triggers were created in __power_supply_register without holding the
> extensions_sem lock. Since commit b04510c3af6d ("power: supply: leds: create
> triggers based on properties, not type") we call power_supply_has_property
> during trigger creation and access the extensions there.
> Move power_supply_create_triggers down into the lock scope used for
> power_supply_add_hwmon_sysfs for the same reason.
>
> [...]
Applied, thanks!
[1/1] power: supply: hold extensions_sem when creating LED triggers
commit: 25453aaffac01909232a20409dff1a9e6d609a11
Best regards,
--
Sebastian Reichel <sebastian.reichel@collabora.com>
prev parent reply other threads:[~2026-07-24 23:35 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-24 7:27 Steffen Dirkwinkel
2026-07-24 10:16 ` Borah, Chaitanya Kumar
2026-07-24 23:35 ` Sebastian Reichel [this message]
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=178493610823.699463.8029797889539744312.b4-ty@collabora.com \
--to=sebastian.reichel@collabora.com \
--cc=chaitanya.kumar.borah@intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=lists@steffen.cc \
--cc=s.dirkwinkel@beckhoff.com \
--cc=sre@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®