Hello Harald, On Thu, Nov 26, 2015 at 02:39:45PM +0100, Harald Geyer wrote: > Uwe Kleine-König writes: > > On Wed, Oct 07, 2015 at 12:19:12PM +0000, Harald Geyer wrote: > > > This device doesn't provide any information about boot status. > > > As workaround we use a persitent bit to track watchdog activity. > > > > Hmm, so you set a bit in a persistent register iff the watchdog is > > running. And if that bit is set during probe you assume the watchdog > > reset the machine. But this also happens, when the user presses the > > reset button which makes the detection unreliable. > > Yes, kind of. I'm using this driver on an imx233-olinuxino, where the > reset button causes the device to power cycle and thus clears the > persitent bit. So I can't test your case, but surely there are some paths So the rtc isn't properly battery backed? AFAIUI the persistent bits should survive a power cycle?! I think somewhere in our hardware repository at Pengutronix we have a machine where I can test that, I will check that. > into reset, that don't clear the bit and cause false positives. Best regards Uwe -- Pengutronix e.K. | Uwe Kleine-König | Industrial Linux Solutions | http://www.pengutronix.de/ | -- To unsubscribe from this list: send the line "unsubscribe linux-watchdog" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html