Linux kernel -stable discussions
 help / color / mirror / Atom feed
* Re: Patch "power: supply: core: implement extension API" has been added to the 6.12-stable tree
       [not found] <20261021115355.4175993-1-sashal@kernel.org>
@ 2026-10-21 12:37 ` Thomas Weißschuh
  2026-10-23 20:02   ` Sasha Levin
  0 siblings, 1 reply; 4+ messages in thread
From: Thomas Weißschuh @ 2026-10-21 12:37 UTC (permalink / raw)
  To: stable, Sasha Levin, Sebastian Reichel; +Cc: stable-commits

On 2026-10-21 07:53:55-0400, Sasha Levin wrote:
> This is a note to let you know that I've just added the patch titled
> 
>     power: supply: core: implement extension API
> 
> to the 6.12-stable tree which can be found at:
>     http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
> 
> The filename of the patch is:
>      power-supply-core-implement-extension-api.patch
> and it can be found in the queue-6.12 subdirectory.
> 
> If you, or anyone else, feels it should not be added to the stable tree,
> please let <stable@vger.kernel.org> know about it.

This backports a whole feature series to enable a single backport.
I don't see how commit 5b4bd13e0552 ("power: supply: core: prevent
unregistering a power supply while a callback runs") functionally
depends on power supply extensions.

From my PoV the power supply extensions backport patches should be
dropped. Sebastian, what is your opinion?

(...)

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Patch "power: supply: core: implement extension API" has been added to the 6.12-stable tree
  2026-10-21 12:37 ` Thomas Weißschuh
@ 2026-10-23 20:02   ` Sasha Levin
  0 siblings, 0 replies; 4+ messages in thread
From: Sasha Levin @ 2026-10-23 20:02 UTC (permalink / raw)
  To: stable, Sebastian Reichel
  Cc: Sasha Levin, stable-commits, Thomas Weißschuh

> This backports a whole feature series to enable a single backport.
> I don't see how commit 5b4bd13e0552 ("power: supply: core: prevent
> unregistering a power supply while a callback runs") functionally
> depends on power supply extensions.

Agreed. I dropped the extension API backports and the fix that needed them
from the 6.12 queue. On 6.12 the fix would not have reached the crash path
anyway, since __power_supply_changed_work() still calls
external_power_changed() directly and nothing in the tree calls the guarded
wrapper.

-- 
Thanks,
Sasha

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Patch "power: supply: core: implement extension API" has been added to the 6.12-stable tree
       [not found] <20261117173125.2151200-1-sashal@kernel.org>
@ 2026-11-18  9:47 ` Thomas Weißschuh
  2026-11-18 12:39   ` Sasha Levin
  0 siblings, 1 reply; 4+ messages in thread
From: Thomas Weißschuh @ 2026-11-18  9:47 UTC (permalink / raw)
  To: stable, Sasha Levin; +Cc: stable-commits, Sebastian Reichel

On 2026-11-17 12:31:25-0500, Sasha Levin wrote:
> This is a note to let you know that I've just added the patch titled
> 
>     power: supply: core: implement extension API
> 
> to the 6.12-stable tree which can be found at:
>     http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
> 
> The filename of the patch is:
>      power-supply-core-implement-extension-api.patch
> and it can be found in the queue-6.12 subdirectory.
> 
> If you, or anyone else, feels it should not be added to the stable tree,
> please let <stable@vger.kernel.org> know about it.

This feature backport should not be necessary.

See the same discussion at
https://lore.kernel.org/all/5fba6144-ffc8-457f-ba29-6c95f81b0e63@t-8ch.de/


Thomas

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Patch "power: supply: core: implement extension API" has been added to the 6.12-stable tree
  2026-11-18  9:47 ` Patch "power: supply: core: implement extension API" has been added to the 6.12-stable tree Thomas Weißschuh
@ 2026-11-18 12:39   ` Sasha Levin
  0 siblings, 0 replies; 4+ messages in thread
From: Sasha Levin @ 2026-11-18 12:39 UTC (permalink / raw)
  To: Thomas Weißschuh, stable
  Cc: Sasha Levin, stable-commits, Sebastian Reichel

On Wed, Nov 18, 2026 at 09:47:41AM +0000, Thomas Weißschuh wrote:
> This feature backport should not be necessary.

Dropped the extension API backports from the 6.12 queue again, together with
5b4bd13e0552 ("power: supply: core: prevent unregistering a power supply while
a callback runs") and 9f7f7a859451 ("power_supply: serialize property access
with unregister"), which is what pulled them in this time.

9f7f7a859451 is also dropped from the 7.3 and 6.18 queues for now, because with
it mt6370-charger, qcom_smbx and cpcap-battery call power_supply_get_property()
on their own supply from inside a callback and so take epc_sem for read
recursively, which can hang power_supply_unregister(). Mainline has the same
code.

-- 
Thanks,
Sasha

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-11-18 12:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20261117173125.2151200-1-sashal@kernel.org>
2026-11-18  9:47 ` Patch "power: supply: core: implement extension API" has been added to the 6.12-stable tree Thomas Weißschuh
2026-11-18 12:39   ` Sasha Levin
     [not found] <20261021115355.4175993-1-sashal@kernel.org>
2026-10-21 12:37 ` Thomas Weißschuh
2026-10-23 20:02   ` Sasha Levin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox