All of lore.kernel.org
 help / color / mirror / Atom feed
* Implement status function in watchdog core
@ 2016-07-17 19:59 Wim Van Sebroeck
  2016-07-17 20:11 ` Guenter Roeck
  0 siblings, 1 reply; 3+ messages in thread
From: Wim Van Sebroeck @ 2016-07-17 19:59 UTC (permalink / raw)
  To: Guenter Roeck; +Cc: linux-watchdog

Hi Guenter,

I didn't find the following patches that are in your tree in my e-mail:
watchdog: Improve description of min_hw_heartbeat_ms
watchdog: Implement status function in watchdog core
watchdog: sbsa: Drop status function
watchdog: tangox: Mark running watchdog correctly
watchdog: Eliminate status callback

I added "watchdog: Improve description of min_hw_heartbeat_ms" and "watchdog: tangox: Mark running watchdog correctly" to the linux-watchdog-next tree.

I didn't add the status function implementation. The reason is because there are cards that have means to read certain info life (like pcwd cards and the wdt cards). The implementation doesn't foresee this functionality and thus should be corrected first. (for these cards you want to call the status functions of these cards).

Kind regards,
Wim.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Implement status function in watchdog core
  2016-07-17 19:59 Implement status function in watchdog core Wim Van Sebroeck
@ 2016-07-17 20:11 ` Guenter Roeck
  2016-07-17 20:14   ` Wim Van Sebroeck
  0 siblings, 1 reply; 3+ messages in thread
From: Guenter Roeck @ 2016-07-17 20:11 UTC (permalink / raw)
  To: Wim Van Sebroeck; +Cc: linux-watchdog

Hi Wim,

On 07/17/2016 12:59 PM, Wim Van Sebroeck wrote:
> Hi Guenter,
>
> I didn't find the following patches that are in your tree in my e-mail:
> watchdog: Improve description of min_hw_heartbeat_ms
> watchdog: Implement status function in watchdog core
> watchdog: sbsa: Drop status function
> watchdog: tangox: Mark running watchdog correctly
> watchdog: Eliminate status callback
>

Interesting. I checked my logs ... looks like I never sent those to the list. Oops :-(. Sorry for that; I thought I did.

> I added "watchdog: Improve description of min_hw_heartbeat_ms" and "watchdog: tangox: Mark running watchdog correctly" to the linux-watchdog-next tree.
>

Great, thanks!

> I didn't add the status function implementation. The reason is because there are cards that have means to read certain info life (like pcwd cards and the wdt cards). The implementation doesn't foresee this functionality and thus should be corrected first. (for these cards you want to call the status functions of these cards).

Ok, thanks for letting me know. I'll have another look.

What would be the best approach to use for those drivers ? Overlay the data
from the driver with the data from the watchdog core, or completely rely
on the data from the driver ?

Thanks,
Guenter


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Implement status function in watchdog core
  2016-07-17 20:11 ` Guenter Roeck
@ 2016-07-17 20:14   ` Wim Van Sebroeck
  0 siblings, 0 replies; 3+ messages in thread
From: Wim Van Sebroeck @ 2016-07-17 20:14 UTC (permalink / raw)
  To: Guenter Roeck; +Cc: linux-watchdog

Hi Guenter,

> On 07/17/2016 12:59 PM, Wim Van Sebroeck wrote:
> >Hi Guenter,
> >
> >I didn't find the following patches that are in your tree in my e-mail:
> >watchdog: Improve description of min_hw_heartbeat_ms
> >watchdog: Implement status function in watchdog core
> >watchdog: sbsa: Drop status function
> >watchdog: tangox: Mark running watchdog correctly
> >watchdog: Eliminate status callback
> >
> 
> Interesting. I checked my logs ... looks like I never sent those to the 
> list. Oops :-(. Sorry for that; I thought I did.

No problem :-)

> >I added "watchdog: Improve description of min_hw_heartbeat_ms" and 
> >"watchdog: tangox: Mark running watchdog correctly" to the 
> >linux-watchdog-next tree.
> >
> 
> Great, thanks!
> 
> >I didn't add the status function implementation. The reason is because 
> >there are cards that have means to read certain info life (like pcwd cards 
> >and the wdt cards). The implementation doesn't foresee this functionality 
> >and thus should be corrected first. (for these cards you want to call the 
> >status functions of these cards).
> 
> Ok, thanks for letting me know. I'll have another look.
> 
> What would be the best approach to use for those drivers ? Overlay the data
> from the driver with the data from the watchdog core, or completely rely
> on the data from the driver ?

If the status function call exists, use that one of the driver if not fallback to the generic framework.
But the WDIOF_MAGICCLOSE and WDIOF_KEEPALIVEPING should be looked at seperately: they might need to always be in the generic framework.

Kind regards,
Wim.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-07-17 20:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-17 19:59 Implement status function in watchdog core Wim Van Sebroeck
2016-07-17 20:11 ` Guenter Roeck
2016-07-17 20:14   ` Wim Van Sebroeck

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.