All of lore.kernel.org
 help / color / mirror / Atom feed
From: Wolfgang Grandegger <wg@domain.hid>
To: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] irqloop hangs on Beagleboard ARM with 2.5.5.2/2.6.33
Date: Mon, 07 Mar 2011 23:16:47 +0100	[thread overview]
Message-ID: <4D75594F.5000607@domain.hid> (raw)
In-Reply-To: <4D754DD5.3010006@domain.hid>

On 03/07/2011 10:27 PM, Gilles Chanteperdrix wrote:
> Eric Eric wrote:
>> On Mon, Mar 7, 2011 at 2:07 PM, Gilles Chanteperdrix
>> <gilles.chanteperdrix@xenomai.org> wrote:
>>> Eric Eric wrote:
>>>> OK, it looks like I would basically have to replace gpioirq-hw.h
>>>> bare-bones GPIO driver for the beagle to get this to work.  Other than
>>>> that, am I correct that the hardware configuration would be two boards
>>>> connected to each other using two GPIO pins for trigger and response?
>>> Well, the gpiolib functions are safe to be used from real-time domain.
>>
>> Hmm, it looked like gpioirqbench went through some pain to -not- use
>> gpiolib and to manually configure and operate the hardware, so I
>> assumed this was not safe.  It's certainly a more pleasant task using
>> gpiolib.  It does beg the question why gpioirqbench isn't doing this.
> 
> The reason is historical.

Right, at that time only a few archs/systems supported the gpolib,
especially with interrupts. But I already have an implementation for the
Qong i.MX31 board using the generic gpiolib. I will dig for it later
this week. "gpioirqbench" measures how fast iPipe or Xenomai software
can respond to an external event (interrupt) in a user-space or
kernel-space task or the Xenomai or iPipe interrupt handler. Anyway,
"gpioirqbench" also needs a host to trigger and measure the latencies in
*hardware*. This is the tricky part. I used a mpc8xx based system.

Wolfgang.


  reply	other threads:[~2011-03-07 22:16 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-07  4:32 [Xenomai-help] irqloop hangs on Beagleboard ARM with 2.5.5.2/2.6.33 Eric Eric
2011-03-07  8:29 ` Gilles Chanteperdrix
2011-03-07 11:50   ` Wolfgang Grandegger
2011-03-07 18:52     ` Eric Eric
2011-03-07 19:07       ` Gilles Chanteperdrix
2011-03-07 21:18         ` Eric Eric
2011-03-07 21:27           ` Gilles Chanteperdrix
2011-03-07 22:16             ` Wolfgang Grandegger [this message]
2011-03-16  5:34               ` Eric Eric

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=4D75594F.5000607@domain.hid \
    --to=wg@domain.hid \
    --cc=gilles.chanteperdrix@xenomai.org \
    --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.