linux-rt-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* synchronize RT thread to external IRQ - suggestions?
@ 2013-09-01 17:40 Michael Haberler
  2013-09-08  0:53 ` Steven Rostedt
  0 siblings, 1 reply; 2+ messages in thread
From: Michael Haberler @ 2013-09-01 17:40 UTC (permalink / raw)
  To: linux-rt-users@vger.kernel.org; +Cc: Jon Elson

I've hardware at hand which would best be serviced by an RT-hardened thread after the hardware interrupts the host - in the simplest form it could be say a parport IRQ

squeezing out latency as far as possible is a must

I'm looking for suggestions how to best achieve that - just wait-for-irq in a normal device driver? any alternative schemes I should consider? (in the Xenomai setup an RTDM driver seems the way to go).

thanks in advance

Michael




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

* Re: synchronize RT thread to external IRQ - suggestions?
  2013-09-01 17:40 synchronize RT thread to external IRQ - suggestions? Michael Haberler
@ 2013-09-08  0:53 ` Steven Rostedt
  0 siblings, 0 replies; 2+ messages in thread
From: Steven Rostedt @ 2013-09-08  0:53 UTC (permalink / raw)
  To: Michael Haberler; +Cc: linux-rt-users@vger.kernel.org, Jon Elson

On Sun, 1 Sep 2013 19:40:14 +0200
Michael Haberler <ml1234@mah.priv.at> wrote:

> I've hardware at hand which would best be serviced by an RT-hardened thread after the hardware interrupts the host - in the simplest form it could be say a parport IRQ

request_threaded_irq() in the driver.

Then just set the priority of that thread to whatever you like it to be.

Or is this a user task thread?

-- Steve

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

end of thread, other threads:[~2013-09-08  0:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-01 17:40 synchronize RT thread to external IRQ - suggestions? Michael Haberler
2013-09-08  0:53 ` Steven Rostedt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).