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