All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@domain.hid>
To: "Rubio, Martial" <Martial.Rubio@domain.hid>
Cc: jeanfrancois.gilot@domain.hid, xenomai@xenomai.org, "Dupeyrou,
	Gilles" <Gilles.Dupeyrou@domain.hid>
Subject: Re: [Xenomai-help] External PCIe device: MSI interrupt install hangs up the CPU
Date: Tue, 02 Dec 2008 00:14:27 +0100	[thread overview]
Message-ID: <49346FD3.8050609@domain.hid> (raw)
In-Reply-To: <A820268933E41D449CC13B5E097C1E2F0363CE21@domain.hid>

[-- Attachment #1: Type: text/plain, Size: 1515 bytes --]

Rubio, Martial wrote:
>  Hi Jan ...
> 
> ... Thanks a lot for your reply ... And the workaround is OK!
> 
> 2 little last precisions about this topic : 
> 
> 	-is it necessary to rename all the "rt"'s entry points as
> "nrt"'s entry points (close,read,write,ioctl) ?

For close, yes, but the rest should be fine - otherwise the problem is
fatal for you. Changing the rest, which is likely supposed to do the
critical work, will leave you without any improvement over plain Linux.
I said "should" because there is the risk that some other code paths of
PCIe MSI handling triggers the bug report as well.

> 	-is the interrupt handler "vxworks_tick_time_module" (when a HW
> source of PEV1100 will be enable) 
> 	running in Linux (not critical) mode ?  

Is that the handler you register with RTDM? Then no, it will be run over
the primary domain, ie. Xenomai.

> 
> It's very easy (by looking at the name of the interrupt handler) to know
> why I ask these questions :
> vxworks_tick_time_module is waiting for an external pulse at 1 ms (and
> other MSI VME interrupts of course)
> provided by an external PCIe device PEV1100 in order to announce tick
> and so schedule an 'old' VME real time 
> Multi-cpu Application (so I'm using also Xenomai VxWorks skins for the
> migration in multi-core environment)
> ... Only VME slave boards will be stay in the distant crate!
> 
> It's perharps a little bit fresh ... But it must go right !!!
> 
> Regards 
> 
> Martial 
> 

Jan


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 257 bytes --]

      reply	other threads:[~2008-12-01 23:14 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-21 15:44 [Xenomai-help] External PCIe device: MSI interrupt install hangs up the CPU Rubio, Martial
2008-11-21 16:45 ` Jan Kiszka
2008-11-24 16:55   ` Rubio, Martial
2008-11-25 13:13     ` Rubio, Martial
2008-11-29  1:24       ` Jan Kiszka
2008-11-29 10:18         ` Philippe Gerum
2008-12-01 16:33         ` Rubio, Martial
2008-12-01 23:14           ` Jan Kiszka [this message]

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=49346FD3.8050609@domain.hid \
    --to=jan.kiszka@domain.hid \
    --cc=Gilles.Dupeyrou@domain.hid \
    --cc=Martial.Rubio@domain.hid \
    --cc=jeanfrancois.gilot@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.