All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/4] ARM: at91: Properly handle slow clock
@ 2015-08-11  9:38 ` Alexandre Belloni
  0 siblings, 0 replies; 20+ messages in thread
From: Alexandre Belloni @ 2015-08-11  9:38 UTC (permalink / raw)
  To: Nicolas Ferre
  Cc: Boris Brezillon, linux-watchdog, linux-pwm, Daniel Lezcano,
	linux-kernel, Wim Van Sebroeck, Thierry Reding, Alexandre Belloni,
	Thomas Gleixner, linux-arm-kernel

Hi,

It was discovered that all the slow clock user were not properly claiming it.
This can end up in a system hang because the last registered user is releasing
it, and it gets disabled.

commit dca1a4b5ff6e ("clk: at91: keep slow clk enabled to prevent system hang")
was a workaround. This series is adding the slow clock to the necessary drivers
to avoid the issue and then removes that workaround.

Changes in v3:
 - dropped patches that were already taken or submitted separately
 - sclk is not a global anymore in timer-atmel-st.c
 - added Greg's ack

Cc: Daniel Lezcano <daniel.lezcano@linaro.org>
Cc: linux-pwm@vger.kernel.org
Cc: linux-watchdog@vger.kernel.org
Cc: Thierry Reding <thierry.reding@gmail.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Wim Van Sebroeck <wim@iguana.be>

Alexandre Belloni (2):
  watchdog: at91sam9: get and use slow clock
  clocksource: atmel-st: get and use slow clock

Boris Brezillon (2):
  clocksource: tcb_clksrc: fix setup_clkevents error path
  misc: atmel_tclib: get and use slow clock

 drivers/clocksource/tcb_clksrc.c     | 10 +++++++++-
 drivers/clocksource/timer-atmel-st.c | 31 ++++++++++++++++++++++---------
 drivers/misc/atmel_tclib.c           |  4 ++++
 drivers/pwm/pwm-atmel-tcb.c          | 23 ++++++++++++++++-------
 drivers/watchdog/at91sam9_wdt.c      | 22 ++++++++++++++++++++--
 include/linux/atmel_tc.h             |  1 +
 6 files changed, 72 insertions(+), 19 deletions(-)

-- 
2.1.4

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

end of thread, other threads:[~2015-08-11 15:27 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-11  9:38 [PATCH v3 0/4] ARM: at91: Properly handle slow clock Alexandre Belloni
2015-08-11  9:38 ` Alexandre Belloni
2015-08-11  9:38 ` Alexandre Belloni
2015-08-11  9:38 ` [PATCH v3 1/4] watchdog: at91sam9: get and use " Alexandre Belloni
2015-08-11  9:38   ` Alexandre Belloni
2015-08-11  9:38 ` [PATCH v3 2/4] clocksource: atmel-st: " Alexandre Belloni
2015-08-11  9:38   ` Alexandre Belloni
2015-08-11 13:27   ` Daniel Lezcano
2015-08-11 13:27     ` Daniel Lezcano
2015-08-11  9:38 ` [PATCH v3 3/4] clocksource: tcb_clksrc: fix setup_clkevents error path Alexandre Belloni
2015-08-11  9:38   ` Alexandre Belloni
2015-08-11 13:27   ` Daniel Lezcano
2015-08-11 13:27     ` Daniel Lezcano
2015-08-11  9:38 ` [PATCH v3 4/4] misc: atmel_tclib: get and use slow clock Alexandre Belloni
2015-08-11  9:38   ` Alexandre Belloni
2015-08-11  9:38   ` Alexandre Belloni
2015-08-11 13:40   ` Daniel Lezcano
2015-08-11 13:40     ` Daniel Lezcano
2015-08-11 15:27     ` Alexandre Belloni
2015-08-11 15:27       ` Alexandre Belloni

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.