linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: "Konstantin Boyanov" <kkboyanov@gmail.com>
To: "Johan Borkhuis" <j.borkhuis@dutchspace.nl>
Cc: linuxppc-embedded@ozlabs.org
Subject: Re: Driver for device behind a PCI-VME bridge
Date: Tue, 21 Aug 2007 11:49:25 +0200	[thread overview]
Message-ID: <929bf310708210249x3cf8342aq4523d2a895d78eb@mail.gmail.com> (raw)
In-Reply-To: <46CAA332.9060907@dutchspace.nl>

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

Hi again,

I also work with devices on the VME bus. The approach we took is to map
> all the devices into userspace, and use Xenomai for RT performance. This
> avoids the need to write drivers for all the devices. The RT-performance
> of Xenomai is quite good: the jitter on a timer-interrupt is always less
> than 20usec, even under high load, where standard Linux only achieves
> this in a no load situatieo, under high load standard Linux has a jitter
> of over 10 msec.


Good advice, I will investigate in this direction.

The setup we choose was to have a RT-interrupt handler and a RT IOCTL
> call "WAIT_FOR_INTERRUPT". This is a slightly modified version from the
> Motorola driver (I guess that you also use the Tundra chipset to access
> the VME-bus).


Yes, I do. It is the Tsi148 in fact. I'll be interested to see some sample
code of yours, if it doesn't violate some restrictions ofcourse.

Here you can wait for a specific VME interrupt-level, and
> it returns the vector number. So you can have several applications
> connect to the same VME driver, but all on different levels.


So, if I understand you correctly, you altered the Motorola driver in order
for it to be able to communicate with user spae programms through Xenomai.
Which version of Xenomai ws that? I tried to test Xemonai 2.0 on my setup
but it iterfred somehow with SSH configuration and thats why i dropped it.

Many thanks,
Konstantin

[-- Attachment #2: Type: text/html, Size: 2017 bytes --]

  reply	other threads:[~2007-08-21  9:49 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-20  8:40 Driver for device behind a PCI-VME bridge Konstantin Boyanov
2007-08-20  8:45 ` Johan Borkhuis
2007-08-20  8:58   ` Konstantin Boyanov
     [not found]     ` <929bf310708210055k3970c3chfc097ff776af439a@mail.gmail.com>
2007-08-21  7:56       ` Konstantin Boyanov
2007-08-21  8:32         ` Johan Borkhuis
2007-08-21  9:49           ` Konstantin Boyanov [this message]
     [not found]             ` <46CAE973.6040306@dutchspace.nl>
2007-08-23  7:47               ` Konstantin Boyanov
2007-08-23  8:24                 ` Johan Borkhuis

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=929bf310708210249x3cf8342aq4523d2a895d78eb@mail.gmail.com \
    --to=kkboyanov@gmail.com \
    --cc=j.borkhuis@dutchspace.nl \
    --cc=linuxppc-embedded@ozlabs.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 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).