Skip to content

regulator: freeze delayed hardware access during suspend

Jiale Yao lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2regulator: core: freeze deferred disable work during suspenddrivers/regulator/core.c+2 -13 replies
2/2regulator: irq: freeze deferred hardware access during suspenddrivers/regulator/irq_helpers.c+22 -162 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchMatti Vaittinen
1/2
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] regulator: freeze delayed hardware access during suspend

Deferred regulator disable and IRQ recovery callbacks can perform hardware access after a caller-provided delay. Their current workqueues remain active while devices are being suspended, allowing the callbacks to reach a regulator after its backing bus has been suspended.

Move deferred disable to the freezable power-efficient workqueue. Move IRQ helper callbacks to a freezable workqueue as well, while retaining the high-priority property for users that request it. Each patch is independent and can be applied separately.

Jiale Yao (2):
regulator: core: freeze deferred disable work during suspend
regulator: irq: freeze deferred hardware access during suspend

 drivers/regulator/core.c        |  3 ++-
 drivers/regulator/irq_helpers.c | 38 +++++++++++++++++++--------------
 2 files changed, 24 insertions(+), 17 deletions(-)
Signature · 1 line
2.34.1