RE: [PATCH RFC 1/2] watchdog : omap_wdt : Implement WDIOC_GETBOOTSTATUS for omap3+

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


Hi Shubhrajyoti,

On Tue, Jan 24, 2012 at 11:40:43, Shubhrajyoti Datta wrote:
> Hi Vaibhav,
> 
> On Tue, Jan 24, 2012 at 10:32 AM, Bedia, Vaibhav <vaibhav.bedia@xxxxxx> wrote:
> > On Mon, Jan 23, 2012 at 16:43:07, Datta, Shubhrajyoti wrote:
> >> This patch intends to implement the WDIOC_GETBOOTSTATUS ioctl
> >> for the omap3 and omap4.
> >>
> >
> > Instead of just returning the register content why not parse
> > the RSTST register value and check if it's really a watchdog
> > reset or not?
> 
> That is what is done for 24xx and below cpus. So I thought of extending it.
> 
> 

IMO they also need to be fixed then :)

Just returning the register content does not help much and looking at other
implementations, like Blackfin, I am guessing this IOCTL is supposed to give
a yes/no sort of result.

Regards,
Vaibhav B.
--
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


[Site Home]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Tools]     [DDR & Rambus]     [Asterisk Internet PBX]     [Linux API]     [Monitors]

Add to Google