Thread (34 messages) read the whole thread 34 messages, 6 authors, 2015-06-01

Re: [PATCH v3 5/6] Watchdog: introduce ARM SBSA watchdog driver

From: Guenter Roeck <linux@roeck-us.net>
Date: 2015-05-29 14:54:34
Also in: linux-watchdog, lkml

On 05/29/2015 02:11 AM, Fu Wei wrote:
[ ... ]
quoted
quoted
+
+       status = sbsa_gwdt_cf_read(SBSA_GWDT_WCS, wdd);
+       if (status & SBSA_GWDT_WCS_WS1) {
+               dev_warn(dev, "System reset by WDT(WCS: %x, WCV: %llx)\n",
+                        status, sbsa_gwdt_get_wcv(wdd));

Does this message (specifically the WCS / WCV values) have any
useful meaning for the user ?
I think so, according to SBSA spec:
If WS0 is asserted and a timeout refresh occurs then the following must occur:
     If the system is compliant to SBSA level 2 or higher the compare
value must retain its current value. This means that the compare value
records the time that WS1 is asserted.

So, I think WCV can log the time when system reset by WDT, that may
help user figure out the problem. but WCS can be delete I think.
How would that help ? It is just a number with no reference to anything.

Thanks,
Guenter
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help