RFC Runtime PM fixes for omap-ssi
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest19 patches 6 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/19 | HSI: omap_ssi_port: remove useless newlinedrivers/ | +2 | 0 replies | |
| 2/19 | HSI: omap_ssi: do not reset moduledrivers/ drivers/ | +1 | 1 reply | |
| 3/19 | HSI: ssi_protocol: avoid ssi_waketest call with held spinlockdrivers/ | +25 | 0 replies | |
| 4/19 | HSI: ssi_protocol: replace spin_lock with spin_lock_bhdrivers/ | +32 | 0 replies | |
| 5/19 | HSI: ssi_protocol: fix ssip_xmit invocationdrivers/ | +12 | 0 replies | |
| 6/19 | HSI: omap_ssi: convert cawake irq handler to threaddrivers/ drivers/ drivers/ | +8 | 0 replies | |
| 7/19 | HSI: omap_ssi_port: replace wkin_cken with atomic bitmap operationsdrivers/ drivers/ | +7 | 0 replies | |
| 8/19 | HSI: core: switch port event notifier from atomic to blockingdrivers/ include/ | +5 | 0 replies | |
| 9/19 | HSI: omap_ssi_port: prepare start_tx/stop_tx for blocking pm_runtime callsdrivers/ drivers/ | +20 | 0 replies | |
| 10/19 | HSI: omap_ssi_core: use pm_runtime_put instead of pm_runtime_put_syncdrivers/ | +5 | 0 replies | |
| 11/19 | HSI: omap_ssi_core: remove pm_runtime_get_sync call from taskletdrivers/ | +7 | 0 replies | |
| 12/19 | HSI: omap_ssi_port: switch to threaded pio irqdrivers/ drivers/ | +24 | 0 replies | |
| 13/19 | HSI: omap_ssi_port: avoid pm_runtime_get_sync in ssi_start_dma and ssi_start_piodrivers/ | +24 | 0 replies | |
| 14/19 | HSI: omap_ssi_port: avoid calling runtime_pm_*_sync inside spinlockdrivers/ | +4 | 0 replies | |
| 15/19 | HSI: omap_ssi_port: replace pm_runtime_put_sync with non-sync variantdrivers/ | +9 | 0 replies | |
| 16/19 | HSI: omap_ssi_port: ensure clocks are kept enabled during transferdrivers/ | +2 | 0 replies | |
| 17/19 | HSI: omap_ssi: call msg->complete() from process contextdrivers/ drivers/ drivers/ | +25 | 0 replies | |
| 18/19 | HSI: omap_ssi_port: use rpm autosuspend APIdrivers/ | +44 | 0 replies | |
| 19/19 | HSI: omap_ssi: drop pm_runtime_irq_safedrivers/ drivers/ | +0 | 1 reply |
Reviews trailers per patch
2 of 19 patches have a Reviewed-by or Acked-by.
| Patch | Pavel Machek | Tony Lindgren |
|---|---|---|
| Series | T-b | |
| 1/19 | ||
| 2/19 | A-b | |
| 3/19 | ||
| 4/19 | ||
| 5/19 | ||
| 6/19 | ||
| 7/19 | ||
| 8/19 | ||
| 9/19 | ||
| 10/19 | ||
| 11/19 | ||
| 12/19 | ||
| 13/19 | ||
| 14/19 | ||
| 15/19 | ||
| 16/19 | ||
| 17/19 | ||
| 18/19 | ||
| 19/19 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [RFC 00/19] Runtime PM fixes for omap-ssi
Hi,
This series fixes runtime PM for omap-ssi, so that the OMAP SoC can idle correctly. After applying the series, the SSI module correctly goes into idle if phonet0 interface is not configured or if it's used by ofono (*). Apart from me Pavel Machek did some testing of my devel branch [0] and reported, that he was able to get the phone into full idle.
Note: I did my testing with kernel flashing over USB, so idle is broken. But I found the bit in cm_idlest1_core, that stands for SSI blocking status: 0x00800000 (documented as "reserved" in the public TRM).
(*) "ifconfig phonet0 up" will result in blocking ssi module
until modem setup has finished (data communication via
phonet0 device), since it enables ssi wakelines.
[0] https://git.kernel.org/cgit/linux/kernel/git/sre/linux-hsi.git/log/?h=runtime-pm-fixes
-- Sebastian
Sebastian Reichel (19):
HSI: omap_ssi_port: remove useless newline
HSI: omap_ssi: do not reset module
HSI: ssi_protocol: avoid ssi_waketest call with held spinlock
HSI: ssi_protocol: replace spin_lock with spin_lock_bh
HSI: ssi_protocol: fix ssip_xmit invocation
HSI: omap_ssi: convert cawake irq handler to thread
HSI: omap_ssi_port: replace wkin_cken with atomic bitmap operations
HSI: core: switch port event notifier from atomic to blocking
HSI: omap_ssi_port: prepare start_tx/stop_tx for blocking pm_runtime
calls
HSI: omap_ssi_core: use pm_runtime_put instead of pm_runtime_put_sync
HSI: omap_ssi_core: remove pm_runtime_get_sync call from tasklet
HSI: omap_ssi_port: switch to threaded pio irq
HSI: omap_ssi_port: avoid pm_runtime_get_sync in ssi_start_dma and
ssi_start_pio
HSI: omap_ssi_port: avoid calling runtime_pm_*_sync inside spinlock
HSI: omap_ssi_port: replace pm_runtime_put_sync with non-sync variant
HSI: omap_ssi_port: ensure clocks are kept enabled during transfer
HSI: omap_ssi: call msg->complete() from process context
HSI: omap_ssi_port: use rpm autosuspend API
HSI: omap_ssi: drop pm_runtime_irq_safe
drivers/hsi/clients/ssi_protocol.c | 110 +++++++++------- drivers/hsi/controllers/omap_ssi.h | 18 +-- drivers/hsi/controllers/omap_ssi_core.c | 46 +++---- drivers/hsi/controllers/omap_ssi_port.c | 226 ++++++++++++++++++-------------- drivers/hsi/hsi_core.c | 8 +- include/linux/hsi/hsi.h | 2 +- 6 files changed, 229 insertions(+), 181 deletions(-)
Signature · 1 line
2.8.1