All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@domain.hid>
To: Stefan Kisdaroczi <kisda@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] IRQ conflict issues with and ESD PMC card.
Date: Mon, 28 Jun 2010 15:43:59 +0200	[thread overview]
Message-ID: <4C28A71F.8030902@domain.hid> (raw)
In-Reply-To: <4C289FF2.6010208@domain.hid>

Stefan Kisdaroczi wrote:
> Salut Gilles,
> 
> i need to jump in.
> 
> Am 28.06.2010 14:18, schrieb Gilles Chanteperdrix:
>> Nape Ibrahim Lentsoane wrote:
>>> Hello,
>>>
>>> I've been having this problem for some time now and I hope someone from
>>> the Xenomai community can help.
>>> Basically, my kernel does not want to boot with PMC card. I have managed
>>> to use console redirection of messages
>>> to the serial port and I can see the error messages. From what I can
>>> see, there is a problem with '/xnintr_irq_handler/' due
>>> to this message at boot time: /Xenomai: xnintr_irq_handler: IRQ10 not
>>> handled. Disabling IRQ line./
>> As repeated many times, disabling ACPI has been known to cause such
>> issues. So, you should keep ACPI enabled, only ACPI_PROCESSOR needs to
>> be disabled.
>>
>> For IRQ conflicts, see:
>> http://www.xenomai.org/index.php/FAQs#What_can_I_do_if_Xenomai_and_Linux_devices_share_the_same_IRQ.3F
> 
> I had to consult this wiki already multiple times (every time I get a new box...)
> It's ok, but there is not really a solution. Currently I have one pci-card
> and a rtdm driver. I got my unshared realtime IRQ after disabling the soundcard.
> 
> At the end of the year I need to be able to use three of these cards and
> five realtime serial connections in one machine. I already have sleepless
> nights ;-) and hope I understood something wrong...
> 
> AFAIK with 2.6.31 "threaded IRQ's" were merged to mainline. Would it be possible
> now for IPIPE to pass down the IRQ's to linux so that the IRQ is handled, but
> the IRQ-Thread is not started ? Or something like ?
> 

It's still not that simple. Threaded IRQs per se do not solve the issue,
neither in upstream nor for Xenomai.

What they do, though, is to lay the ground for slowing enabling RT-safe
IRQ-sharing in more and more Linux drivers: Given a proper split-up
between top-half and threaded handler, you now have the means (with
upstream) or at least the blueprint (for Xenomai) how to quickly silence
an IRQ line at device level. For Xenomai, these handler would have to be
made co-scheduling-safe and could then be registered against RTDM as
shared RT-IRQs. Still, this issue cannot be addressed automatically, it
has to be developed driver by driver.

The better news is that modern hardware now more and more provides MSI,
and that's an inherently unshared IRQ source.

Jan

-- 
Siemens AG, Corporate Technology, CT T DE IT 1
Corporate Competence Center Embedded Linux


  reply	other threads:[~2010-06-28 13:43 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-28 11:49 [Xenomai-help] IRQ conflict issues with and ESD PMC card Nape Ibrahim Lentsoane
2010-06-28 12:18 ` Gilles Chanteperdrix
2010-06-28 13:13   ` Stefan Kisdaroczi
2010-06-28 13:43     ` Jan Kiszka [this message]
2010-06-30 21:28       ` Gilles Chanteperdrix
2010-07-01  7:02         ` Jan Kiszka
2010-06-29 15:56   ` Nape Ibrahim Lentsoane
2010-06-29 16:10     ` Gilles Chanteperdrix
2010-06-30 10:59       ` Nape Ibrahim Lentsoane
2010-06-30 11:45         ` Gilles Chanteperdrix
2010-06-30 12:31           ` Nape Ibrahim Lentsoane
2010-06-30 12:48             ` Gilles Chanteperdrix
2010-06-30 21:23         ` Gilles Chanteperdrix
2010-07-02 10:08           ` Nape Ibrahim Lentsoane
2010-07-02 10:16             ` Gilles Chanteperdrix
2010-06-29 16:14     ` Gilles Chanteperdrix

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=4C28A71F.8030902@domain.hid \
    --to=jan.kiszka@domain.hid \
    --cc=kisda@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.