From: Dimitris Lampridis <soth@softhome.net>
To: linux-os@analogic.com
Cc: Linux Kernel <linux-kernel@vger.kernel.org>
Subject: Re: PCI lost interrupts and PLX chips
Date: Thu, 13 Jan 2005 14:04:42 +0200 [thread overview]
Message-ID: <1105617881.3203.4.camel@localhost> (raw)
In-Reply-To: <Pine.LNX.4.61.0501130647420.10398@chaos.analogic.com>
On Thu, 2005-01-13 at 13:49, linux-os wrote:
> On Thu, 13 Jan 2005, Dimitris Lampridis wrote:
>
> > Hi everybody,
> > I noticed a conversation some days ago that also mentioned something
> > about PLX chips and a certain problem resulting in loss of interrupt
> > signals.
> >
> > I'm writing a driver for a PCI-based device (an embedded USB Host
> > Controller) and it uses a PLX bridge (device ID 5406). Although I've set
> > up the device correctly and a logical analyzer shows the interrupts
> > being generated on the USB HC chip, nothing comes past the bridge, thus
> > nothing reaches the system. I use a typical pci_enable_device() followed
> > but some request_region() and of course request_irq() on a kernel
> > 2.6.10-rc3 (i386 system, VIA KT133, no APIC...)
> > Does this have something to do with the discussion about PLX chips
> > mentioned above? If it does, can anybody make clear what I have to do to
> > see those interrupts coming?
> >
> > You can find the mail in question at:
> > http://seclists.org/lists/linux-kernel/2005/Jan/0792.html
> >
> > Thanks,
> > Dimitris
>
> Make sure you execute pci_enable_device() __before__ you believe
> the IRQ number in the structure.
I was doing that all the time. I'm calling pci_enable_device(pdev), then
reading pdev->irq, then calling request_irq(pdev->irq,...). But I don't
get interrupts. Is it possible for the compiler to rearrange the order
of execution?
I was talking about that strange phenonomenon you were saying with PLX
and interrupts going mad when initializing the device, ie the trick with
enable->disable->do whatever(this is where I need help if it applies to
me)->reenable.
Thanks,
Dimitris
next prev parent reply other threads:[~2005-01-13 12:04 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-01-12 23:38 PCI lost interrupts and PLX chips Dimitris Lampridis
2005-01-13 11:49 ` linux-os
2005-01-13 12:04 ` Dimitris Lampridis [this message]
2005-01-13 12:49 ` linux-os
2005-01-13 12:58 ` Dimitris Lampridis
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=1105617881.3203.4.camel@localhost \
--to=soth@softhome.net \
--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