All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] AT91: DT: Watchdog, remove property idle halt by default
@ 2015-01-17 21:49 ` Sylvain Rochet
  0 siblings, 0 replies; 12+ messages in thread
From: Sylvain Rochet @ 2015-01-17 21:49 UTC (permalink / raw)
  To: Andrew Victor, Nicolas Ferre, Jean-Christophe Plagniol-Villard,
	boris.brezillon, voice.shen, alexandre.belloni, devicetree,
	linux-arm-kernel
  Cc: Sylvain Rochet

The behavior changed when watchdog properties were added to DT, it makes
the watchdog not counting when CPU is in idle state, therefore the
watchdog reset time depend on mean CPU usage and will not reset at all
if the CPU stop working while it is in idle state, which is a very weird
behavior.

Apply principle of least surprise on at91sam9260-wdt by removing idle
halt flag by default.

Signed-off-by: Sylvain Rochet <sylvain.rochet@finsecur.com>
---
 arch/arm/boot/dts/at91sam9x5.dtsi | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/arm/boot/dts/at91sam9x5.dtsi b/arch/arm/boot/dts/at91sam9x5.dtsi
index bbb3ba6..ce61f91 100644
--- a/arch/arm/boot/dts/at91sam9x5.dtsi
+++ b/arch/arm/boot/dts/at91sam9x5.dtsi
@@ -1125,7 +1125,6 @@
 				atmel,watchdog-type = "hardware";
 				atmel,reset-type = "all";
 				atmel,dbg-halt;
-				atmel,idle-halt;
 				status = "disabled";
 			};
 
-- 
2.1.4

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

end of thread, other threads:[~2015-01-22 18:14 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-17 21:49 [PATCH] AT91: DT: Watchdog, remove property idle halt by default Sylvain Rochet
2015-01-17 21:49 ` Sylvain Rochet
     [not found] ` <1421531396-20188-1-git-send-email-sylvain.rochet-ETtyaVkrhkNWk0Htik3J/w@public.gmane.org>
2015-01-18  8:08   ` Boris Brezillon
2015-01-18  8:08     ` Boris Brezillon
2015-01-18 13:26     ` [PATCHv2 0/2] dts: AT91 " Sylvain Rochet
2015-01-18 13:26       ` Sylvain Rochet
     [not found]       ` <1421587611-32708-1-git-send-email-sylvain.rochet-ETtyaVkrhkNWk0Htik3J/w@public.gmane.org>
2015-01-18 13:26         ` [PATCHv2 1/2] dts: Documentation: AT91 Watchdog, explain what atmel,idle-halt property really do Sylvain Rochet
2015-01-18 13:26           ` [PATCHv2 1/2] dts: Documentation: AT91 Watchdog, explain what atmel, idle-halt " Sylvain Rochet
     [not found]           ` <1421587611-32708-2-git-send-email-sylvain.rochet-ETtyaVkrhkNWk0Htik3J/w@public.gmane.org>
2015-01-22 18:14             ` [PATCHv2 1/2] dts: Documentation: AT91 Watchdog, explain what atmel,idle-halt " Boris Brezillon
2015-01-22 18:14               ` Boris Brezillon
2015-01-18 13:26         ` [PATCHv2 2/2] dts: AT91 Watchdog, remove property idle halt by default Sylvain Rochet
2015-01-18 13:26           ` Sylvain Rochet

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.