From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Terry Fryar <terry.fryar@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] IRQ issue
Date: Fri, 06 Jan 2012 16:04:16 +0100 [thread overview]
Message-ID: <4F070D70.2060905@domain.hid> (raw)
In-Reply-To: <56E1AEF6484D429588063ADA1D312704@domain.hid>
On 01/06/2012 03:11 PM, Terry Fryar wrote:
> Using Xen 2.6 with 2.6.38 kernel, have a kernel module with an ISR
> registered using rtdm_irq_request() that schedules a work queue. This queue
> thread makes an spi call.
If the work queue you schedule is a linux work queue, that is not going
to work, for the same reason as in the last e-mail: you can not call
services interacting with Linux scheduler in xenomai context. So, if you
need an spi driver for real-time drivers or applicaitons, you have to
write one for the RTDM skin without using Linux services. There is no
way around.
> Not sure what this one means?? I see the "cpu_idle", and I vaguely recall
> some issue with that....but I don't remember what this was?
The cpu is idle most of the time, so, the idle function is the function
the most likely to be interrupted by an interrupt.
--
Gilles.
next prev parent reply other threads:[~2012-01-06 15:04 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-06 14:11 [Xenomai-help] IRQ issue Terry Fryar
2012-01-06 15:04 ` Gilles Chanteperdrix [this message]
2012-01-06 17:08 ` Terry Fryar
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4F070D70.2060905@domain.hid \
--to=gilles.chanteperdrix@xenomai.org \
--cc=terry.fryar@domain.hid \
--cc=xenomai@xenomai.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.