All of lore.kernel.org
 help / color / mirror / Atom feed
From: Philippe Gerum <rpm@xenomai.org>
To: Jeff Weber <jwamsc@gmail.com>
Cc: Xenomai Mailing List <xenomai@xenomai.org>
Subject: Re: [Xenomai] x86 MSI support
Date: Fri, 15 Jun 2012 23:40:59 +0200	[thread overview]
Message-ID: <4FDBABEB.90300@xenomai.org> (raw)
In-Reply-To: <CAAvA3H9r3kdS-ayZRP-Je==d_ditwyXj43v=6XVB4rSPLiOHtA@mail.gmail.com>

On 06/15/2012 08:44 PM, Jeff Weber wrote:
> Is the FAQ line:
>
> "The I-pipe patch currently does not support MSI interrupts."
>
> still true?  This FAQ is dated to 2008.
>

In retrospect, this FAQ entry is somewhat misleading. As Jan pointed out 
a couple of times already, the I-pipe does handle MSI interrupts 
properly, but doesn't allow non-root domains to call the IRQ 
masking/unmasking code for MSI. Since unmasking is usually paired with 
requesting an IRQ, and masking is paired with releasing it, the 
restriction should include the request/free calls as well.

There is no reason to mask MSI in the pre-handling code due to their 
semantics, and therefore no reason to unmask them upon return from the 
handler, so the restriction turns out to be a non-issue for most use 
cases. If a primary domain handler really wants to prevent more MSI to 
come from a given source, then it should quiesce the issuing device.

> I've been using MSIs and adeos-ipipe-2.6.38.8-x86-2.10-01.patch and haven't
> seen a problem yet.
>

-- 
Philippe.


      parent reply	other threads:[~2012-06-15 21:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-15 18:44 [Xenomai] x86 MSI support Jeff Weber
2012-06-15 19:11 ` Phil Mitchell
2012-06-15 21:40 ` Philippe Gerum [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=4FDBABEB.90300@xenomai.org \
    --to=rpm@xenomai.org \
    --cc=jwamsc@gmail.com \
    --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.