mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Rafael J. Wysocki" <rjw@sisk.pl>
To: "linux-os \(Dick Johnson\)" <linux-os@analogic.com>
Cc: Duncan.Perrett@elekta.com, "Linux kernel" <linux-kernel@vger.kernel.org>
Subject: Re: PCI Interrupt
Date: Tue, 18 Sep 2007 16:42:22 +0200	[thread overview]
Message-ID: <200709181642.23070.rjw@sisk.pl> (raw)
In-Reply-To: <Pine.LNX.4.61.0709180955360.6632@chaos.analogic.com>

On Tuesday, 18 September 2007 15:57, linux-os (Dick Johnson) wrote:
> 
> On Tue, 18 Sep 2007 Duncan.Perrett@elekta.com wrote:
> 
> >
> > I have a CAN PCI card installed on my Ubuntu box.
> > I understand that PCI interrupts should be level rather than edge
> > triggered.
> >
> > The output of cat /proc/interrupts is :-
> >
> >           CPU0
> >  0:    1614601    IO-APIC-edge  timer
> >  1:        164    IO-APIC-edge  i8042
> >  8:          3    IO-APIC-edge  rtc
> >  9:          1   IO-APIC-level  acpi
> > 12:          0    IO-APIC-edge  CAN-ACx-PCI_01
> > 14:      65786    IO-APIC-edge  ide0
> > 169:       3220   IO-APIC-level  eth0, i915@pci:0000:00:02.0
> > 177:      46459   IO-APIC-level  eth1
> > 209:          0   IO-APIC-level  uhci_hcd:usb3, eth2
> > 217:          2   IO-APIC-level  uhci_hcd:usb1, ehci_hcd:usb4
> > 225:        697   IO-APIC-level  uhci_hcd:usb2
> > NMI:          0
> > LOC:    1614399
> > ERR:          0
> > MIS:          0
> >
> > You see that irq 12 CAN-ACx-PCI_01 is edge triggered.
> > Is there any way of forcing the BIOS to see the interrupt as a
> > level-triggered one?
> 
> It's done in the driver. IRQ12 can be shared, so the driver
> needs to request the IRQ as a shared interrupt.

Hm, edge-triggered interrupts cannot be shared, AFAIK.

Greetings,
Rafael

  parent reply	other threads:[~2007-09-18 14:30 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-18 13:17 Duncan.Perrett
2007-09-18 13:57 ` linux-os (Dick Johnson)
2007-09-18 14:08   ` Duncan.Perrett
2007-09-18 14:25     ` Lennart Sorensen
2007-09-18 14:34     ` linux-os (Dick Johnson)
2007-09-18 15:14       ` Duncan.Perrett
2007-09-18 16:04         ` linux-os (Dick Johnson)
2007-09-18 14:42   ` Rafael J. Wysocki [this message]
2007-09-19 10:14     ` Jarek Poplawski
2007-09-19 11:21       ` Frantisek Rysanek
2007-09-19 13:25         ` Jarek Poplawski
2007-09-19 14:13         ` Maciej W. Rozycki
2007-09-19 12:32       ` Rafael J. Wysocki
2007-09-19 12:50         ` Jarek Poplawski

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=200709181642.23070.rjw@sisk.pl \
    --to=rjw@sisk.pl \
    --cc=Duncan.Perrett@elekta.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-os@analogic.com \
    /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

all inboxes | Powered by JetHome®