From: James Bottomley <James.Bottomley@HansenPartnership.com>
To: Greg KH <greg@kroah.com>
Cc: Jesse Barnes <jbarnes@virtuousgeek.org>,
linux-scsi <linux-scsi@vger.kernel.org>,
linux-kernel <linux-kernel@vger.kernel.org>,
linux-pci@vger.kernel.org
Subject: Re: [PATCH 1/2] pci: add misrouted interrupt error handling
Date: Thu, 07 Aug 2008 10:36:47 -0700 [thread overview]
Message-ID: <1218130607.3749.32.camel@localhost.localdomain> (raw)
In-Reply-To: <20080807172001.GA9773@kroah.com>
On Thu, 2008-08-07 at 10:20 -0700, Greg KH wrote:
> On Thu, Aug 07, 2008 at 09:03:22AM -0700, Jesse Barnes wrote:
> > On Tuesday, August 5, 2008 2:54 pm James Bottomley wrote:
> > > > or somesuch. That seems just as simple for driver writers as your
> > > > initial patch, and the function is named in accordance with what it
> > > > actually does, rather than what it's used for...
> > >
> > > It could, but if the bridge is the culprit (as it usually is for MSI
> > > problems), this print won't help identify it.
> > >
> > > Therefore, rather than give driver writers a recipe for "print this and
> > > this and go to the bridge and print this", I'd rather have a single PCI
> > > callback that prints all the (hopefully) relevant information that will
> > > allow either fixing or blacklisting.
> >
> > So in addition to the IRQ type check we need to dump some device topology
> > information... yeah that makes sense. I wonder if the driver core should
> > provide something like this. Greg?
>
> What kind of topology do you need that is not already provided?
We really need to print how the device interrupt is routed. But,
unfortunately, we need to identify the devices in the layout (bridges
and the like by say device/vendor numbers) so we know what they are ...
this is the bit that the generic device model can't do because it's
embedded in the bus specific part.
James
next prev parent reply other threads:[~2008-08-07 17:37 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-03 18:02 [PATCH 1/2] pci: add misrouted interrupt error handling James Bottomley
2008-08-04 2:51 ` Matthew Wilcox
2008-08-04 3:46 ` James Bottomley
2008-08-04 4:30 ` Grant Grundler
2008-08-04 13:31 ` James Bottomley
2008-08-04 20:43 ` Bjorn Helgaas
2008-08-04 21:35 ` Matthew Wilcox
2008-08-04 22:20 ` Bjorn Helgaas
2008-08-05 0:02 ` James Bottomley
2008-08-05 15:42 ` Bjorn Helgaas
2008-08-05 17:03 ` Jesse Barnes
2008-08-05 20:44 ` James Bottomley
2008-08-05 20:53 ` Jesse Barnes
2008-08-05 20:56 ` James Bottomley
2008-08-05 21:15 ` Jesse Barnes
2008-08-05 21:54 ` James Bottomley
2008-08-07 16:03 ` Jesse Barnes
2008-08-07 17:20 ` Greg KH
2008-08-07 17:36 ` James Bottomley [this message]
2008-10-23 21:55 ` Jesse Barnes
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=1218130607.3749.32.camel@localhost.localdomain \
--to=james.bottomley@hansenpartnership.com \
--cc=greg@kroah.com \
--cc=jbarnes@virtuousgeek.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pci@vger.kernel.org \
--cc=linux-scsi@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox