Re: [PATCH 3/3] watchdog: xilinx: Add WDIOC_SETTIMEOUT ioctl function

2013-05-30 Thread Michal Simek
On 05/31/2013 12:08 AM, Wim Van Sebroeck wrote: > Hi All, > >>> On Thu, May 30, 2013 at 05:12:24PM +0200, Michal Simek wrote: On 05/30/2013 05:03 PM, Guenter Roeck wrote: > On Thu, May 30, 2013 at 04:34:02PM +0200, Michal Simek wrote: >> On 05/30/2013 04:21 PM, Guenter Roeck wrote:

Re: [PATCH 3/3] watchdog: xilinx: Add WDIOC_SETTIMEOUT ioctl function

2013-05-30 Thread Wim Van Sebroeck
Hi All, > > On Thu, May 30, 2013 at 05:12:24PM +0200, Michal Simek wrote: > > > On 05/30/2013 05:03 PM, Guenter Roeck wrote: > > > > On Thu, May 30, 2013 at 04:34:02PM +0200, Michal Simek wrote: > > > >> On 05/30/2013 04:21 PM, Guenter Roeck wrote: > > > >>> On Thu, May 30, 2013 at 04:15:45PM

Re: [PATCH 3/3] watchdog: xilinx: Add WDIOC_SETTIMEOUT ioctl function

2013-05-30 Thread Guenter Roeck
On Thu, May 30, 2013 at 05:12:24PM +0200, Michal Simek wrote: > On 05/30/2013 05:03 PM, Guenter Roeck wrote: > > On Thu, May 30, 2013 at 04:34:02PM +0200, Michal Simek wrote: > >> On 05/30/2013 04:21 PM, Guenter Roeck wrote: > >>> On Thu, May 30, 2013 at 04:15:45PM +0200, Michal Simek wrote: >

Re: [PATCH 3/3] watchdog: xilinx: Add WDIOC_SETTIMEOUT ioctl function

2013-05-30 Thread Michal Simek
On 05/30/2013 05:03 PM, Guenter Roeck wrote: > On Thu, May 30, 2013 at 04:34:02PM +0200, Michal Simek wrote: >> On 05/30/2013 04:21 PM, Guenter Roeck wrote: >>> On Thu, May 30, 2013 at 04:15:45PM +0200, Michal Simek wrote: On 05/30/2013 04:07 PM, Guenter Roeck wrote: > On Thu, May 30,

Re: [PATCH 3/3] watchdog: xilinx: Add WDIOC_SETTIMEOUT ioctl function

2013-05-30 Thread Guenter Roeck
On Thu, May 30, 2013 at 04:34:02PM +0200, Michal Simek wrote: > On 05/30/2013 04:21 PM, Guenter Roeck wrote: > > On Thu, May 30, 2013 at 04:15:45PM +0200, Michal Simek wrote: > >> On 05/30/2013 04:07 PM, Guenter Roeck wrote: > >>> On Thu, May 30, 2013 at 02:26:04PM +0200, Michal Simek wrote: >

Re: [PATCH 3/3] watchdog: xilinx: Add WDIOC_SETTIMEOUT ioctl function

2013-05-30 Thread Michal Simek
On 05/30/2013 04:21 PM, Guenter Roeck wrote: > On Thu, May 30, 2013 at 04:15:45PM +0200, Michal Simek wrote: >> On 05/30/2013 04:07 PM, Guenter Roeck wrote: >>> On Thu, May 30, 2013 at 02:26:04PM +0200, Michal Simek wrote: Standard watchdog programs try to setup timeout via ioctl and

Re: [PATCH 3/3] watchdog: xilinx: Add WDIOC_SETTIMEOUT ioctl function

2013-05-30 Thread Guenter Roeck
On Thu, May 30, 2013 at 04:15:45PM +0200, Michal Simek wrote: > On 05/30/2013 04:07 PM, Guenter Roeck wrote: > > On Thu, May 30, 2013 at 02:26:04PM +0200, Michal Simek wrote: > >> Standard watchdog programs try to setup timeout > >> via ioctl and this functionality should be implemented. > >>

Re: [PATCH 3/3] watchdog: xilinx: Add WDIOC_SETTIMEOUT ioctl function

2013-05-30 Thread Michal Simek
On 05/30/2013 04:07 PM, Guenter Roeck wrote: > On Thu, May 30, 2013 at 02:26:04PM +0200, Michal Simek wrote: >> Standard watchdog programs try to setup timeout >> via ioctl and this functionality should be implemented. >> Timeout value is hardcoded in the hardware but >> based on

Re: [PATCH 3/3] watchdog: xilinx: Add WDIOC_SETTIMEOUT ioctl function

2013-05-30 Thread Guenter Roeck
On Thu, May 30, 2013 at 02:26:04PM +0200, Michal Simek wrote: > Standard watchdog programs try to setup timeout > via ioctl and this functionality should be implemented. > Timeout value is hardcoded in the hardware but > based on Documentation/watchdog/watchdog-api.txt > can return the real

[PATCH 3/3] watchdog: xilinx: Add WDIOC_SETTIMEOUT ioctl function

2013-05-30 Thread Michal Simek
Standard watchdog programs try to setup timeout via ioctl and this functionality should be implemented. Timeout value is hardcoded in the hardware but based on Documentation/watchdog/watchdog-api.txt can return the real timeout used in the same variable. Signed-off-by: Michal Simek ---

[PATCH 3/3] watchdog: xilinx: Add WDIOC_SETTIMEOUT ioctl function

2013-05-30 Thread Michal Simek
Standard watchdog programs try to setup timeout via ioctl and this functionality should be implemented. Timeout value is hardcoded in the hardware but based on Documentation/watchdog/watchdog-api.txt can return the real timeout used in the same variable. Signed-off-by: Michal Simek

Re: [PATCH 3/3] watchdog: xilinx: Add WDIOC_SETTIMEOUT ioctl function

2013-05-30 Thread Guenter Roeck
On Thu, May 30, 2013 at 02:26:04PM +0200, Michal Simek wrote: Standard watchdog programs try to setup timeout via ioctl and this functionality should be implemented. Timeout value is hardcoded in the hardware but based on Documentation/watchdog/watchdog-api.txt can return the real timeout

Re: [PATCH 3/3] watchdog: xilinx: Add WDIOC_SETTIMEOUT ioctl function

2013-05-30 Thread Michal Simek
On 05/30/2013 04:07 PM, Guenter Roeck wrote: On Thu, May 30, 2013 at 02:26:04PM +0200, Michal Simek wrote: Standard watchdog programs try to setup timeout via ioctl and this functionality should be implemented. Timeout value is hardcoded in the hardware but based on

Re: [PATCH 3/3] watchdog: xilinx: Add WDIOC_SETTIMEOUT ioctl function

2013-05-30 Thread Guenter Roeck
On Thu, May 30, 2013 at 04:15:45PM +0200, Michal Simek wrote: On 05/30/2013 04:07 PM, Guenter Roeck wrote: On Thu, May 30, 2013 at 02:26:04PM +0200, Michal Simek wrote: Standard watchdog programs try to setup timeout via ioctl and this functionality should be implemented. Timeout value is

Re: [PATCH 3/3] watchdog: xilinx: Add WDIOC_SETTIMEOUT ioctl function

2013-05-30 Thread Michal Simek
On 05/30/2013 04:21 PM, Guenter Roeck wrote: On Thu, May 30, 2013 at 04:15:45PM +0200, Michal Simek wrote: On 05/30/2013 04:07 PM, Guenter Roeck wrote: On Thu, May 30, 2013 at 02:26:04PM +0200, Michal Simek wrote: Standard watchdog programs try to setup timeout via ioctl and this

Re: [PATCH 3/3] watchdog: xilinx: Add WDIOC_SETTIMEOUT ioctl function

2013-05-30 Thread Guenter Roeck
On Thu, May 30, 2013 at 04:34:02PM +0200, Michal Simek wrote: On 05/30/2013 04:21 PM, Guenter Roeck wrote: On Thu, May 30, 2013 at 04:15:45PM +0200, Michal Simek wrote: On 05/30/2013 04:07 PM, Guenter Roeck wrote: On Thu, May 30, 2013 at 02:26:04PM +0200, Michal Simek wrote: Standard

Re: [PATCH 3/3] watchdog: xilinx: Add WDIOC_SETTIMEOUT ioctl function

2013-05-30 Thread Michal Simek
On 05/30/2013 05:03 PM, Guenter Roeck wrote: On Thu, May 30, 2013 at 04:34:02PM +0200, Michal Simek wrote: On 05/30/2013 04:21 PM, Guenter Roeck wrote: On Thu, May 30, 2013 at 04:15:45PM +0200, Michal Simek wrote: On 05/30/2013 04:07 PM, Guenter Roeck wrote: On Thu, May 30, 2013 at 02:26:04PM

Re: [PATCH 3/3] watchdog: xilinx: Add WDIOC_SETTIMEOUT ioctl function

2013-05-30 Thread Guenter Roeck
On Thu, May 30, 2013 at 05:12:24PM +0200, Michal Simek wrote: On 05/30/2013 05:03 PM, Guenter Roeck wrote: On Thu, May 30, 2013 at 04:34:02PM +0200, Michal Simek wrote: On 05/30/2013 04:21 PM, Guenter Roeck wrote: On Thu, May 30, 2013 at 04:15:45PM +0200, Michal Simek wrote: On 05/30/2013

Re: [PATCH 3/3] watchdog: xilinx: Add WDIOC_SETTIMEOUT ioctl function

2013-05-30 Thread Wim Van Sebroeck
Hi All, On Thu, May 30, 2013 at 05:12:24PM +0200, Michal Simek wrote: On 05/30/2013 05:03 PM, Guenter Roeck wrote: On Thu, May 30, 2013 at 04:34:02PM +0200, Michal Simek wrote: On 05/30/2013 04:21 PM, Guenter Roeck wrote: On Thu, May 30, 2013 at 04:15:45PM +0200, Michal Simek

Re: [PATCH 3/3] watchdog: xilinx: Add WDIOC_SETTIMEOUT ioctl function

2013-05-30 Thread Michal Simek
On 05/31/2013 12:08 AM, Wim Van Sebroeck wrote: Hi All, On Thu, May 30, 2013 at 05:12:24PM +0200, Michal Simek wrote: On 05/30/2013 05:03 PM, Guenter Roeck wrote: On Thu, May 30, 2013 at 04:34:02PM +0200, Michal Simek wrote: On 05/30/2013 04:21 PM, Guenter Roeck wrote: On Thu, May 30, 2013