Skip to content

ARM: OMAP: dmtimer: scheduling while atomic fixes

Omar Ramirez Luna linux-arm-kernel linux-omap 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2ARM: OMAP: dmtimer: fix sleeping function called from invalid contextarch/arm/plat-omap/dmtimer.c+42 -271 reply
1/2ARM: OMAP: dmtimer: fix sleeping function called from invalid context+0 -01 reply
1/2ARM: OMAP: dmtimer: fix sleeping function called from invalid context+0 -00 replies
2/2ARM: OMAP: dmtimer: reorganize omap_dm_timer_request_*arch/arm/plat-omap/dmtimer.c arch/arm/plat-omap/include/plat/dmtimer.h+26 -630 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] ARM: OMAP: dmtimer: scheduling while atomic fixes

Changes in dmtimer framework have introduced scheduling-while-atomic and other lock state BUGs, these are related to the usage of clk_get (internal path holds a mutex_lock) while holding a spin_lock_irqsave.

The other inconsistent lock state BUGs are caused when calling omap_dm_timer_request* on softirq or hardirq, because code handling source parent clocks is still using clk_get, since there is only one user of those APIs that acquires a lock in a softirq context (tidspbridge) for now it can be changed.

Omar Ramirez Luna (2):
ARM: OMAP: dmtimer: fix sleeping function called from invalid context
ARM: OMAP: dmtimer: reorganize omap_dm_timer_request_*

 arch/arm/plat-omap/dmtimer.c              |  104 +++++++++++------------------
 arch/arm/plat-omap/include/plat/dmtimer.h |    6 +-
 2 files changed, 44 insertions(+), 66 deletions(-)
Signature · 1 line
1.7.5.4