* Re: clockevent driver as source for pretimout watchdog interrupt
[not found] <57186D9B.6000006@de.bosch.com>
@ 2016-04-21 8:45 ` Thomas Gleixner
0 siblings, 0 replies; only message in thread
From: Thomas Gleixner @ 2016-04-21 8:45 UTC (permalink / raw)
To: fixed-term.Oleksij.Rempel; +Cc: Daniel Lezcano, linux-kernel, Dirk.Behme
On Thu, 21 Apr 2016, fixed-term.Oleksij.Rempel wrote:
> i'm doing research on proper implementation for watchdog pretimout
> interrupt for devices which do not provide this functionality.
>
> Some watchdog controllers like Freescale iMX6 can generate an interrupt
> for some configured time before watchdog will reset the system.
> Suddenly most watchdog controllers don't have this functionality.
>
> My idea is to reuse some count down (one shot?) timer:
> - configure it to generate an interrupt for a time less then watchdog
> deadline.
> - reset it each time we get a ping, before an interrupt is generated.
> - interrupt should executed one of governors from pretimout patchset,
> see the link:
> https://www.mail-archive.com/linux-watchdog@vger.kernel.org/msg02394.html
>
> I assume clocksource framework is kind of suitable for this purpose? Is
> it correct assumption?
> Any other ideas? Suggestions?
What's wrong with simply using a hrtimer for this? The extra clockevent is not
buying you anything AFAICT.
Thanks,
tglx
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2016-04-21 8:47 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <57186D9B.6000006@de.bosch.com>
2016-04-21 8:45 ` clockevent driver as source for pretimout watchdog interrupt Thomas Gleixner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®