Re: [OpenWrt-Devel] Watchdog support for AR531x and potential lockup

2014-10-14 Thread Sergey Ryazanov
2014-10-13 19:48 GMT+04:00 Sergey Korolew : > Hello ! > >>> 1. Watchdog timer always decrement until zero, it cant be stopped at all. > SR> Yep, same for AR2315+ SoCs. And if interrupt acknowledged by writing > SR> one to ISR, then the timer starts counting again from 0x and > SR> generates

Re: [OpenWrt-Devel] Watchdog support for AR531x and potential lockup

2014-10-13 Thread Sergey Korolew
Hello ! >> 1. Watchdog timer always decrement until zero, it cant be stopped at all. SR> Yep, same for AR2315+ SoCs. And if interrupt acknowledged by writing SR> one to ISR, then the timer starts counting again from 0x and SR> generates another one interrupt. Not for ar531x, timer does not

Re: [OpenWrt-Devel] Watchdog support for AR531x and potential lockup

2014-10-13 Thread Sergey Ryazanov
Hi Sergey, Interesting coincidence, I just spent the entire Sunday evening to study the watchdog in the AR2315. I prepare patches for upstream merging [1]. And also thinking about AR5312 support. 1. http://www.spinics.net/lists/linux-watchdog/msg05202.html 2014-10-13 11:49 GMT+04:00 Sergey Korol

[OpenWrt-Devel] Watchdog support for AR531x and potential lockup

2014-10-13 Thread Sergey Korolew
Hello ! OpenWrt already support watchdog for some Atheros devices (newer ar2315), but still lack support for older ar531x. This topic already opened here: https://lists.openwrt.org/pipermail/openwrt-devel/2008-April/002039.html but without any response from devs. Hope today someone will answer :)