Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1383943 > unrolled thread

Re: clockevent driver as source for pretimout watchdog interrupt

Started byThomas Gleixner <tglx@linutronix.de>
First post2016-04-21 10:50 +0200
Last post2016-04-21 10:50 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: clockevent driver as source for pretimout watchdog interrupt Thomas Gleixner <tglx@linutronix.de> - 2016-04-21 10:50 +0200

#1383943 — Re: clockevent driver as source for pretimout watchdog interrupt

FromThomas Gleixner <tglx@linutronix.de>
Date2016-04-21 10:50 +0200
SubjectRe: clockevent driver as source for pretimout watchdog interrupt
Message-ID<rqitc-6j1-21@gated-at.bofh.it>
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

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web